RE: Generating build.xml

2003-08-22 Thread Manju Sarala Viswam
Hi , Use Ant API.You can write a java class which extends Ant task and set install.xml as ur ant file to execute.Predefine your install.xml and in places where you need user-inputs ,assign parameters(${parameter}).The parameters you get as user input can be set as properties of the proje

passing parameters to ant

2003-08-14 Thread Manju Sarala Viswam
Hi, I am using ant API and executing ant task from Java as shown below. I want to pass few parameters to ant build file.How do I do it ? public class RunningAnt extends Ant { public RunningAnt(String buildFile) throws BuildException { project = new Project(

RE: passing parameters to ant

2003-08-14 Thread Manju Sarala Viswam
roperty(String name, String value) For setting targets: public void setDefaultTarget(String defaultTarget) public void addTarget(Target target) throws BuildException public void addTarget(String targetName, Target target) throws BuildException ... Jan > -Original Messa

RE: Fail to use JUnit in Ant.

2003-07-08 Thread Manju Sarala Viswam
Hi , I Think You havent included ANT_HOME\lib\optional.jar in your classpath. Please try this. Regards, Manju S Viswam -Original Message- From: Eric Chow [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 08, 2003 4:41 PM To: [EMAIL PROTECTED] Subject: Fail to use JUnit in Ant. When I use J