Re: How should an Ant be created programmatically from another (custom) Ant task?

2015-05-16 Thread Christopher BROWN
Hello Dominique, Thanks, I gave it a try, and it helped! Exactly what I was looking for... -- Christopher On 16 May 2015 at 16:49, Dominique Devienne wrote: > On Sat, May 16, 2015 at 3:38 PM, Christopher BROWN > wrote: > > > I've some doubts about the "createInclude" logic... but I haven't

Re: How should an Ant be created programmatically from another (custom) Ant task?

2015-05-16 Thread Dominique Devienne
On Sat, May 16, 2015 at 3:38 PM, Christopher BROWN wrote: > I've some doubts about the "createInclude" logic... but I haven't got that > far yet. I'm stuck on the "setId()" part which just doesn't exist. > You probably need to call this Project.addReference API. Give it try, and see if that hel

How should an Ant be created programmatically from another (custom) Ant task?

2015-05-16 Thread Christopher BROWN
Hello, I've developed a few custom Ant tasks over time, but I need a little help doing something specific to Ant's data types. I've created a task that retrieves a set of files from a server, but the names aren't known in advance, they're determine during execution of the task. I'd like to creat

Progress bar for a custom Ant Task

2009-05-18 Thread Avlesh Singh
I wrote a custom task which needs to display some sort of a progress bar. I have all the necessary data in the Task to display the progress bar. Calls to the log method display output in a new line. Is there a way from within a task, to be able to use the same line for logging the output. Cheers A

RE: Custom ANT task

2009-04-08 Thread Martin Gainty
Apr 2009 19:58:46 +0530 > Subject: Custom ANT task > From: muralidhar.ma...@gmail.com > To: user@ant.apache.org; user-h...@ant.apache.org > > Hi , > > I am a third party custom ant task where it accepts a set of defined > attributes and provision to pass additional at

Custom ANT task

2009-04-08 Thread Muralidhar Manku
Hi , I am a third party custom ant task where it accepts a set of defined attributes and provision to pass additional attributes. checkArgIsNull(applicationName, "applicationName"); checkArgIsNull(name, "name"); checkArgIsNull(factory

Re: Issues with building custom Ant task and using it in same build?

2008-03-25 Thread Peter Reilly
On Tue, Mar 25, 2008 at 10:50 PM, Karr, David <[EMAIL PROTECTED]> wrote: > I have to write a custom Ant task to get some detailed data out of > Perforce into some properties, and then I need to use those properties > in following steps of a build. Are there any difficulti

Issues with building custom Ant task and using it in same build?

2008-03-25 Thread Karr, David
I have to write a custom Ant task to get some detailed data out of Perforce into some properties, and then I need to use those properties in following steps of a build. Are there any difficulties in having my build first compile the Ant task, and then use it in the further steps of the build

Re: Getting output from a custom ant task

2006-10-13 Thread Peter Reilly
operty semantics is broken. Peter Antoine Hunter Peress wrote: > Hi, Im writing a custom ant task and I want to know how I can return a > string from it back to an ant property. > - To unsubscribe, e-mail: [EMAIL

AW: Getting output from a custom ant task

2006-10-12 Thread Jan.Materne
http://ant.apache.org/manual/tutorial-tasks-filesets-properties.html#returning-list Jan >-Ursprüngliche Nachricht- >Von: Antoine Levy-Lambert [mailto:[EMAIL PROTECTED] >Gesendet: Freitag, 13. Oktober 2006 02:16 >An: Ant Users List >Betreff: Re: Getting output from a

Re: Getting output from a custom ant task

2006-10-12 Thread Antoine Levy-Lambert
Hello Hunter, such tasks usually have an attribute to choose the property name that you want to set. getProject().setProperty(name, value) should do. Antoine Hunter Peress wrote: > Hi, Im writing a custom ant task and I want to know how I can return a > string from it back to an ant pr

Getting output from a custom ant task

2006-10-12 Thread Hunter Peress
Hi, Im writing a custom ant task and I want to know how I can return a string from it back to an ant property.

Re: custom ant task .....successful or not

2006-02-15 Thread Ninju Bohra
want to setting verbose=true in the task to get more information. Sorry not to familiar with , Ninju - Original Message From: [EMAIL PROTECTED] To: user@ant.apache.org Sent: Wednesday, February 15, 2006 10:01:08 AM Subject: custom ant task .successful or not How to check if

custom ant task .....successful or not

2006-02-15 Thread Srikrishna_Parthasarathy
How to check if custom ant task ran successful or not. Eager to see your replies. srikrishna

Re: Custom ant task and resources

2005-10-28 Thread Dale Anson
ilable at http://antelope.tigris.org. Hope this helps! Dale Antoine Levy-Lambert wrote: Johannes Rieken wrote: Hi everyone! I 've written a custom ant task which I deploy as a jar file. This jar file contains another jar file which is read during task execution. I'm usin

Re: Custom ant task and resources

2005-10-27 Thread Antoine Levy-Lambert
Johannes Rieken wrote: >Hi everyone! > >I 've written a custom ant task which I deploy as a jar file. This jar file >contains another jar file which is read during task execution. >I'm using the static method "ClassLoader.getSystemResource(String):URL" to

Custom ant task and resources

2005-10-27 Thread Johannes Rieken
Hi everyone! I 've written a custom ant task which I deploy as a jar file. This jar file contains another jar file which is read during task execution. I'm using the static method "ClassLoader.getSystemResource(String):URL" to access resources in jar file which usually

Re: Custom Ant Task with 3rd party library dependency

2005-05-03 Thread Ben Gill
.org> >To: Ant Users List <user@ant.apache.org> >Subject: Re: Custom Ant Task with 3rd party library dependency >Date: Tue, 03 May 2005 17:03:31 +0100 >MIME-Version: 1.0 >Received: from mail.apache.org ([209.237.227.199]) by mc6-f39.hotmail.com with Microsoft SMTPSVC(6.0.379

Re: Custom Ant Task with 3rd party library dependency

2005-05-03 Thread Peter Reilly
27; build.xml file I do this: Then, in my appfuse-contrib.xml file I do: But whatever I try setting either classpath to (or even if I use inline classpath, or classpathref), my custom ant task cannot find the spring classes.. Is it possible what I am trying to do? Eric's article + other pos

Re: Custom Ant Task with 3rd party library dependency

2005-05-03 Thread Ben Gill
thref), my custom ant task cannot find the spring classes.. Is it possible what I am trying to do? Eric's article + other postings I have read seem to suggest, the only two ways of using 3rd party classes from wthin a custom task is to ether a) kick off a new JVM task or b) put the jar

Re: Custom Ant Task with 3rd party library dependency

2005-05-03 Thread Stefan Bodewig
On Tue, 03 May 2005, Ben Gill <[EMAIL PROTECTED]> wrote: > Has anyone got a nice, tidy way of making 3rd party jar files > available to a custom task? It should work if your third party task and spring come from the same place. The easiest way of course is to bundle them in the same jar. But th

Re: Custom Ant Task with 3rd party library dependency

2005-05-03 Thread Ivan Ivanov
Hello Ben, Have you tried with to your custom task with classpath nested tag: HTH Ivan --- Ben Gill <[EMAIL PROTECTED]> wrote: > Hi, > > My custom Ant task relies on the Spring jar files, > but whatever I try, I get > a class not found exception.. > > I

Custom Ant Task with 3rd party library dependency

2005-05-03 Thread Ben Gill
Hi, My custom Ant task relies on the Spring jar files, but whatever I try, I get a class not found exception.. I read a lot of posts on this and saw Eric's article here: http://www.fawcette.com/javapro/2003_02/magazine/features/ehatcher/ But I cannot believe I have to spawn off a JVM to pi