Re: Using Ant API in a multi threaded java build application

2010-02-18 Thread Antoine Levy Lambert
Hello Praful, it is possible that some ant classes do not support multi-threaded usage. You might want to be more specific. Also, instead of using ant in process, you might want to kick off ant as a separate process from your build server. This way, you would not be hit by multi-threading/c

Using Ant API in a multi threaded java build application

2010-02-17 Thread Praful Tagore
I am writing a multithreaded java build application to do four builds (DEVELOP-WEBLOGIC, SHIP-WEBLOGIC, DEVELOP-TOMCAT, SHIP-TOMCAT) at the same time in four different threads. I am using Ant Java API (Project , ProjectHelper, BuildEvent, BuildListener, BuildLogger, DefaultLogger etc). When i run

Re: Using Ant API to retrieve task/target information

2004-06-01 Thread Bnsbr
Hi, I'm mailing only to say that Cristophe isn't alone. I have the same need here, obtain the target "if" and unless conditions, but I do not have a way to do this. I think that adding getters to Target is a great solution. How can we suggest this modification to the API, to get it in the next rel

Re: Using Ant API to retrieve task/target information

2004-06-01 Thread Stefan Bodewig
On Tue, 1 Jun 2004, Christophe Labouisse <[EMAIL PROTECTED]> wrote: > So I'm wondering if using the Ant API as I do to peek into a project > is something which is ok albeit the API is currently lacking a few > things or the API should not be used the way I do? Your approach is fine, I'd say. I'm

RE: Using Ant API to retrieve task/target information

2004-06-01 Thread Christophe Labouisse
Jose Alberto Fernandez said: > Notice that you really cannot rely on the tasks allowing you to peek > at the information inside them. Remember that in principle ANT is a > component > framework and that more and more we spect ANT components to be provided > by third parties. So you cannot count on

RE: Using Ant API to retrieve task/target information

2004-06-01 Thread Jose Alberto Fernandez
rto > Do you need more? > > > Jan > > > > -Original Message- > > From: Christophe Labouisse [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, June 01, 2004 10:59 AM > > To: [EMAIL PROTECTED] > > Subject: Using Ant API to retrieve task/target

RE: Using Ant API to retrieve task/target information

2004-06-01 Thread Jan . Materne
? Jan > -Original Message- > From: Christophe Labouisse [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 01, 2004 10:59 AM > To: [EMAIL PROTECTED] > Subject: Using Ant API to retrieve task/target information > > > Hi, > > I'm the writer of the Grand to

Using Ant API to retrieve task/target information

2004-06-01 Thread Christophe Labouisse
Hi, I'm the writer of the Grand tool (http://www.ggtools.net/grand) and since I came upon some issues with the Ant API I'd like to have some more or less "official" advice about the way I use it. I started Grand shortly after Ant 1.6.0 was released since the visualization tools I used where all b

Re: Using ANT API

2003-07-17 Thread Erik Hatcher
The PDF looked great (it was the only document I tried) Having your assistance with generating PDF from the proposal/xdocs stuff would be great! Erik On Thursday, July 17, 2003, at 11:23 AM, Andrew Marlow wrote: Has anyone had a chance to look at the work I've done on the Ant manual yet?

Re: RE: Using ANT API

2003-07-17 Thread Antoine Levy-Lambert
- Original Message - From: "Andrew Marlow" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, July 17, 2003 5:23 PM Subject: Re: RE: Using ANT API > Has anyone had a chance to look at the work > I've done on the Ant manual yet? See > > http://ww

Re: RE: Using ANT API

2003-07-17 Thread Andrew Marlow
Has anyone had a chance to look at the work I've done on the Ant manual yet? See http://www.marlowa.plus.com/ant.html Regards, Andrew Marlow There is an emerald here the size of a plover's egg! - To unsubscribe, e-mail:

Re: Using ANT API

2003-07-17 Thread Paul Nasrat
On Thu, Jul 17, 2003 at 03:54:40PM +0800, Navanee wrote: > Hello, > > That is useful only when we run single task with ANT API. But I have to > do many tasks (cvs - checkout, compilation, copy, delete, compare, cvs - > commit), that?s y I'm looking for sample code to create a project, > several

RE: Using ANT API

2003-07-17 Thread Navanee
ginal Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, July 17, 2003 6:03 PM To: [EMAIL PROTECTED] Subject: RE: Using ANT API I gave you an answer on http://www.jguru.com/forums/view.jsp?EID=1064654 and http://www.jguru.com/forums/view.jsp?EID=1101483 and got no reply to

RE: Using ANT API

2003-07-17 Thread Jan . Materne
IL PROTECTED] > Subject: Using ANT API > > > Hello, > Can we run ANT tasks only by using ANT API and without creating any > build.xml? > If anybody has sample code for using ANT API, please give it to me. > Best Regards, > Navanee > [EMAIL PROTECTED] > >

Using ANT API

2003-07-17 Thread Navanee
Hello, Can we run ANT tasks only by using ANT API and without creating any build.xml? If anybody has sample code for using ANT API, please give it to me. Best Regards, Navanee [EMAIL PROTECTED]

Re: Using Ant API to create build scripts

2003-07-08 Thread Conor MacNeill
On Tue, 8 Jul 2003 11:56 am, Mirko Raner wrote: > (a) Is there something I am missing in the Ant API that would allow me > to create a build.xml file from an initialized Project object? Sort of. You need to checkout the RuntimeConfigurable. It is a DOM of sorts that is maintained by Ant. You shou

Using Ant API to create build scripts

2003-07-08 Thread Mirko Raner
Hi all, I am currently working on an IDE plug-in that also requires automatic generation of Ant build scripts. I had a look at the Ant API and noticed that there are classes for Projects, Targets, Tasks, etc. which are essentially created and populated by the ProjectHelper/ProjectHelper2 classes