DO NOT REPLY [Bug 29797] New: - Calling Ant from other Java Applications
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=29797. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=29797 Calling Ant from other Java Applications Summary: Calling Ant from other Java Applications Product: Ant Version: unspecified Platform: All OS/Version: Other Status: NEW Severity: Enhancement Priority: Other Component: Core AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] CC: [EMAIL PROTECTED] This is an enhancment request that should help folks who use Ant from their own Java applications. My example is simple: I have written a build java application that uses Ant to drive the build portion of the build but uses java servlets to drive other important build related processes that are important for my users. In all previous versions of Ant, including Ant 1.5.x we copied the Main.java class into an AntMain.java replaced system.exit(0)'s with returns and called this class from our application. It works perfectly for us. We get to see all the exceptions etc. So my enhancement request here is to formalize a way to call java from other java apps (asumming that anything passed by the command line can be passed as well) and make this an integral part of future releases. It means a lot to developers like myself who like the tight integration this method provides, especially the possibility to handle any exceptions that could possibly occur while running Ant build files. Please feel free to contact me for any additional details at the cc email provided with the req. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Call Ant within my java application
bertrand lancelot wrote: Hi all, I need to call ANT within my Java application. first, I tried to execute the class org.apache.tools.ant.Main with properties from my application. After ANT starts, the JVM breaks with System.exit usage. As a result my application shutdown too! You should not, in general, use Main to integrate Ant into another application. Main is the command line driver for Ant and expects to be in control of the VM. This is why it calls System.exit - to pass out the result code to the command line. Main.java does other stuff too that you may not want in an embedded situation, such as, for example, redirecting System.Out, System.Err and System.In. There is a comment at the top of Main.java: * If you integrating Ant into some other tool, this is not the class * to use as an entry point. Please see the source code of this * class to see how it manipulates the Ant project classes. So, the best approach is to write your own driver to embed Ant into your application and consider how you are going to so IO redirection, etc. What is probably true is that some facilities in Main need to be moved to a helper class to make them accessible to other driving programs. Work in this area would be useful. Conor - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
New project for External Tools and Tasks
Hi, I'll attached a patch to add Grand to the External Tools and Tasks on Ant web site. Thanks, Christophe --- external.xml-org2004-06-25 07:19:10.0 +0200 +++ external.xml2004-06-25 07:22:36.0 +0200 @@ -673,6 +673,33 @@ /table /subsection + subsection name=Grand +pGrand is a set of tools to create a visual representation of Ant target + dependencies. It works by taking an Ant build file and creating a dot file. It + differs from the existing tools by relying on the Ant API rather than XML parsing to + get the dependencies. It includes many advanced features such as filtering or + rendering depending on the target's nature. Also features a SWT based GUI./p + +table class=externals + tr +thCompatibility:/th +tdAnt 1.6 and later/td + /tr + tr +thURL:/th +tda href=http://www.ggtools.net/grand/;http://www.ggtools.net/grand//a/td + /tr + tr +thContact:/th +tdChristophe Labouisse/td + /tr + tr +thLicense:/th +tdBSD License/td + /tr +/table + /subsection + subsection name=Greebo pGreebo is an Ant-task for downloading dependency files - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 29743] - modified selector has poor cachefile save performance
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=29743. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=29743 modified selector has poor cachefile save performance [EMAIL PROTECTED] changed: What|Removed |Added AssignedTo|[EMAIL PROTECTED] |[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 29742] - Modified selector doesn't allow algorithm or comparator selection
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=29742. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=29742 Modified selector doesn't allow algorithm or comparator selection [EMAIL PROTECTED] changed: What|Removed |Added AssignedTo|[EMAIL PROTECTED] |[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: cvs commit: ant/src/testcases/org/apache/tools/ant/taskdefs/optional/unix SymlinkTest.java
On 24 Jun 2004, [EMAIL PROTECTED] wrote: NPE in cleanup on Windows (all non-Unix?). Probably. I've never run the tests (or Ant, BTW) on an OS that doesn't support symlinks myself. Sorry Stefan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 29793] - Ant2Svg - convert an ant build file into a SVG file
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=29793. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=29793 Ant2Svg - convert an ant build file into a SVG file [EMAIL PROTECTED] changed: What|Removed |Added URL|http://www.spiritedsw.com/an|http://www.spiritedsw.com/an |t2svg/ for |t2svg/ for --- Additional Comments From [EMAIL PROTECTED] 2004-06-25 06:22 --- Nice, but I don´t think that we should put that into the distro - especially if you already have a website maintaining all the resources. But we can add a link to the external task page. http://ant.apache.org/external.html Would that ok for you? Then we need all the usual stuff: Description: Ant2Svg creates a graphical representation of an Ant build file. The graphical representation is in the form of a Scalable Vector Graphics (SVG) file that can be displayed in a web browser. This simplified SVG depiction helps the developer understand build file structure and identify extraneous or missing dependencies. Compatibility: 1.6.1 or higher URL: http://www.spiritedsw.com/ant2svg/ Contact: loneyatspiritedswdotcom License: Apache Software License 2.0 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: ant/xdocs external.xml
bodewig 2004/06/24 23:54:27 Modified:docs external.html xdocsexternal.xml Log: Add pointer to Grand by Christophe Labouisse Revision ChangesPath 1.173 +51 -0 ant/docs/external.html Index: external.html === RCS file: /home/cvs/ant/docs/external.html,v retrieving revision 1.172 retrieving revision 1.173 diff -u -r1.172 -r1.173 --- external.html 23 Jun 2004 06:48:20 - 1.172 +++ external.html 25 Jun 2004 06:54:27 - 1.173 @@ -1353,6 +1353,57 @@ /tr /table h4 class=subsection +a name=Grand/a +Grand + /h4 +pGrand is a set of tools to create a visual representation of Ant target + dependencies. It works by taking an Ant build file and creating a dot file. It + differs from the existing tools by relying on the Ant API rather than XML parsing to + get the dependencies. It includes many advanced features such as filtering or + rendering depending on the target's nature. Also features a SWT based GUI./p + table class=externals cellspacing=1 cellpadding=4 + tr + th colspan=1 rowspan=1 + valign=top align=left + Compatibility: + /th + td colspan=1 rowspan=1 + valign=top align=left + Ant 1.6 and later + /td + /tr + tr + th colspan=1 rowspan=1 + valign=top align=left + URL: + /th + td colspan=1 rowspan=1 + valign=top align=left + a href=http://www.ggtools.net/grand/;http://www.ggtools.net/grand//a + /td + /tr + tr + th colspan=1 rowspan=1 + valign=top align=left + Contact: + /th + td colspan=1 rowspan=1 + valign=top align=left + Christophe Labouisse + /td + /tr + tr + th colspan=1 rowspan=1 + valign=top align=left + License: + /th + td colspan=1 rowspan=1 + valign=top align=left + BSD License + /td + /tr +/table +h4 class=subsection a name=Greebo/a Greebo /h4 1.134 +27 -0 ant/xdocs/external.xml Index: external.xml === RCS file: /home/cvs/ant/xdocs/external.xml,v retrieving revision 1.133 retrieving revision 1.134 diff -u -r1.133 -r1.134 --- external.xml 23 Jun 2004 06:48:20 - 1.133 +++ external.xml 25 Jun 2004 06:54:27 - 1.134 @@ -673,6 +673,33 @@ /table /subsection + subsection name=Grand +pGrand is a set of tools to create a visual representation of Ant target + dependencies. It works by taking an Ant build file and creating a dot file. It + differs from the existing tools by relying on the Ant API rather than XML parsing to + get the dependencies. It includes many advanced features such as filtering or + rendering depending on the target's nature. Also features a SWT based GUI./p + +table class=externals + tr +thCompatibility:/th +tdAnt 1.6 and later/td + /tr + tr +thURL:/th +tda href=http://www.ggtools.net/grand/;http://www.ggtools.net/grand//a/td + /tr + tr +thContact:/th +tdChristophe Labouisse/td + /tr + tr +thLicense:/th +tdBSD License/td + /tr +/table + /subsection + subsection name=Greebo pGreebo is an Ant-task for downloading dependency files - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: New project for External Tools and Tasks
patch applied, should appear online shortly. Stefan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: ant/xdocs resources.xml
bodewig 2004/06/25 00:00:15 Modified:docs resources.html xdocsresources.xml Log: some people may find this article useful Revision ChangesPath 1.76 +33 -3 ant/docs/resources.html Index: resources.html === RCS file: /home/cvs/ant/docs/resources.html,v retrieving revision 1.75 retrieving revision 1.76 diff -u -r1.75 -r1.76 --- resources.html16 Jun 2004 14:25:35 - 1.75 +++ resources.html25 Jun 2004 07:00:15 - 1.76 @@ -501,14 +501,44 @@ a name=Articles and Presentations/a Articles and Presentations /h3 -pThe following sections list articles and presentations written about Apache Ant. If - you've written something that should be included, please post it to one - of the mailing lists./p +pThe following sections list articles and presentations + written about Apache Ant. If you've written something that + should be included, please post it to one of the mailing + lists./p h3 class=section a name=Articles/a Articles /h3 h4 class=subsection +a name=New Ant 1.6 Features for Big Projects/a +New Ant 1.6 Features for Big Projects + /h4 +pThis article describes the lt;macrodefgt;, lt;importgt; + and lt;subantgt; in detail and shows how they help in + building bigger systems./p + table class=externals cellspacing=1 cellpadding=4 + tr + th colspan=1 rowspan=1 + valign=top align=left + Author: + /th + td colspan=1 rowspan=1 + valign=top align=left + Stefan Bodewig + /td + /tr + tr + th colspan=1 rowspan=1 + valign=top align=left + URL: + /th + td colspan=1 rowspan=1 + valign=top align=left + a href=http://otn.oracle.com/pub/articles/bodewig_ant1.6.html;http://otn.oracle.com/pub/articles/bodewig_ant1.6.html/a + /td + /tr +/table +h4 class=subsection a name=Programmieren für Ant/a Programmieren für Ant /h4 1.36 +21 -3 ant/xdocs/resources.xml Index: resources.xml === RCS file: /home/cvs/ant/xdocs/resources.xml,v retrieving revision 1.35 retrieving revision 1.36 diff -u -r1.35 -r1.36 --- resources.xml 11 May 2004 15:54:04 - 1.35 +++ resources.xml 25 Jun 2004 07:00:15 - 1.36 @@ -245,13 +245,31 @@ section name=Articles and Presentations - pThe following sections list articles and presentations written about Apache Ant. If - you've written something that should be included, please post it to one - of the mailing lists./p + pThe following sections list articles and presentations + written about Apache Ant. If you've written something that + should be included, please post it to one of the mailing + lists./p /section section name=Articles + + subsection name=New Ant 1.6 Features for Big Projects +pThis article describes the lt;macrodefgt;, lt;importgt; + and lt;subantgt; in detail and shows how they help in + building bigger systems./p + +table class=externals + tr +thAuthor:/th +tdStefan Bodewig/td + /tr + tr +thURL:/th +tda href=http://otn.oracle.com/pub/articles/bodewig_ant1.6.html;http://otn.oracle.com/pub/articles/bodewig_ant1.6.html/a/td + /tr +/table + /subsection subsection name=Programmieren für Ant pThis article describes the main topics of programming your own tasks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: ant/xdocs external.xml resources.xml
bodewig 2004/06/25 00:03:40 Modified:docs Tag: ANT_16_BRANCH external.html resources.html xdocsTag: ANT_16_BRANCH external.xml resources.xml Log: merge Revision ChangesPath No revision No revision 1.136.2.19 +51 -0 ant/docs/external.html Index: external.html === RCS file: /home/cvs/ant/docs/external.html,v retrieving revision 1.136.2.18 retrieving revision 1.136.2.19 diff -u -r1.136.2.18 -r1.136.2.19 --- external.html 23 Jun 2004 06:49:24 - 1.136.2.18 +++ external.html 25 Jun 2004 07:03:39 - 1.136.2.19 @@ -1350,6 +1350,57 @@ /tr /table h4 class=subsection +a name=Grand/a +Grand + /h4 +pGrand is a set of tools to create a visual representation of Ant target + dependencies. It works by taking an Ant build file and creating a dot file. It + differs from the existing tools by relying on the Ant API rather than XML parsing to + get the dependencies. It includes many advanced features such as filtering or + rendering depending on the target's nature. Also features a SWT based GUI./p + table class=externals cellspacing=1 cellpadding=4 + tr + th colspan=1 rowspan=1 + valign=top align=left + Compatibility: + /th + td colspan=1 rowspan=1 + valign=top align=left + Ant 1.6 and later + /td + /tr + tr + th colspan=1 rowspan=1 + valign=top align=left + URL: + /th + td colspan=1 rowspan=1 + valign=top align=left + a href=http://www.ggtools.net/grand/;http://www.ggtools.net/grand//a + /td + /tr + tr + th colspan=1 rowspan=1 + valign=top align=left + Contact: + /th + td colspan=1 rowspan=1 + valign=top align=left + Christophe Labouisse + /td + /tr + tr + th colspan=1 rowspan=1 + valign=top align=left + License: + /th + td colspan=1 rowspan=1 + valign=top align=left + BSD License + /td + /tr +/table +h4 class=subsection a name=Greebo/a Greebo /h4 1.66.2.4 +33 -3 ant/docs/resources.html Index: resources.html === RCS file: /home/cvs/ant/docs/resources.html,v retrieving revision 1.66.2.3 retrieving revision 1.66.2.4 diff -u -r1.66.2.3 -r1.66.2.4 --- resources.html16 Jun 2004 14:27:27 - 1.66.2.3 +++ resources.html25 Jun 2004 07:03:39 - 1.66.2.4 @@ -498,14 +498,44 @@ a name=Articles and Presentations/a Articles and Presentations /h3 -pThe following sections list articles and presentations written about Apache Ant. If - you've written something that should be included, please post it to one - of the mailing lists./p +pThe following sections list articles and presentations + written about Apache Ant. If you've written something that + should be included, please post it to one of the mailing + lists./p h3 class=section a name=Articles/a Articles /h3 h4 class=subsection +a name=New Ant 1.6 Features for Big Projects/a +New Ant 1.6 Features for Big Projects + /h4 +pThis article describes the lt;macrodefgt;, lt;importgt; + and lt;subantgt; in detail and shows how they help in + building bigger systems./p + table class=externals cellspacing=1 cellpadding=4 + tr + th colspan=1 rowspan=1 + valign=top align=left + Author: + /th + td colspan=1 rowspan=1 + valign=top align=left + Stefan Bodewig + /td + /tr + tr + th colspan=1 rowspan=1 + valign=top align=left + URL: + /th + td colspan=1 rowspan=1 + valign=top align=left + a href=http://otn.oracle.com/pub/articles/bodewig_ant1.6.html;http://otn.oracle.com/pub/articles/bodewig_ant1.6.html/a + /td + /tr +
cvs commit: ant/xdocs resources.xml
bodewig 2004/06/25 00:39:29 Modified:docs resources.html xdocsresources.xml Log: Another Ant 1.6 article Revision ChangesPath 1.77 +31 -0 ant/docs/resources.html Index: resources.html === RCS file: /home/cvs/ant/docs/resources.html,v retrieving revision 1.76 retrieving revision 1.77 diff -u -r1.76 -r1.77 --- resources.html25 Jun 2004 07:00:15 - 1.76 +++ resources.html25 Jun 2004 07:39:29 - 1.77 @@ -510,6 +510,37 @@ Articles /h3 h4 class=subsection +a name=Managing Build Complexity with Apache Ant 1.6/a +Managing Build Complexity with Apache Ant 1.6 + /h4 +pAs Apache Ant is applied to increasingly difficult tasks, +its users are creating more complex and less legible build +files. This is due, in part, to the limited tools for +decomposition and code reuse within previous versions of +Ant./p + table class=externals cellspacing=1 cellpadding=4 + tr + th colspan=1 rowspan=1 + valign=top align=left + Author: + /th + td colspan=1 rowspan=1 + valign=top align=left + Geoffrey Wiseman + /td + /tr + tr + th colspan=1 rowspan=1 + valign=top align=left + URL: + /th + td colspan=1 rowspan=1 + valign=top align=left + a href=http://www.sys-con.com/story/?storyid=45078amp;DE=1;http://www.sys-con.com/story/?storyid=45078amp;DE=1/a + /td + /tr +/table +h4 class=subsection a name=New Ant 1.6 Features for Big Projects/a New Ant 1.6 Features for Big Projects /h4 1.37 +20 -0 ant/xdocs/resources.xml Index: resources.xml === RCS file: /home/cvs/ant/xdocs/resources.xml,v retrieving revision 1.36 retrieving revision 1.37 diff -u -r1.36 -r1.37 --- resources.xml 25 Jun 2004 07:00:15 - 1.36 +++ resources.xml 25 Jun 2004 07:39:29 - 1.37 @@ -254,6 +254,26 @@ section name=Articles + subsection name=Managing Build Complexity with Apache Ant 1.6 + +pAs Apache Ant is applied to increasingly difficult tasks, +its users are creating more complex and less legible build +files. This is due, in part, to the limited tools for +decomposition and code reuse within previous versions of +Ant./p + +table class=externals + tr +thAuthor:/th +tdGeoffrey Wiseman/td + /tr + tr +thURL:/th +tda href=http://www.sys-con.com/story/?storyid=45078amp;DE=1;http://www.sys-con.com/story/?storyid=45078amp;DE=1/a/td + /tr +/table + /subsection + subsection name=New Ant 1.6 Features for Big Projects pThis article describes the lt;macrodefgt;, lt;importgt; and lt;subantgt; in detail and shows how they help in - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: ant/xdocs resources.xml
bodewig 2004/06/25 00:40:02 Modified:docs Tag: ANT_16_BRANCH resources.html xdocsTag: ANT_16_BRANCH resources.xml Log: merge Revision ChangesPath No revision No revision 1.66.2.5 +31 -0 ant/docs/resources.html Index: resources.html === RCS file: /home/cvs/ant/docs/resources.html,v retrieving revision 1.66.2.4 retrieving revision 1.66.2.5 diff -u -r1.66.2.4 -r1.66.2.5 --- resources.html25 Jun 2004 07:03:39 - 1.66.2.4 +++ resources.html25 Jun 2004 07:40:02 - 1.66.2.5 @@ -507,6 +507,37 @@ Articles /h3 h4 class=subsection +a name=Managing Build Complexity with Apache Ant 1.6/a +Managing Build Complexity with Apache Ant 1.6 + /h4 +pAs Apache Ant is applied to increasingly difficult tasks, +its users are creating more complex and less legible build +files. This is due, in part, to the limited tools for +decomposition and code reuse within previous versions of +Ant./p + table class=externals cellspacing=1 cellpadding=4 + tr + th colspan=1 rowspan=1 + valign=top align=left + Author: + /th + td colspan=1 rowspan=1 + valign=top align=left + Geoffrey Wiseman + /td + /tr + tr + th colspan=1 rowspan=1 + valign=top align=left + URL: + /th + td colspan=1 rowspan=1 + valign=top align=left + a href=http://www.sys-con.com/story/?storyid=45078amp;DE=1;http://www.sys-con.com/story/?storyid=45078amp;DE=1/a + /td + /tr +/table +h4 class=subsection a name=New Ant 1.6 Features for Big Projects/a New Ant 1.6 Features for Big Projects /h4 No revision No revision 1.31.2.3 +20 -0 ant/xdocs/resources.xml Index: resources.xml === RCS file: /home/cvs/ant/xdocs/resources.xml,v retrieving revision 1.31.2.2 retrieving revision 1.31.2.3 diff -u -r1.31.2.2 -r1.31.2.3 --- resources.xml 25 Jun 2004 07:03:39 - 1.31.2.2 +++ resources.xml 25 Jun 2004 07:40:02 - 1.31.2.3 @@ -254,6 +254,26 @@ section name=Articles + subsection name=Managing Build Complexity with Apache Ant 1.6 + +pAs Apache Ant is applied to increasingly difficult tasks, +its users are creating more complex and less legible build +files. This is due, in part, to the limited tools for +decomposition and code reuse within previous versions of +Ant./p + +table class=externals + tr +thAuthor:/th +tdGeoffrey Wiseman/td + /tr + tr +thURL:/th +tda href=http://www.sys-con.com/story/?storyid=45078amp;DE=1;http://www.sys-con.com/story/?storyid=45078amp;DE=1/a/td + /tr +/table + /subsection + subsection name=New Ant 1.6 Features for Big Projects pThis article describes the lt;macrodefgt;, lt;importgt; and lt;subantgt; in detail and shows how they help in - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: ant/xdocs resources.xml
bodewig 2004/06/25 00:41:19 Modified:docs resources.html xdocsresources.xml Log: typo Revision ChangesPath 1.78 +1 -1 ant/docs/resources.html Index: resources.html === RCS file: /home/cvs/ant/docs/resources.html,v retrieving revision 1.77 retrieving revision 1.78 diff -u -r1.77 -r1.78 --- resources.html25 Jun 2004 07:39:29 - 1.77 +++ resources.html25 Jun 2004 07:41:19 - 1.78 @@ -545,7 +545,7 @@ New Ant 1.6 Features for Big Projects /h4 pThis article describes the lt;macrodefgt;, lt;importgt; - and lt;subantgt; in detail and shows how they help in + and lt;subantgt; tasks in detail and shows how they help in building bigger systems./p table class=externals cellspacing=1 cellpadding=4 tr 1.38 +1 -1 ant/xdocs/resources.xml Index: resources.xml === RCS file: /home/cvs/ant/xdocs/resources.xml,v retrieving revision 1.37 retrieving revision 1.38 diff -u -r1.37 -r1.38 --- resources.xml 25 Jun 2004 07:39:29 - 1.37 +++ resources.xml 25 Jun 2004 07:41:19 - 1.38 @@ -276,7 +276,7 @@ subsection name=New Ant 1.6 Features for Big Projects pThis article describes the lt;macrodefgt;, lt;importgt; - and lt;subantgt; in detail and shows how they help in + and lt;subantgt; tasks in detail and shows how they help in building bigger systems./p table class=externals - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: ant/xdocs resources.xml
bodewig 2004/06/25 00:42:29 Modified:docs Tag: ANT_16_BRANCH resources.html xdocsTag: ANT_16_BRANCH resources.xml Log: merge Revision ChangesPath No revision No revision 1.66.2.6 +1 -1 ant/docs/resources.html Index: resources.html === RCS file: /home/cvs/ant/docs/resources.html,v retrieving revision 1.66.2.5 retrieving revision 1.66.2.6 diff -u -r1.66.2.5 -r1.66.2.6 --- resources.html25 Jun 2004 07:40:02 - 1.66.2.5 +++ resources.html25 Jun 2004 07:42:28 - 1.66.2.6 @@ -542,7 +542,7 @@ New Ant 1.6 Features for Big Projects /h4 pThis article describes the lt;macrodefgt;, lt;importgt; - and lt;subantgt; in detail and shows how they help in + and lt;subantgt; tasks in detail and shows how they help in building bigger systems./p table class=externals cellspacing=1 cellpadding=4 tr No revision No revision 1.31.2.4 +1 -1 ant/xdocs/resources.xml Index: resources.xml === RCS file: /home/cvs/ant/xdocs/resources.xml,v retrieving revision 1.31.2.3 retrieving revision 1.31.2.4 diff -u -r1.31.2.3 -r1.31.2.4 --- resources.xml 25 Jun 2004 07:40:02 - 1.31.2.3 +++ resources.xml 25 Jun 2004 07:42:29 - 1.31.2.4 @@ -276,7 +276,7 @@ subsection name=New Ant 1.6 Features for Big Projects pThis article describes the lt;macrodefgt;, lt;importgt; - and lt;subantgt; in detail and shows how they help in + and lt;subantgt; tasks in detail and shows how they help in building bigger systems./p table class=externals - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: ant/docs/manual develop.html
bodewig 2004/06/25 00:59:46 Modified:docs/manual develop.html Log: Document SubBuildListener Revision ChangesPath 1.18 +16 -0 ant/docs/manual/develop.html Index: develop.html === RCS file: /home/cvs/ant/docs/manual/develop.html,v retrieving revision 1.17 retrieving revision 1.18 diff -u -r1.17 -r1.18 --- develop.html 23 Jun 2004 06:35:56 - 1.17 +++ develop.html 25 Jun 2004 07:59:46 - 1.18 @@ -434,6 +434,22 @@ liMessage logged/li /ul +pIf the build file invokes another build file via a +href=CoreTasks/ant.htmllt;antgt;/a or a +href=CoreTasks/subant.htmllt;subantgt;/a or uses a +href=CoreTasks/antcall.htmllt;antcallgt;/a, you are creating a +new Ant project that will send target and task level events of its +own but never sends build started/finished events. Ant 1.6.2 +introduces an extension of the BuildListener interface named +SubBuildListener that will receive two new events for/p +ul +liSubBuild started/li +liSubBuild finished/li +/ul +pIf you are interested in those events, all you need to do is to +implement the new interface instead of BuildListener (and register the +listener, of course)./p + p If you wish to attach a listener from the command line you may use the code-listener/code option. For example:/p - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 5270] - Ant task - allow multiple targets
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=5270. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=5270 Ant task - allow multiple targets --- Additional Comments From [EMAIL PROTECTED] 2004-06-25 09:30 --- Only one extra comment (for the record) targets in reality cannot contain commas. If they were they could not be used in depends. So although nothing in the code prevent it, I think it has been a redherring on this issue. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 29178] - InstantiationException with Ant 1.6.1 not with Ant 1.5.4
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=29178. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=29178 InstantiationException with Ant 1.6.1 not with Ant 1.5.4 --- Additional Comments From [EMAIL PROTECTED] 2004-06-25 13:33 --- Which jar files do you add to your CLASSPATH? I'm encountering the same problem with the 1.6.1 build (I haven't tried compiling from source - yet). I'm using a Windows 2000 service pack 4 on a DELL Pentium 4 2.0GHz with 1G of RAM. ANT_HOME is set to C:\Programs\Ant\apache-ant-1.6.1 and JAVA_HOME is set to C:\J2sdk1.4.2. Additionally, my CLASSPATH includes %JAVA_HOME%\lib\tools.jar; Everything works fine with earlier builds on this machine. LAST NOTE: I also own a Mac G4 dual 1GHz processor running OSX 10.3.4 and have ant1.6.1 installed on this machine. This version of Ant runs without any problems on my Mac. Leading me to suspect that the problem is with the build. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: ant/xdocs faq.xml
bodewig 2004/06/25 06:42:10 Modified:.WHATSNEW build.xml docs faq.html docs/manual/OptionalTasks junitreport.html src/etc junit-frames.xsl src/main/org/apache/tools/ant/taskdefs/optional/junit Xalan1Executor.java Xalan2Executor.java XalanExecutor.java xdocsfaq.xml Added: src/etc junit-frames-xalan1.xsl Log: Make junitreport work with JDK 1.5. PR: 27541 Most of the work has been done by Stephane, I just provided the finishing touches. Revision ChangesPath 1.632 +14 -0 ant/WHATSNEW Index: WHATSNEW === RCS file: /home/cvs/ant/WHATSNEW,v retrieving revision 1.631 retrieving revision 1.632 diff -u -r1.631 -r1.632 --- WHATSNEW 24 Jun 2004 19:30:03 - 1.631 +++ WHATSNEW 25 Jun 2004 13:42:07 - 1.632 @@ -44,6 +44,17 @@ * Nested elements for namespaced tasks and types may belong to the Ant default namespace as well as the task's or type's namespace. +* junitreport will very likely no longer work with Xalan-J 1. + + Note that Xalan-J 1 has been deprecated for a very long time and we + highly recommend that you upgrade. + + If you really need to continue using Xalan-J 1, please copy the + junit-frames-xalan1.xsl from the distributions etc directory as + junit-frames.xsl into a new directory and use the tasks styledir + attribute to point to. This is the last version of the XSLT + stylesheet that is expected to be compatible with Xalan-J 1. + Fixed bugs: --- @@ -244,6 +255,9 @@ * apply has a new ignoremissing attribute (default true for BC) which will allow nonexistent files specified via filelists to be passed to the executable. Bugzilla Report 29585. + +* junitreport now also works with Xalan XSLTC and/or JDK 1.5. + Bugzilla Report 27541. Changes from Ant 1.6.0 to Ant 1.6.1 = 1.423 +1 -0 ant/build.xml Index: build.xml === RCS file: /home/cvs/ant/build.xml,v retrieving revision 1.422 retrieving revision 1.423 diff -u -r1.422 -r1.423 --- build.xml 2 Jun 2004 12:09:45 - 1.422 +++ build.xml 25 Jun 2004 13:42:08 - 1.423 @@ -1032,6 +1032,7 @@ fileset dir=${etc.dir} include name=junit-frames.xsl/ include name=junit-noframes.xsl/ +include name=junit-frames-xalan1.xsl/ include name=coverage-frames.xsl/ include name=maudit-frames.xsl/ include name=mmetrics-frames.xsl/ 1.101 +2 -2 ant/docs/faq.html Index: faq.html === RCS file: /home/cvs/ant/docs/faq.html,v retrieving revision 1.100 retrieving revision 1.101 diff -u -r1.100 -r1.101 --- faq.html 16 Jun 2004 14:25:33 - 1.100 +++ faq.html 25 Jun 2004 13:42:08 - 1.101 @@ -1693,8 +1693,8 @@ extensions for its internal stylesheet, Ant doesn't support XSLTC yet. This means that you have to install a href=http://xml.apache.org/xalan-j/;Xalan-J 2/a in order to use this task with JDK 1.5./p -pIf you want to follow progress on this, a href=http://issues.apache.org/bugzilla/show_bug.cgi?id=27541;here/a -is the relevant bug report./p +pStarting with Ant 1.6.2 codelt;junitreportgt;/code +will support JDK 1.5./p /div /div 1.14 +18 -14ant/docs/manual/OptionalTasks/junitreport.html Index: junitreport.html === RCS file: /home/cvs/ant/docs/manual/OptionalTasks/junitreport.html,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- junitreport.html 2 Jun 2004 12:31:18 - 1.13 +++ junitreport.html 25 Jun 2004 13:42:09 - 1.14 @@ -14,21 +14,25 @@ Library Dependencies/a for more information./p h3Requirements/h3 -pThe task needs a href=http://xml.apache.org/xalan-j/;Xalan -2.x/a; although a + +pThe task needs Apache a +href=http://xml.apache.org/xalan-j/;Xalan 2.x or Xalan XSLTC/a +(JDK 1.4 contains a version of Xalan-J 2.x while JDK 1.5 ships with a +version of XSLTC). Versions prior to Ant 1.6.2 worked with Apache a href=http://xml.apache.org/dist/xalan-j/old/xalan-j_1_2_2.zip;Xalan -1.2.2/a does work, but as Xalan1 is not supported, we do not -recommend this. While JDK 1.4.x contains a version of Xalan-J 2, JDK -1.5 and later have a -href=http://java.sun.com/j2se/1.5.0/compatibility.html#4959783;moved -to
cvs commit: ant/docs/manual/OptionalTasks junitreport.html
bodewig 2004/06/25 06:43:10 Modified:docs/manual/OptionalTasks junitreport.html Log: fix link Revision ChangesPath 1.15 +1 -1 ant/docs/manual/OptionalTasks/junitreport.html Index: junitreport.html === RCS file: /home/cvs/ant/docs/manual/OptionalTasks/junitreport.html,v retrieving revision 1.14 retrieving revision 1.15 diff -u -r1.14 -r1.15 --- junitreport.html 25 Jun 2004 13:42:09 - 1.14 +++ junitreport.html 25 Jun 2004 13:43:10 - 1.15 @@ -19,7 +19,7 @@ href=http://xml.apache.org/xalan-j/;Xalan 2.x or Xalan XSLTC/a (JDK 1.4 contains a version of Xalan-J 2.x while JDK 1.5 ships with a version of XSLTC). Versions prior to Ant 1.6.2 worked with Apache a -href=http://xml.apache.org/dist/xalan-j/old/xalan-j_1_2_2.zip;Xalan +href=http://archive.apache.org/dist/xml/xalan-j/;Xalan 1.2.2/a, but as Xalan1 is no longer supported, we do not recommend this. With Ant 1.6.2 we had to decide between supporting Xalan-J 1 and XSLTC, since there was no way to support both at the same - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 27541] - JunitReport task fails under JDK 1.5
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=27541. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=27541 JunitReport task fails under JDK 1.5 --- Additional Comments From [EMAIL PROTECTED] 2004-06-25 13:53 --- Fixed in CVS HEAD and the 1.6 branch. Berin, if you have any chance to build Ant from source and run it against your test with JDK 1.5, that would be great. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 27541] - JunitReport task fails under JDK 1.5
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=27541. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=27541 JunitReport task fails under JDK 1.5 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 29067] - junit stylesheets should use redirect URI
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=29067. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=29067 junit stylesheets should use redirect URI [EMAIL PROTECTED] changed: What|Removed |Added Severity|Normal |Enhancement Status|NEW |RESOLVED Resolution||FIXED Target Milestone|--- |1.6.2 --- Additional Comments From [EMAIL PROTECTED] 2004-06-25 13:56 --- Ant 1.6.2 uses (will use) http://xml.apache.org/xalan/redirect in order to support JDK 1.5. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 29793] - Ant2Svg - convert an ant build file into a SVG file
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=29793. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=29793 Ant2Svg - convert an ant build file into a SVG file --- Additional Comments From [EMAIL PROTECTED] 2004-06-25 16:06 --- Yes, retaining Ant2Svg as an external task that references the website is fine. Do you need anything from me to add an external page entry? The description you provided is fine. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 29808] New: - Rename External Tools and Tasks menu item and page title
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=29808. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=29808 Rename External Tools and Tasks menu item and page title Summary: Rename External Tools and Tasks menu item and page title Product: Ant Version: 1.6.1 Platform: All OS/Version: All Status: NEW Severity: Enhancement Priority: Other Component: Documentation AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] The External Tools and Tasks menu item and page title does not clearly convey the content. When I saw the External title, followed the link and briefly perused the AspectJ integration task at the top, I immediately thought Oh, these are tasks that integrate third-party (external) tools with Ant. I didn't glean that the list includes useful general-purpose taskdefs available to anybody. I recommend that the following title be used instead: Additional Tasks and Tools - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 29811] New: - move action for FTP task
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=29811. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=29811 move action for FTP task Summary: move action for FTP task Product: Ant Version: 1.6.1 Platform: All OS/Version: All Status: NEW Severity: Enhancement Priority: Other Component: Optional Tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I would like to have a move (rename) action for the FTP task. The task should make something like rename foo.txt foo.txt.old. I have created such a task in the org.apache.tools.ant.taskdefs.optional.net.FTP.java source from ANT 1.6.1 which I could provide. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]