Title: Nachricht
Hi,
 
perhaps you should try the solution the error message tells you ;-)
 
 
You can download the optional tasks file here:
 
 
 
put this file in your ANT_HOME\lib directory and see if it works...
 
Good luck,
 
Till
-----Ursprüngliche Nachricht-----
Von: Philippe Pham [mailto:[EMAIL PROTECTED]]
Gesendet: Freitag, 21. Juni 2002 20:59
An: [EMAIL PROTECTED]
Betreff: AXIS

To whom it may concern,
 
I just download the AXIS package from Apache website.  I'm specially interested in the project that convert a WSDL file to JAVA files and vice versa.  This is really a great tool.  I like it very much.
 
There is one little thing that I'd like to ask you for help. That is, I try rebuild the project using the following command:
    java org.apache.tools.ant.Main <target>
    where target:
         - compile  -> creates the "axis.jar" package in "./build/lib"
        - javadocs -> creates the javadocs in "./build/javadocs"
        - dist     -> creates the complete binary distribution
        - srcdist  -> creates the complete src distribution
        - functional-tests -> attempts to build Ant task and then run client-server functional test
 
Unfortunately it fails to do it (on my system, WIN2K Advanced Server). The error message that shows at the DOS command prompt is:
        C:\xml-axis\java>java org.apache.tools.ant.Main compile
        Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/tools/ant/Main
 
That means that I don't have the 'ant' utility on my system or I haven't configure my system correctly.
 
Then I download the 'ant' utility and try to build it again, it still fails.  Here is the error message:
    C:\xml-axis\java>ant compile
    Buildfile: build.xml
 
    setenv:
 
    BUILD FAILED
 
    C:\xml-axis\java\build.xml:170: Could not create task of type: condition. Common solutions are to use taskdef to declare your         task, or, if this is an optional task, to put the optional.jar in the lib directory of your ant installation (ANT_HOME).
 
    Total time: 0 seconds
 
 
So could you please show me how to set up the system to build the axis project?
 
Sincerely
 
Philippe Pham

Reply via email to