ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject RE: Using Ant in Java
Date Thu, 27 Mar 2008 14:44:03 GMT
First of all I tried to find this method..
JavaTask is instance of class.
This class doesn't have such a method.

Which class should I use? 

-----Original Message-----
From: [] 
Sent: Thursday, March 27, 2008 5:41 PM
Subject: AW: Using Ant in Java

There is an add method which takes an Arg object. 


	Von: [] 
	Gesendet: Donnerstag, 27. März 2008 15:18
	Betreff: Using Ant in Java

	Hi, everybody. 

	I'm using ant in java to run another java application. 
	Here is the example of code: 

	JavaTask runner = new JavaTask(); 
	runner.setArgs("--xsdschemaroot=C:/aschemas  --outputdir=C:/obj --language=java --basepath=..");

	It says: 

	[java] The args attribute is deprecated. Please use nested arg elements. 

	How to do this? 
	How to add some child to task? 


Visit our website at

This message contains confidential information and is intended only 
for the individual named.  If you are not the named addressee you 
should not disseminate, distribute or copy this e-mail.  Please 
notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system.
E-mails are not encrypted and cannot be guaranteed to be secure or 
error-free as information could be intercepted, corrupted, lost, 
destroyed, arrive late or incomplete, or contain viruses.  The sender 
therefore does not accept liability for any errors or omissions in the 
contents of this message which arise as a result of e-mail transmission.  
If verification is required please request a hard-copy version.  This 
message is provided for informational purposes and should not be 
construed as a solicitation or offer to buy or sell any securities 
or related financial instruments.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message