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 Javac javac = new Javac(); javac.setProject(this.getProject()); javac. setOwningTarget(this.getOwningTarget()); javac. setTaskName(this.getTaskName()); javac. setDescription(this.getDescription()); javac. setLocation(this.getLocation()); javac. setTaskType(this.getTaskType()); Regards, Antoine -------- Original-Nachricht -------- Datum: Wed, 12 Jul 2006 09:42:59 -0700 Von: William Chu <[EMAIL PROTECTED]> An: dev@ant.apache.org Betreff: Javac.java > Hello, > > How do I set the bootclasspath attribute for Javac? I need the Javac > object first and then I can set the attribute via the > setBootClasspath() method, but who creates the Javac object? I can't > seem to find how the object is created. > > Thanks, > WIll > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]