Return-Path: Delivered-To: apmail-jakarta-ant-dev-archive@apache.org Received: (qmail 50555 invoked from network); 2 Mar 2002 21:53:34 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 2 Mar 2002 21:53:34 -0000 Received: (qmail 19371 invoked by uid 97); 2 Mar 2002 21:53:35 -0000 Delivered-To: qmlist-jakarta-archive-ant-dev@jakarta.apache.org Received: (qmail 19355 invoked by uid 97); 2 Mar 2002 21:53:35 -0000 Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 19344 invoked from network); 2 Mar 2002 21:53:34 -0000 Message-ID: <3C814AB8.30000@cortexebusiness.com.au> Date: Sun, 03 Mar 2002 08:57:12 +1100 From: Conor MacNeill User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.7) Gecko/20011226 X-Accept-Language: en-us, en-au MIME-Version: 1.0 To: Ant Developers List Subject: Re: ClassLoaders ( was: Re: We need to stop the lies) References: <032601c1c1f3$09c5b490$0100a8c0@jose> <3C80E3C6.5070505@cortexebusiness.com.au> <034201c1c1fc$e7824c40$0100a8c0@jose> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Jose Alberto Fernandez wrote: > > This is fine. But still, the main drive of my question stands: > > For people that are proposing alternative syntax for ANT, how > would they tell a basic task like to use a different parser? Well, I think the contract of the task is to process an XML based build file. If someone wants to proces a different syntax, they need to either provide their own version of or augment to support different buildfile types. > > Would they have to provide their own implementation and > replace the default ? Yes, they could do that. > > If an IDE constructs a model on the fly (no XML file) how can > work (have you change the implementation?) since it only calls . Of course I changed the implementation since I did not want to reparse a model that has already been parsed. This is the mutant implementation of public void callTarget(Map properties, List targets) throws ExecutionException { runBuild(frame.getProject(), properties, targets); } Since the project model just represents the buildfile in mutant, this is easy to do - there is no execution context info stored in the project model. > > This is where I kind of get puzzled on how worth is allowing IDEs to > pass their own pre-build model. It seems to me you will need the written > XML for any real build, and if that is the case then we should really define > the interface to be the XML and not the Project instance. I disagree. Conor -- To unsubscribe, e-mail: For additional commands, e-mail: