Re: Javac.java

2006-07-12 Thread Steve Loughran
William Chu wrote: Thank you Antoine, I still have a question. I can't find where the javac object is currently created. Which file or Java object does the following ? : Javac javac = new Javac() I know the constructor is being invoked because I put a println that I do see in the console: cl

Re: Javac.java

2006-07-12 Thread William Chu
Thank you Antoine, I still have a question. I can't find where the javac object is currently created. Which file or Java object does the following ? : Javac javac = new Javac() I know the constructor is being invoked because I put a println that I do see in the console: class Javac extends Ma

Re: Javac.java

2006-07-12 Thread Antoine Levy-Lambert
Hi, this would be more a question for the user list. If I understand well, you are an API user. To create a task, you can use Javac javac = project.createTask("javac"); or if this is inside a custom task based on Ant 1.7 code Javac javac = new Javac(); javac.bindToOwner(this); for Ant 1.6 Jav