ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mylene <mylenerein...@gmail.com>
Subject Re: Can't find DocumentException
Date Thu, 26 Feb 2009 11:58:25 GMT
Maybe you should add your classpath to your codegen too?

Mylène


On Wed, Feb 25, 2009 at 7:56 PM, Troy S <troysocks-twigs@yahoo.com> wrote:

>
> Hi Ant fans,
>
> When I run codegen, I get the error can't find DocumentException.
>
> The class file is in the jar file C:/java/dom4j-1.6.1/dom4j-1.6.1.jar
>
> How do I track down why the class is not being picked up.
>
> Troy
>
> $ ant -verbose codegen
>


> <snip>



>
> <target name="codegen"
> description="Generate Java source from the O/R mapping files">
> <hibernatetool destdir="${source.root}">
> <configuration>
> <fileset dir="${source.root}">
> <include name="**/*.hbm.xml"/>
> </fileset>
> </configuration>
> <hbm2java/>
> </hibernatetool>
> </target>
>  <target name="print-classpath" description="Show the dependency class
> path">
>    <property name="class.path" refid="dependency.class.path"/>
>    <echo>${class.path}</echo>
>  </target>
>
> </project>
>
> --
> View this message in context:
> http://www.nabble.com/Can%27t-find-DocumentException-tp22209309p22209309.html
> Sent from the Ant - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>


-- 
Mylene

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message