ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Denis.Sitni...@ubs.com>
Subject Using Ant in Java
Date Thu, 27 Mar 2008 14:18:02 GMT
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=..");        
runner.execute();

It says:

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

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

Regards,
Denis.

Mime
View raw message