I remember I have already seen this "message". I can't remember exactly the circumstance from the top of my head. But I remember it
was my mistake, not sure it's exactly the same though..
Could be that you have another (older) ant version in your Windows path and it
can't be invoked
Jacques
From: "Jacques Le Roux" <[email protected]>
It does not work for me, this is what I get
Microsoft Windows XP [version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
D:\workspace\ofbizDev>dir ant.bat
Le volume dans le lecteur D s'appelle Secondaire
Le numéro de série du volume est 441F-6A20
Répertoire de D:\workspace\ofbizDev
15/09/2010 23:14 1 153 ant.bat
1 fichier(s) 1 153 octets
0 Rép(s) 147 379 732 480 octets libres
D:\workspace\ofbizDev>./ant.bat -p
'.' n'est pas reconnu en tant que commande interne
ou externe, un programme exécutable ou un fichier de commandes.
Which means
''. is not recognized as internal command
or external, operable program or batch file.
Jacques
From: "BJ Freeman" <[email protected]>
actually ./ant -p works in windows if you in the directory of the bat file.
as you see it worked just an error.
Jacques Le Roux sent the following on 12/1/2010 11:38 PM:
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