Re: Call Ant within my java application

2004-06-24 Thread Fred Loney
Calling Ant from within Java is actually quite easy using the Project class. See the BuildFileTest configureProject() and execute() methods for an example (cf. http://cvs.apache.org/viewcvs.cgi/ant/src/testcases/org/apache/tools/ant/BuildFileTest.java?rev=1.29&view=auto). Fred Loney Spirited Softw

DO NOT REPLY [Bug 29793] New: - Ant2Svg - convert an ant build file into a SVG file

2004-06-24 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

Call Ant within my java application

2004-06-24 Thread bertrand lancelot
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! So, I would like to extend the Main class

[SUBMIT] ant2svg

2004-06-24 Thread Fred Loney
The Ant2Svg optional task converts an ant build file into a SVG file. The SVG file is a simple, graphical display of build file structure. See http://www.spiritedsw.com/ant2svg/ for an overview, with links to the Ant2Svg task man page, downloads and other information. This task was developed as a

cvs commit: ant/src/main/org/apache/tools/ant/taskdefs ExecuteOn.java

2004-06-24 Thread mbenson
mbenson 2004/06/24 12:44:02 Modified:src/main/org/apache/tools/ant/taskdefs ExecuteOn.java Log: ignoremissing is merged! Revision ChangesPath 1.55 +1 -1 ant/src/main/org/apache/tools/ant/taskdefs/ExecuteOn.java Index: ExecuteOn.java ==

cvs commit: ant/docs/manual/CoreTasks ant.html antcall.html

2004-06-24 Thread mbenson
mbenson 2004/06/24 12:37:37 Modified:docs/manual/CoreTasks ant.html antcall.html Log: Okay, maybe I was a little ambitious. Revision ChangesPath 1.26 +1 -1 ant/docs/manual/CoreTasks/ant.html Index: ant.html

cvs commit: ant/src/testcases/org/apache/tools/ant/taskdefs JavaTest.java

2004-06-24 Thread mbenson
mbenson 2004/06/24 12:33:38 Modified:src/testcases/org/apache/tools/ant/taskdefs JavaTest.java Log: Remove commented import. Revision ChangesPath 1.24 +0 -1 ant/src/testcases/org/apache/tools/ant/taskdefs/JavaTest.java Index: JavaTest.java ==

DO NOT REPLY [Bug 5270] - Ant task - allow multiple targets

2004-06-24 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug

cvs commit: ant/src/testcases/org/apache/tools/ant/taskdefs AntTest.java CallTargetTest.java

2004-06-24 Thread mbenson
mbenson 2004/06/24 12:30:03 Modified:.WHATSNEW docs/manual/CoreTasks ant.html antcall.html src/etc/testcases/taskdefs ant.xml calltarget.xml src/main/org/apache/tools/ant Project.java src/main/org/apache/tools/ant/taskde

DO NOT REPLY [Bug 5270] - Ant task - allow multiple targets

2004-06-24 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug

cvs commit: ant/docs/manual/CoreTasks apply.html

2004-06-24 Thread mbenson
mbenson 2004/06/24 12:22:20 Modified:docs/manual/CoreTasks apply.html Log: Merged ignoremissing. Revision ChangesPath 1.31 +2 -1 ant/docs/manual/CoreTasks/apply.html Index: apply.html === R

cvs commit: ant/src/testcases/org/apache/tools/ant/taskdefs/optional/unix SymlinkTest.java

2004-06-24 Thread mbenson
mbenson 2004/06/24 09:47:41 Modified:src/testcases/org/apache/tools/ant/taskdefs/optional/unix Tag: ANT_16_BRANCH SymlinkTest.java Log: Sync with HEAD Revision ChangesPath No revision No revision 1.3.2.6 +7

cvs commit: ant/src/testcases/org/apache/tools/ant/taskdefs/optional/unix SymlinkTest.java

2004-06-24 Thread mbenson
mbenson 2004/06/24 09:45:09 Modified:src/testcases/org/apache/tools/ant/taskdefs/optional/unix SymlinkTest.java Log: NPE in cleanup on Windows (all non-Unix?). Revision ChangesPath 1.9 +4 -2 ant/src/testcases/org/apache/tools/ant/taskde

RE: and local

2004-06-24 Thread Jose Alberto Fernandez
> From: Matt Benson [mailto:[EMAIL PROTECTED] > > --- Jose Alberto Fernandez <[EMAIL PROTECTED]> > wrote: > > > From: Magesh Umasankar [mailto:[EMAIL PROTECTED] > [SNIP] > > > Easy to provide backwards compatibility here - > > > > > > > [SNIP] > > I think it is ugly, and there is no reason for

cvs commit: ant/docs contributors.html

2004-06-24 Thread jhm
jhm 2004/06/24 07:43:52 Modified:xdocsTag: ANT_16_BRANCH contributors.xml docs Tag: ANT_16_BRANCH contributors.html Log: change status to PMC Revision ChangesPath No revision No revision 1.16.2.3 +66 -46

cvs commit: ant/docs contributors.html

2004-06-24 Thread jhm
jhm 2004/06/24 07:43:11 Modified:xdocscontributors.xml docs contributors.html Log: change status to PMC Revision ChangesPath 1.28 +11 -10ant/xdocs/contributors.xml Index: contributors.xml =

RE: and local

2004-06-24 Thread Matt Benson
--- Jose Alberto Fernandez <[EMAIL PROTECTED]> wrote: > > From: Matt Benson [mailto:[EMAIL PROTECTED] [SNIP] So no, having local variables does not give > us > > anything we can't do, but it does save us having > to > > pollute the Project properties with e.g. 500 > useless properties. [SNIP] >

RE: and local

2004-06-24 Thread Matt Benson
--- Jose Alberto Fernandez <[EMAIL PROTECTED]> wrote: > > From: Magesh Umasankar [mailto:[EMAIL PROTECTED] [SNIP] > > Easy to provide backwards compatibility here - > > > > [SNIP] > I think it is ugly, and there is no reason for > modifying > when you could just as well define a diferent task,

RE: and local

2004-06-24 Thread Jose Alberto Fernandez
> From: Magesh Umasankar [mailto:[EMAIL PROTECTED] > > From: "Jose Alberto Fernandez" > Date: 2004-06-24 11:30:33 > > > But you are changing the contract of . > > Easy to provide backwards compatibility here - > > > > where breakable is false by default. > > Similar attributes

RE: and local

2004-06-24 Thread Magesh Umasankar
From: "Jose Alberto Fernandez" Date: 2004-06-24 11:30:33 > But you are changing the contract of . Easy to provide backwards compatibility here - where breakable is false by default. Similar attributes may be introduced to other behavior altering task containers. Cheers, Magesh

cvs commit: ant/src/main/org/apache/tools/ant/taskdefs/optional ANTLR.java

2004-06-24 Thread bodewig
bodewig 2004/06/24 04:56:21 Modified:src/main/org/apache/tools/ant/taskdefs Ant.java ExecuteJava.java XSLTProcess.java src/main/org/apache/tools/ant/taskdefs/optional ANTLR.java Log: Some cleanup Revision ChangesPath 1.103 +0 -1

RE: and local

2004-06-24 Thread Jose Alberto Fernandez
> From: Magesh Umasankar [mailto:[EMAIL PROTECTED] > > From: Matt Benson > Date: 2004-06-23 17:43:46 > > > code? So no, having local variables does not give us anything we > > can't do, but it does save us having to > > That is what I was trying to ensure. > > > pollute the Proj

DO NOT REPLY [Bug 8689] - AntClassLoader still leaks memory.

2004-06-24 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug

RE: and local

2004-06-24 Thread Jose Alberto Fernandez
> From: Matt Benson [mailto:[EMAIL PROTECTED] > > --- Magesh Umasankar <[EMAIL PROTECTED]> wrote: > > From: Peter Reilly > com> > > Date: 2004-06-23 16:23:48 > > > > > are some cases where true local properties would > > be more easily > > > > like...? > > > > like anytime you ha

cvs commit: ant/src/main/org/apache/tools/ant/taskdefs Ant.java Recorder.java RecorderEntry.java

2004-06-24 Thread bodewig
bodewig 2004/06/24 04:16:41 Modified:src/main/org/apache/tools/ant AntClassLoader.java Project.java src/main/org/apache/tools/ant/taskdefs Ant.java Recorder.java RecorderEntry.java Added: src/main/org/apache/tools/ant