ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colm Callaghan" <C.Callag...@kainos.com>
Subject Running Ant from the PATH
Date Thu, 09 Oct 2003 11:39:51 GMT
When I run Ant as follows...

		C:\CapeClear\Projects\CATrafficService\javaclient>ant
runmain
		Buildfile: build.xml

		init:

		compile:

		jar:

		copy-static-test-data-files:

		BUILD FAILED
	
file:C:/CapeClear/Projects/CATrafficService/javaclient/build.xml:48:
C:\CapeClear\Projects\CATrafficService\javaclient\${env.capeclear.home}\
Studio\xslt\testfiles not found.

...it fails but if I run it as follows...

	
C:\CapeClear\Projects\CATrafficService\javaclient>..\..\..\studio\bin\an
t runmain
		Buildfile: build.xml

		init:

		compile:
		    [javac] Since fork is true, ignoring compiler
setting.

		jar:
		      [jar] Building jar:
C:\CapeClear\Projects\CATrafficService\javaclient\lib\catrafficservice.j
ar

		copy-static-test-data-files:
		     [echo] created jar file
C:\CapeClear\Projects\CATrafficService\javaclient\lib/catrafficservice.j
ar

		runmain:
		     [java] Setting up call to method : getTraffic
		     [java] Request parameters initialised: invoking
method...
		     [java] Finished Invoking call to method :
getTraffic

		BUILD SUCCESSFUL

...it succeeds.  The following variables are setup in my environment...

		ANT_HOME	C:\Apache Ant 1.5.4\apache-ant-1.5.4
		PATH		C:\Apache Ant
1.5.4\apache-ant-1.5.4;C:\Apache Ant 1.5.4\apache-ant-1.5.4\bin

What use is it having Ant as part of the PATH if it isn't always going
to work?



--

This e-mail is confidential and is intended for the named recipient only. If
you receive it in error please destroy the message and all copies. Kainos
Software Ltd. does not accept liability for damage sustained as a result of
malicious software (e.g. viruses). Kainos does not accept liability for, or
permit, the creation of contracts on its behalf by e-mail, the publication of
any defamatory statement by its employees by e-mail, or changes subsequently
made to the original message. The Company's registered office is located at
4-6 Upper Crescent, Belfast, BT7 1NT, Northern Ireland, Tel +44 28 9057 1100.

Mime
  • Unnamed multipart/alternative (inline, 7-Bit, 0 bytes)
View raw message