Re: Contribute for ANT a new format script with a new ProjectHelper

2008-11-20 Thread Stefan Bodewig
On 2008-11-19, 向雅 <[EMAIL PROTECTED]> wrote: > after patch ProjectHelper with a method accept(buildFile), if file > is xml, ONProjectHelper not accept, so all control transfer to ant > with xml. else if file is on, ONProjectHelper do it. This change to ProjectHelper sounds pretty innocent (an ac

Re: Contribute for ANT a new format script with a new ProjectHelper

2008-11-19 Thread 向雅
Thanks Stefan. Current I implemented an ONProjectHelper, and Patch ProjectHelper and ant.Main for the 2 problems. I employe sevice magic way, so now I just run ant like before. If there has a build.xml, run ant with xml style. else if has build.on, run ant with on style. if -f or -s arguments give

Re: Contribute for ANT a new format script with a new ProjectHelper

2008-11-19 Thread Stefan Bodewig
On 2008-11-18, 向雅 <[EMAIL PROTECTED]> wrote: > Besides this, I have 2 problems: > 1,I want take care of some xml format file, but current ProjectHelper > implementation just do one helper. I hope the newInstance failed so > ant can make use origin ant instead of anton. if new I do it, just > wrapp

Contribute for ANT a new format script with a new ProjectHelper

2008-11-18 Thread 向雅
Hi team, I made a new script ON(ObjectNotation), and I like ant and I developed a ONProjectHelper2. I think I should share it with all. I want know there are someone has some interesting on it. There is sample script for ant anton self. project: compile, buildonant, .; name: buildANTON; default: