ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conor MacNeill" <co...@ebinteractive.com.au>
Subject RE: help! Ant doesn't compile on win2000
Date Tue, 03 Oct 2000 00:33:42 GMT


--
Conor MacNeill
conor@cortexebusiness.com.au
Cortex eBusiness
http://www.cortexebusiness.com.au

> -----Original Message-----
> From: Peter [mailto:peter@imagelock.com]
> Sent: Tuesday, 3 October 2000 11:29
> To: ant-user@jakarta.apache.org
> Subject: help! Ant doesn't compile on win2000
>
>
> Well, I've spent my entire day trying to get my project built on
> my win2000
> PC.
> We don't have any problems building it on Solaris, but with the same
> version of ant nothing is happening on my local PC.
>
> I've created a simple 'hello world' java program in my C:\unix\test
> directory and put the following build.xml file in there:
>
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <project name="test" default="mytest" basedir=".">
> 	<target name="mytest" >
> 	<javac
> 		srcdir="C:\Unix\test"
> 		destdir="C:\Unix\test"
> 		debug="on"
> 		deprecation="on"
> 		optimize="on" >
> 	</javac>
>   	</target>
> </project>
>
> running ant will give me the following output:
>
> C:\UNIX\test>ant
> Buildfile: build.xml
> Project base dir set to: C:\UNIX\test
> Executing Target: mytest
> Compiling 1 source files to C:\Unix\test
> Performing a Modern Compile
> Completed in 0 seconds
>
> but no class file to be found on my system. Set all env. variables, even
> added tools.jar to my classpath.
> Using ant 1.3, jdk 1.3.0
>
> does anybody have any clues?
> help much appreciated,
>

Peter,

What version of ant are you using? try ant -version. If it doesn't work you
have an old version. If so, upgrade to version 1.1

Conor


Mime
View raw message