RE: Perforce Integration

2002-02-10 Thread Les Hughes
The tasks are all in the optional section of the manual (so remember to download optional.jar). Make sure you use a recent build of Ant say 1.4 or 1.4.1 and have the p4 command line tool (eg p4.exe) on your path before running Ant. You'll also need jakarta-oro-2.xx. p4sync is a good place to

RE: W2000 SP1 Delete of directory fails

2002-02-10 Thread Martin van Wieringen
Hi, From: Steve Holdener [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 06, 2002 5:48 PM To: Ant Users List Subject: Re: W2000 SP1 Delete of directory fails Martin van Wieringen wrote: When I have a build.xml file which creates the build directory, compiles the classes to the

Re: Fwd: trouble getting ant1.4.1 to work

2002-02-10 Thread bobnsandy
Thanks for the help. I found out what the problem was. setting classpath=%ANT_HOME%\lib\*.jar did not work. I had to list them all seperatly, ie: set classpath=%classpath%;%ANT_HOME%\lib\crimson.jar;%ANT_HOME%\lib\jaxp.jar Tedious, no? Can someone answer this? On Java 2 platforms, I've read

Re: Fwd: trouble getting ant1.4.1 to work

2002-02-10 Thread Diane Holt
--- [EMAIL PROTECTED] wrote: Thanks for the help. I found out what the problem was. setting classpath=%ANT_HOME%\lib\*.jar did not work. I had to list them all seperatly, ie: set classpath=%classpath%;%ANT_HOME%\lib\crimson.jar;%ANT_HOME%\lib\jaxp.jar Tedious, no? Indeed -- and

Re: Fwd: trouble getting ant1.4.1 to work

2002-02-10 Thread Steve Loughran
- Original Message - From: [EMAIL PROTECTED] To: Ant Users List [EMAIL PROTECTED] Sent: Sunday, February 10, 2002 2:30 PM Subject: Re: Fwd: trouble getting ant1.4.1 to work On Java 2 platforms, I've read that you can just collect your jar files in JDK_HOME\jre\lib\ext. The JVM looks

RE: Could not create JAVA virtual machine

2002-02-10 Thread Srinivas Velidanda
Hi, I didn't work with actually what you are working with, but check out the Path or JAVA_HOME environment variable set properly, so that it points correctly to the java working directory.(so that %JAVA_HOME%\bin directory is in your path at runtime. If this works mail me back, otherwise I

RE: trouble getting ant1.4.1 to work

2002-02-10 Thread Srinivas Velidanda
Hi, ant.jar file in jakarta-ant-1.4.1\lib should be in your classpath at runtime. You run ant, without having any other classes in your classpath. Before running ant batch file you make sure, classpath environment variable contains no classes by typing set classpath= and press enter at command

delete doesn't find files ending with ~

2002-02-10 Thread Joshua Allen
I'm having problems running a clean script because the files I want to delete have a ~ character at the end of them, and ant can't seem to see them. delete fileset dir=. include name=**/*.java~/ include name=**/*.class/ /fileset

can't get optional tasks to work

2002-02-10 Thread Joshua Allen
I'm trying to get junit task to work, but I get the following error: test: Running com.solutions400.acts.AllTests java.lang.NoClassDefFoundError: org/apache/tools/ant/taskdefs/optional/junit/JUnitTestRunner build.xml [104] Test com.solutions400.acts.AllTests failed I'm guessing need to

RE: can't get optional tasks to work

2002-02-10 Thread Bendfelt, Tim (MED, nVisia, GEMS-IT)
both of these jars need to be in ANT_HOME/lib: junit.jar optional.jar get them here: http://jakarta.apache.org/builds/jakarta-ant/release/v1.4.1/bin/jakarta- ant-1.4.1-optional.jar http://download.sourceforge.net/junit/junit3.7.zip -Original Message- From: Joshua Allen

RE: can't get optional tasks to work

2002-02-10 Thread Srinivas Velidanda
Hi, you can find jakarta-ant-1.4.1-optional.jar file at the folloiwng link. include this file in classpath and it will be working. Srinivas. http://jakarta.apache.org/builds/jakarta-ant/release/v1.4.1/bin/ -Original Message- From: Joshua Allen [mailto:[EMAIL PROTECTED]] Sent:

private Target

2002-02-10 Thread Peter Kesch
Hi ... we use an Ant buildscript with forte4Java and now i need a hint. forte shows ma all target, also these i need to check if it is running on a windows or linux system. because of missing if statement in some tasks i have to use 2 targets which do the same but with different files on windows

RE: private Target

2002-02-10 Thread Srinivas Velidanda
Hi, you can make a target to be executed depending on another by specifying the depends attribute in the build script for the target element, i haven't actually worked with forte, but to make the target depend on some other i have done the same thing. target name= depends=here give another

AW: private Target

2002-02-10 Thread Peter Kesch
That isn't what im searching for ... for example i have a target target name=copylocalxml antcall target=copylocalwin / antcall target=copylocallin/ /target target name=copylocalwin if=windows copy tofile=./web.xml dest=${basedir}/web-inf/web.xml.local / /target target name=copylocallin

RE: W2000 SP1 Delete of directory fails

2002-02-10 Thread Jim Cheesman
Anyway which service Pack are you running with on windows 2000? Perhaps a new servicepack fixes this windows 2000 feature. Does anybody got any idea how to prevent windows 2000 from locking directories?. I get this intermittently, too. The shut-down-all-applications-and-try-again approach