Hi,
replying to my own question. Its pretty easy if you are capable of
reading the supplied ANT documentation which states that you have to
include some more jars than just the ones from JAXB/lib.
So bascially i solved it. Unfortunately after writing my question mail
to this list. So please forget this subject completely. Sorry guys.
Marc Logemann wrote:
> Hi,
>
> i just downloaded JAXB 1.5 and try to get the ANT task running (after
> successful calling xjc.bat with some test Schema). I copied the
> xercesImpl.jar into my ANT/lib folder and keep getting
> java.lang.NoClassDefFoundError: com/sun/xml/util/XmlChars
> when executing the following task.
>
>
> <taskdef name="xjc" classname="com.sun.tools.xjc.XJCTask"
> classpathref="classpath"/>
> <target name="test" description="Compile main source tree java files">
> <xjc schema="${web.dir}/WEB-INF/netversys_providers.xsd"
> target="src" package="de.logentis.netversys.xml"/>
> </target>
>
> classpathref contains the 4 JAXB jars.
>
> I am using IntelliJ IDEA with a bundled JRE 1.4.2
>
> Can anyone help me out here? I tried several things regarding classpath
> but i am stuck. Where is this class XmlChars included in and where to
> put the resulting jar file?
>
--
regards
Marc Logemann
http://www.logemann.org
http://www.logentis.de