Did you try try "ant -p" ?
./ant -p is for Linux

Jacques

From: "BJ Freeman" <[email protected]>
Just updated trunk and did an
./ant -p
on windows (ant.bat).
got this.

C:\projects\java\ofbiz_patch>ECHO OFF

C:\projects\java\ofbiz_patch>\jsdk\jdk1.6.0_18\bin\java -jar framework/base/lib/ant-launcher-1.7.1.jar framework/base/lib/ant -p
Buildfile: build.xml
C:\projects\java\ofbiz_patch\build.xml:22: The following error occurred while executing this line: C:\projects\java\ofbiz_patch\macros.xml:158: Problem: failed to create task or type scriptdef Cause: the class org.apache.tools.ant.taskdefs.optional.script.ScriptDef was not found.
        This looks like one of Ant's optional components.
Action: Check that the appropriate optional JAR exists in
        -C:\projects\java\ofbiz_patch\framework\base\lib
        -C:\Documents and Settings\BJ Freeman\.ant\lib
        -a directory added on the command line with the -lib argument

Do not panic, this is a common problem.
The commonest cause is a missing JAR.

This is not a bug; it is a configuration problem

=========================
BJ Freeman
Strategic Power Office with Supplier Automation  
<http://www.businessesnetwork.com/automation/viewforum.php?f=52>
Specialtymarket.com  <http://www.specialtymarket.com/>
Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man


Reply via email to