ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bandaru, Jaysheel" <>
Subject Multiple JVM
Date Wed, 12 Apr 2006 21:58:49 GMT
Hi -


I have a build file which uses JDK1.4 to compile(javac) and run the java
tasks , in the build file I have task which executes a jar file compiled
using JDK1.5 .

How should I execute that task ?


I tried the following , it says buildSuccessful but I don't see the
expected results.I run the same task in a separate build file using
jdk1.5 it executes fine,


<target name="runTest">

        <java jar="test.jar" fork="true" jvm="C:/jdk1_5/jre/bin/java">

            <arg value="+n" />

            <arg value="test.xml" />





Any ideas


-----Original Message-----
From: Antoine Levy-Lambert [] 
Sent: Wednesday, April 12, 2006 4:22 PM
To: Ant Users List
Subject: Re: <cvs*> tasks -- how to specify location of cvs.exe

Hello Michael,

I can confirm that the cvs task does not let you specify where your 
cvs.exe lies, and it must be found in the path.

By the way, I did some work with the cygwin cvs and ant and it seemed to

work for me. What I did though were activities which do not write to the

repository, such as checking out, updating, getting the revision

You might want to run your build in verbose mode to see exactly which 
command line arguments ant passes to cvs.exe. May be you will notice 
something which will help you find a solution.



Michael Giroux wrote:

>The CVS related tasks require that the cvs executable is on the PATH.
>I have two versions of cvs installed, one at c:\bin\cvs\cvs.exe
>The other at c:\cygwin\bin\cvs.exe.
>Both versions show the same version information:
>Concurrent Versions System (CVS) 1.11.20 (client)

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message