Paulo Jesus wrote:
I'm trying to compile derby 10.3.1.4 and I'm continuing having this
error on build

BUILD FAILED
/paulo/svn/10.3/build.xml:335: The following error occurred while
executing this line:
/paulo/svn/10.3/java/engine/org/apache/derby/loc/build.xml:36: taskdef
A class needed by class org.apache.derbyBuild.MessageBuilder cannot be
found: org/apache/tools/ant/Task


I have code from
svn  https://svn.apache.org/repos/asf/db/derby/code/branches/10.3   575672
and also
svn  https://svn.apache.org/repos/asf/db/derby/code/trunk   575674


First run of "ant  " worked fine but second run turns this error.
Then i run "ant clean"and then again first ok, second not.
I'm able to start server but not sure if everything went well.

I can't use ./bin/.. scripts, But always derbynet.jar not found at
$LOCALCLASSPATH.
I'm able to compile derbyNet.jar and configure $CLASSPATH and
$LOCALCLASSPATH.   But to start server i need to do manually.


I didn't install osgi.jar and SR 169 jars.
Also i'm not using Java1.6.x


I'm missing something?

Hello Paulo,

On first sight this looks like a build environment problem.
Are you building from the command line or from withing an IDE?

Can you state which ant version you are using, and verify that your ant installation is working properly?


If that's not the problem, just post again!


--
Kristian

PJ

Reply via email to