ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine Levy-Lambert" <anto...@antbuild.com>
Subject Re: How to compile a java file?
Date Thu, 04 Sep 2003 09:33:29 GMT
Read the documentation, you need to use the <javac/> task.
The docu is available online under http://ant.apache.org/manual
Cheers,
Antoine
----- Original Message ----- 
From: "Roy Smith" <roy@panix.com>
To: <user@ant.apache.org>
Cc: "Roy Smith" <roy@panix.com>
Sent: Thursday, September 04, 2003 3:07 AM
Subject: How to compile a java file?


> I've got a java source file (foo.java) that  I want to compile to get 
> foo.class.  How do I write an ant build.xml file to do this?
> 
> I'm new to ant (and relatively new to java), so maybe there's something 
> obvious I'm just not seeing.  I read the manual, and while it describes 
> how to do complex things, it doesn't say how to do this most simple and 
> obvious thing.
> 
> Thanks for the help.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message