Re: Relative Paths in Imported Files

2008-08-18 Thread Stefan Bodewig
On Sun, 17 Aug 2008, Francisco Tolmasky <[EMAIL PROTECTED]> wrote: Before I answer the original question let me state that I have seen a bug with a combination of , and that manifested itself as -elements using the wrong basedir - I was able to work around it by using instead of . Unfortunatel

Get a file list in a property

2008-08-18 Thread Patrik Dufresne
Hi, I'm working a build script and I need to retrieve a list of file in a property. The value of the property I expect should be similar to: build/src/somefile.h build/src/somefile.cpp build/src/array.h build/src/array.cpp, etc. I look into loadRessource, FileSet, PatternSet and I can't figure ou

How to get project,target name?

2008-08-18 Thread I am Who i am
Hi All, is there any way to get the project,target name liek variable at run time of project. for eg. i want to add echo message which says ==Running ${target.name}= I may be wrong, but i think i rememer seeing some doc, which has all the ant implemented inter properties, anyone has

Validation of a path reference

2008-08-18 Thread Eric Wood
I use a path reference to gather jar files from a file system for packaging in our EARs. An issue that I have had is that if I screw up the path, then the file is not gathered for the packaging and this is not found until the application goes to our test environment. It there any utility that I c

Re: How to get project,target name?

2008-08-18 Thread supareno
I am Who i am a écrit : Hi All, is there any way to get the project,target name liek variable at run time of project. for eg. i want to add echo message which says ==Running ${target.name}= ${target} for the target ${ant.project.name} for the project name etc... check out this

Enforcing "depends" order for 3rd-party targets?

2008-08-18 Thread cowwoc
Hi, Give: how do I guarantee that "internal" gets executed before "external" if "external" is declared by some 3rd-party script I have no control over (that is, I can't add depends="internal" to "external"). It should be noted that "internal" declares properties that "external" looks for, so

Why is everything getting included in my WAR?

2008-08-18 Thread dave.alvarado
Hi, I want to build my WAR file such that it only includes specific JARS from my staging lib directory as opposed to all the ones that are in there.  Unfortunately, despite my include and exclude directives, all JARS from the directory are getting included.  Can you help me figure out what is w

Re: Enforcing "depends" order for 3rd-party targets?

2008-08-18 Thread Dominique Devienne
On Mon, Aug 18, 2008 at 4:09 PM, cowwoc <[EMAIL PROTECTED]> wrote: > > > how do I guarantee that "internal" gets executed before "external" if > "external" is declared by some 3rd-party script I have no control over (that > is, I can't add depends="internal" to "external"). But default that is wh

Re: Enforcing "depends" order for 3rd-party targets?

2008-08-18 Thread cowwoc
Right, but how would I make this work even for a future theoretical parallel executor? It is my understanding that the Ant documentation does not guarantee the execution order and relying upon the existing behavior is discouraged, which is why I ask. Gili Dominique Devienne-2 wrote: > > On Mon

Re: Enforcing "depends" order for 3rd-party targets?

2008-08-18 Thread Dominique Devienne
On Mon, Aug 18, 2008 at 4:48 PM, cowwoc <[EMAIL PROTECTED]> wrote: > Right, but how would I make this work even for a future theoretical parallel > executor? It is my understanding that the Ant documentation does not > guarantee the execution order and relying upon the existing behavior is > discou

Re: Enforcing "depends" order for 3rd-party targets?

2008-08-18 Thread Dominique Devienne
On Mon, Aug 18, 2008 at 4:48 PM, cowwoc <[EMAIL PROTECTED]> wrote: > Right, but how would I make this work even for a future theoretical parallel > executor? "before" and "after" targets have been discussed in the past few weeks, but nothing concrete has been done yet. Search for a recent long thr

AW: Enforcing "depends" order for 3rd-party targets?

2008-08-18 Thread Knuplesch, Juergen
To retrieve changed properties you can use antcallback or antfetch from antcontrib. http://ant-contrib.sourceforge.net/tasks/tasks/index.html -- Jürgen Knupleschwww.icongmbh.de icon Systemhaus GmbHTel. +49 711 806098-275 Sophienstraße 40