all,
i am trying to build ant from source code on a rhel4 amd 64 bit system.
i get this message:
BUILD FAILED
/tmp/ant/apache-ant-1.7.0/build.xml:1105: The following error occurred
while executing this line:
/tmp/ant/apache-ant-1.7.0/build.xml:911: We cannot build the test jar
unless JUnit is present,
as JUnit is needed to compile the test classes.
the apache web site provides two solutions to the problem..
1. add the junit.jar to the classpath
2. remove the dependancy from the build.xml file
the second one works, of course.
the first one doesn't... i have done the following:
setenv CLASSPATH /tmp/jars
setenv CLASSPATH /tmp/jars/junit.jar
where junit.jar is 'ln -s /tmp/jars/junit-4.4-src.jar junit.jar' .
/tmp/jars/junit-4.4-src.jar is readable by all.
i have put the junit.jar in the following directories:
~/.ant/lib
/tmp/ant/apache-ant-1.7.0
/tmp/ant/apache-ant-1.7.0/lib
/tmp/ant/apache-ant-1.7.0/lib/optional
setenv ANTHOME /tmp/ant/apache-ant-1.7.0 is set
it still fails..
does any one have any idea what little thing that i am missing? i don't
know what the ant commands/scripts are supposed to look like. i have
basic java understood. i have succesfully used netbeans to
write/build/compile java programs.
thanks kevin
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]