Re: [VOTE] release ant 1.8.0RC1
Hi, Tested in windows7+JDK7, works fine for me, and with my Anton or Onant extension. -- Cheers, Qinxian 2010/1/11 Kevin Jackson : > Hi, > > [+1] release this build as ant 1.8.0RC1 > > I've only tested on Ubuntu 9.10 x64 + java6, but it looks ok to me > (hope to do Windows7 test when the RC is available) > > Kev > > - > To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org > For additional commands, e-mail: dev-h...@ant.apache.org > > - To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org
Re: [VOTE] name for target-group
for the group and
Re: Contribute for ANT a new format script with a new ProjectHelper
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 given, first try ONProjectHelper(service do it), 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. through patch do it well, but I dont hope user produce some other not happy thought, so if ant can patch this:) If you can add some method, it's best:) Can I upload some source code to sanbox like? Regards, Qinxian 2008/11/19 Stefan Bodewig <[EMAIL PROTECTED]>: > 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 >> wrapper ProjectHelper2, not a good way. > > This will usually happen when an task is invoked, I've seen that > myself when I implemented the ProjectHelper in JavaFront > http://svn.apache.org/repos/asf/ant/sandbox/javafront/ > > So far I've neglected the issue. I'd probably hard-code > ProjectHelper2 and delegate to it when my ProjectHelper is asked to > parse an XML file. > > Any other solution would likely lead us to breaking the ProjectHelper > contracts in not-so-subtle ways. > >> 2, I want search default file build.on instead of build.xml, or search >> build.on or build.xml. but ProjectHelper not help:) > > And I don't think ProjectHelper would be the right place to add > functionality like searching for build files. > > We might add a method that returned the preferred extension and > returned ".xml" in the base class. > > Stefan > > ----- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- 致敬 向雅
Contribute for ANT a new format script with a new ProjectHelper
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: deploy; basedir: .; path{ id:onpath; pathelement {location:"lib/antlr-3.1.1-runtime.jar"}, {location:"${antlr}/antlr-2.7.7.jar"} {location:"${antlr}/stringtemplate.jar"}, {location: lib/antlr-3.1.1-runtime.jar, lib/on.jar} } target{ name: init; echo: "${ant.home}"; echo{message:"${ant.project.name}"} delete{dir: output/classes} mkdir{dir: output/classes} } target { name: compile; depends: init; description:--compile buildonant; javac{srcdir:src; destdir: output/classes; includes: **/ONProjectHelper2.java; classpath: "lib/antlr-3.1.1-runtime.jar;lib/on.jar"} } { name: deploy; depends: compile; jar{destfile: "${ant.home}/lib/anton.jar"; fileset{dir: output/classes; include: {name:**/ONProjectHelper2.class;} } fileset{dir: src; includes: "META-INF/**";} } } 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 wrapper ProjectHelper2, not a good way. 2, I want search default file build.on instead of build.xml, or search build.on or build.xml. but ProjectHelper not help:) Best regards, Qinxian - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]