Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Object Relational Mapping
Search Coderanch
Advance search
Google search
Register / Login
Last week, we had the author of
TDD for a Shopping Website LiveProject
. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See
for the agenda and registration link
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Paul Clapham
Ron McLeod
Jeanne Boyarsky
Tim Cooke
Sheriffs:
Liutauras Vilda
paul wheaton
Henry Wong
Saloon Keepers:
Tim Moores
Tim Holloway
Stephan van Hulst
Carey Brown
Frits Walraven
Bartenders:
Piet Souris
Himai Minh
Forum:
Object Relational Mapping
Hibernate ant attributes aren't recognized
Tony Ennis
Ranch Hand
Posts: 86
posted 11 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I have some
ant
attributes related to hibernate tasks that "is not allowed here."
<path id="toolslib"> <path location="lib/tools/hibernate-tools.jar"/> <path location="lib/tools/hibernate3.jar"/> <path location="lib/tools/freemarker.jar"/> <path location="lib/default/ojdbc14.jar"/> </path> <taskdef name="hibernatetool" classpathref="toolslib" classname="org.hibernate.tool.ant.HibernateToolTask"/> (snip) <hbm2java ejb3="true" jdk5="true" destdir="${tmp.dir}/generated"/> <hbmtemplate templatepath="hibernate" template="containertemplate.ftl" filepattern="{package-name}/{class-name}Container.java"/>
In that snippet, the ejb3, jdk5, filepattern, and templatepath attributes are flagged in my
IDE
as not allowed.
It all seems to work, but I'd really like to remove the warnings.
Any ideas on which jar I'm missing?
hayden wangg
Greenhorn
Posts: 11
posted 11 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Please make sure you're using the correct tld file
Yeah. What he said. Totally. Wait. What? Sorry, I was looking at this tiny ad:
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Trouble understanding Ant('s classpath)
Classpath problems(?)
Hibernate reverse engineering Ant script
FilePattern
jdk5 and ejb3 options unavailable in HibernateTools-3.2.4.GA
More...