I can't compile the converter tutorial example in J2EE
Hi,
I was wondering if someone could help me out with this.
I followed the instructions from the tutorial, but still can't use ant to compile the convert.
The following is the error output.
Many thanks.
C:\temp\j2ee_examples\j2eetutorial\examples\src>ant converter
Searching for build.xml ...
Buildfile: C:\temp\j2ee_examples\j2eetutorial\examples\src\build.xml
init:
BUILD FAILED
C:\temp\j2ee_examples\j2eetutorial\examples\src\build.xml:18: Class org.apache.t
ools.ant.taskdefs.Property doesn't support the "environment" attribute
Total time: 0 seconds
When you compile through J2EE it should give no apache type errors. You must of included apache xml cocoon jar files in the CLASSPATH as well later put the j2ee.jar. However j2ee.jar has XML libraries, no need to include other thrid party xml libaries.
Other words its pick your thrid party xml jar files first and using that instead of your j2ee.jar xml libaries.
Cheers
Abraham Khalil
When you compile through J2EE it should give no apache type errors. You must of included apache xml cocoon jar files in the CLASSPATH as well later put the j2ee.jar. However j2ee.jar has XML libraries, no need to include other thrid party xml libaries.
Other words its picking your thrid party xml jar files first and using that instead of your j2ee.jar xml libaries.
Cheers
Abraham Khalil