-
Jul 23rd, 2012, 08:44 AM
#1
Unable to generate entities using ant script
Hi i am trying to generate POJO's using ant script but unable to generate it...
Here is my target of build.xml..
<target name="hibernate">
<taskdef name="hibernatetool"
classname="org.hibernate.tool.ant.HibernateToolTas k"
classpathref="toolslib" />
<hibernatetool destdir="dirname" >
<annotationconfiguration configurationfile="dirname/hibernate.cfg.xml">
<fileset dir="D:/sameer/proj/IDMS/src">
<include name="dirname/hibernate.revenge.xml"/>
</fileset>
</annotationconfiguration>
<!-- list exporters here -->
<hbm2java jdk5="true" ejb3="true" destdir="dirname" >
</hbm2java>
</hibernatetool>
</target>
I am getting BUILD SUCCESSFUL but when i do a verbose then "Could not load definitions from resource org/apache/tools/ant/antlib.xml. It could not be found." message is displayed with build successful
Does the above error have any impact?
Please let me know what needs to be done.
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules