Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 23452 invoked from network); 12 Jul 2006 17:38:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 12 Jul 2006 17:38:48 -0000 Received: (qmail 15453 invoked by uid 500); 12 Jul 2006 17:38:34 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 15390 invoked by uid 500); 12 Jul 2006 17:38:34 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 15357 invoked by uid 99); 12 Jul 2006 17:38:34 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Jul 2006 10:38:34 -0700 X-ASF-Spam-Status: No, hits=2.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,RCVD_IN_BL_SPAMCOP_NET,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of willchu@gmail.com designates 66.249.92.175 as permitted sender) Received: from [66.249.92.175] (HELO ug-out-1314.google.com) (66.249.92.175) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Jul 2006 10:38:33 -0700 Received: by ug-out-1314.google.com with SMTP id a2so269726ugf for ; Wed, 12 Jul 2006 10:38:12 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=bdkjf19PhfdybfYZbvBhQSAMfej7ONOanvC357kN/LriVfl8mECXB8Q9p2Sz8hthr4dLGniHj6Rykn2YgeyRYjSJ3iVvkY1FVp11FhgVOkn5VNrLLAmdZFSaTZRt2xWND9HVGD30t4JfgXqsXW+JzKRL0NZEVGeP8DBSmY0wbSs= Received: by 10.66.219.11 with SMTP id r11mr656076ugg; Wed, 12 Jul 2006 10:38:11 -0700 (PDT) Received: by 10.67.96.4 with HTTP; Wed, 12 Jul 2006 10:38:11 -0700 (PDT) Message-ID: <587f280f0607121038u62604f2bq3c97ca6f500ca242@mail.gmail.com> Date: Wed, 12 Jul 2006 10:38:11 -0700 From: "William Chu" To: antoine@gmx.de Subject: Re: Javac.java Cc: "Ant Developers List" In-Reply-To: <20060712173009.293560@gmx.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <587f280f0607120942wa34f3a6i838d53cc9e4cac25@mail.gmail.com> <20060712173009.293560@gmx.net> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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 MatchingTask { public Javac() { System.out.println ("Javac Constructor being called"); .... } On 7/12/06, Antoine Levy-Lambert wrote: > 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 > 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: dev-unsubscribe@ant.apache.org > > For additional commands, e-mail: dev-help@ant.apache.org > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org > For additional commands, e-mail: dev-help@ant.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org