Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-ant-dev] Ant taskdef problems with 3.1 M7 through to RC3

Title: Ant taskdef problems with 3.1 M7 through to RC3
This is not really the correct forum for these kinds of questions...but whatever...
 
Are you adding the correct required JARs to the Ant runtime classpath?
Did you add any JARs to your lib directory of Ant 1.6.3? If so have you added these same JARs in Eclipse?
 
Can you provide a sample buildfile that exhibits the problem with detailed instructions on exactly what you did and how it is failing.
 
HTH
Darins
 
In the future please ask user questions on the eclipse newsgroups
----- Original Message -----
Sent: Thursday, June 23, 2005 4:45 PM
Subject: [platform-ant-dev] Ant taskdef problems with 3.1 M7 through to RC3

I am working with the stable builds of Eclipse 3.1 from M7 to RC3 and they all seem to share a similar problem with ant.  We are using hibernate and a related tool middlegen.  I am trying to use hbm2java, declaring it as a taskdef, then using it.  Eclipse complains that the element "hbm2java" must be declared.  The same thing happens with middlegen, I declare it as a taskdef and then use it, but the same error occurs.  It works from the command-line, so I'm not sure I understand what is happening with the Eclipse ant script parser.

I am using ant 1.6.3 on the commandline and the standard ant that comes with eclipse 3.1 rc3.
Thanks for the help!
Jeremy


_______________________________________________
platform-ant-dev mailing list
platform-ant-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-ant-dev

Back to the top