ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vittoria, Felice" <Felice_Vitto...@bmc.com>
Subject RE: "<exec>" dir question
Date Mon, 20 Aug 2001 15:19:06 GMT
Scott,

Silly question but do you have your ANT_HOME, JAVA_HOME and PATH environment
variables set up right?   I have the following batch file that I use:

set ANT_HOME=D:\Ant1.3
set JAVA_HOME=D:\jdk1.2.2
set PATH=%PATH%;%ANT_HOME%\bin;%JAVA_HOME%\bin;%JAVA_HOME%\lib

HTH,
Felice

-----Original Message-----
From: Scott Matthews [mailto:scott@rocsoftware.com]
Sent: Monday, August 20, 2001 10:07 AM
To: ant-user@jakarta.apache.org
Subject: RE: "<exec>" dir question


FYI:  I have tried many combinations of the "exec" dir and executable line 
and they all behave the same:
Examples:   dir ="c:\testit" dir="c:\testit\"  dir ="..\testit"
                   executable "test"    "test.exe



At 10:56 AM 8/20/2001 -0400, you wrote:

>     > =======================================================
>     > <project name="Latest Test" default="Latest Test">
>     > <!--  latest.xml   -->
>     >
>     > <!-- dummy "jar" stub to be used later -->
>     > <target name="jar">
>     > </target>
>     >
>     > <target name="Latest Test" depends="jar" description="testithere">
>     >    <echo message="Testit is executing now"/>
>     >    <exec dir="c:\testit" executable="test"/>
>     > </target>
>     >
>     > </project>
>     > =======================================================
>
>I believe you need to add a trailing slash to "c:\testit".  Try it and see.
>:)
>
>-Jason

Mime
View raw message