Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 42597 invoked from network); 19 Nov 2008 01:16:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Nov 2008 01:16:39 -0000 Received: (qmail 65821 invoked by uid 500); 19 Nov 2008 01:16:47 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 65771 invoked by uid 500); 19 Nov 2008 01:16:46 -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 55547 invoked by uid 99); 18 Nov 2008 17:44:48 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of saintofqin@gmail.com designates 209.85.198.246 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:mime-version:content-type:content-transfer-encoding :content-disposition:x-google-sender-auth; bh=g7nXKnfbuyP9DQXqpnRRGkgu0mAJCjb83sDl3hjifr4=; b=T4A3vH5O5aToo7OseDig+ZhQxiiNEV6g+wny04/x1uqMcUgDTkEemnQN05QUpqzXHg FvoozzfMmU4023dI4GaC1u97xqDyWVaudex7ENKudOsXogDgwSVPaJAAm9iRdL+rOswW woMD1+RVYhv8/FcuiY2faNteOMOBGEfYdUx6g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition:x-google-sender-auth; b=f4RAx9dJggRJC3KIgLJnHuW/Yvnj0EFP+6nVISl6N8UeB9WWmVZwB/LVNNGrrZh2+h UCSV04WXmEauarlvZXaVde7ymuugIz4jo4t1a4KuJFwMn1EgKJ/9hQkhITJoKLEDL2qB Mn43fu9gy9jsq+56jLqLhF8Om190YwDxTuZOc= Message-ID: <91dd9a4f0811180944m46bfa9ecs3eb8564a5e2d10c6@mail.gmail.com> Date: Wed, 19 Nov 2008 01:44:02 +0800 From: "=?GB2312?B?z/LRxQ==?=" Sender: saintofqin@gmail.com To: "Ant Developers List" Subject: Contribute for ANT a new format script with a new ProjectHelper MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Google-Sender-Auth: 71a96341cdd61ed5 X-Virus-Checked: Checked by ClamAV on apache.org 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: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org