ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conor MacNeill" <co...@cortexebusiness.com.au>
Subject RE: Javac and ant.Main
Date Tue, 21 Aug 2001 00:01:04 GMT
Cornellious,

What is happening here is that you are running Ant under a 1.2 or later JDK
but it is finding the javac library form a 1.1 JDK. You will need to examine
your classpaths, Java executables, etc.

BTW, have you read the javadoc comment for the Main class :-)?

Conor


> -----Original Message-----
> From: Cornellious Mann [mailto:cornermann@yahoo.com]
> Sent: Tuesday, 21 August 2001 1:27 AM
> To: ant-user@jakarta.apache.org
> Subject: Javac and ant.Main
>
>
> I am trying to run ant through the Main class
> interface instead of the binary.  When I do this the
> javac task fails with this error...
> javac: invalid flag: -sourcepath
>
> Has anyone seen something like this.  Thaks for any help.
>
> =====
> Regards,
> Cornellious Mann
>
> __________________________________________________
> Do You Yahoo!?
> Make international calls for as low as $.04/minute with Yahoo! Messenger
> http://phonecard.yahoo.com/
>


Mime
View raw message