RE: references id names stored in properties

2011-06-03 Thread Echlin, Robert
Hi Juergen, Thanks for the correction. Refid does link to only one id. Rob > -Original Message- > From: Knuplesch, Juergen [mailto:juergen.knuple...@icongmbh.de] > Sent: Friday, June 03, 2011 9:56 AM > To: Ant Users List > Subject: AW: references id names store

AW: references id names stored in properties

2011-06-03 Thread Knuplesch, Juergen
: Ant Users List Betreff: RE: references id names stored in properties Hi Juergen, Read the docs on the property task. You want "refid" instead of "location". Quote: "location - Sets the property to the absolute filename of the given file." "refid - Reference t

RE: references id names stored in properties

2011-06-03 Thread Echlin, Robert
Hi Juergen, Read the docs on the property task. You want "refid" instead of "location". Quote: "location - Sets the property to the absolute filename of the given file." "refid - Reference to an object defined elsewhere. Only yields reasonable results for

references id names stored in properties

2011-06-03 Thread Knuplesch, Juergen
Hello, I want to call Ant from another Ant File and send some filsets: sth like this: The variable local.filesetlist stores now a list of two filset ids. In antfile2 I want to do sth. like this (using antcontrib):

Re: Passing References from Master Build File to Child

2006-07-14 Thread Joe Moore
t was designed? Joe [EMAIL PROTECTED] - Original Message From: Joe Moore <[EMAIL PROTECTED]> To: user@ant.apache.org Sent: Thursday, July 13, 2006 10:21:19 AM Subject: Passing References from Master Build File to Child I'm having problems passing a path reference from a Master build

Passing References from Master Build File to Child

2006-07-13 Thread Joe Moore
I'm having problems passing a path reference from a Master build file to a child build file. I've read through the user manual, a few books and Googled and am still having problems. So I figure I'm missing something simple. Perhaps in the child build file? I think I've called the task properl

RE: Dynamic references to properties files

2006-05-23 Thread Sunil Goklani
Thank you Rob. That solved it! -Sunil From: "Anderson, Rob (Global Trade)" <[EMAIL PROTECTED]> Reply-To: "Ant Users List" To: "Ant Users List" Subject: RE: Dynamic references to properties files Date: Mon, 22 May 2006 11:06:19 -0700 No. Not the case. I b

RE: Dynamic references to properties files

2006-05-22 Thread bill/wilandra
Ah yes, I forgot about that. Bill -Original Message- From: Asaf Mesika [mailto:[EMAIL PROTECTED] Sent: Monday, May 22, 2006 12:07 PM To: 'Ant Users List' Subject: RE: Dynamic references to properties files Env is commonly used, but it is not defined unless you define it

RE: Dynamic references to properties files

2006-05-22 Thread Anderson, Rob (Global Trade)
a [mailto:[EMAIL PROTECTED] > Sent: Monday, May 22, 2006 10:57 AM > To: 'Ant Users List' > Subject: RE: Dynamic references to properties files > > Isn't env a well known property for retrieving op sys > environment vars (e.g., ${env.MYDIR})? If so, can it ever not >

RE: Dynamic references to properties files

2006-05-22 Thread Asaf Mesika
Env is commonly used, but it is not defined unless you define it explicitly using : Asaf > -Original Message- > From: bill/wilandra [mailto:[EMAIL PROTECTED] > Sent: Monday, May 22, 2006 7:57 PM > To: 'Ant Users List' > Subject: RE: Dynamic references to pr

RE: Dynamic references to properties files

2006-05-22 Thread bill/wilandra
From: Anderson, Rob (Global Trade) [mailto:[EMAIL PROTECTED] Sent: Monday, May 22, 2006 10:11 AM To: Ant Users List Subject: RE: Dynamic references to properties files You examples below are a little confusing, so forgive me if I am completely missing the mark with this advice. My suggestion is to not t

RE: Dynamic references to properties files

2006-05-22 Thread Anderson, Rob (Global Trade)
Anderson > -Original Message- > From: Sunil Goklani [mailto:[EMAIL PROTECTED] > Sent: Friday, May 19, 2006 6:06 PM > To: user@ant.apache.org > Subject: Dynamic references to properties files > > Hi All, > > I had a question on how I could use two variables to

Dynamic references to properties files

2006-05-19 Thread Sunil Goklani
Hi All, I had a question on how I could use two variables to access information from my properties files. I am trying to build an ant script to generate configuration files for all of my development, qa, and staging environments. For example I have the following in a properties file: #Confi

RE: compiler References in task

2006-05-15 Thread jason heddings
That did it, thanks! I ended up using the antlib.xml to get the definitions in the same import... Thanks, --jah -Original Message- From: Steve Loughran [mailto:[EMAIL PROTECTED] Sent: Monday, 15 May, 2006 03:49 To: Ant Users List Subject: Re: compiler References in task jason

Re: compiler References in task

2006-05-15 Thread Dominique Devienne
You need to make sure that they are loaded by the same classloader; giving them the same path doesnt guarantee this, and once in separate classloaders, the tasks cannot cast the reference to the types they expect. Or drop cpptasks.jar in ANT_HOME/lib, and use XML namespaces with the auto-ma

Re: compiler References in task

2006-05-15 Thread Steve Loughran
jason heddings wrote: Hello- I have the following build file and I'm not sure what I'm missing: You need to make sure that they are loaded by the same classloader; giving them the same path doesnt guarantee this, and once in separate classloaders, the tasks cannot cast the reference

compiler References in task

2006-05-14 Thread jason heddings
Hello- I have the following build file and I'm not sure what I'm missing: When I try to run this, I get an error saying: build.xml:12: my-compiler doesn't denote a ProcessorDef This is my first attempt to factor out the compiler types, so thank

compiler References in task

2006-05-12 Thread jason heddings
Hello- I have the following build file and I'm not sure what I'm missing: When I try to run this, I get an error saying: build.xml:12: my-compiler doesn't denote a ProcessorDef This is my first attempt to factor out the compiler types, so thank

RE: References

2005-07-06 Thread John Mc Quillan
Subject: Re: References IIRC can take nested elements; sounds like you could declare a named patternset and then re-use that patternset with many filesets. -- Jeffrey E. Care ([EMAIL PROTECTED]) WebSphere Build SWAT Team Lead WebSphere Build Tooling Lead (Project Mantis) https://w3

Re: References

2005-07-06 Thread Jeffrey E Care
IIRC can take nested elements; sounds like you could declare a named patternset and then re-use that patternset with many filesets. -- Jeffrey E. Care ([EMAIL PROTECTED]) WebSphere Build SWAT Team Lead WebSphere Build Tooling Lead (Project Mantis) https://w3.opensource.ibm.com/projects/mantis

References

2005-07-06 Thread John Mc Quillan
Does anyone know of a way to create a reference to a list of files without specifying the directory that they are stored in and then to create filesets from that list that specify the directory. So the application of this would be in the case where a set of files is copied from a source directory

Re: Append References? (refid question)

2005-04-03 Thread Antoine Levy-Lambert
It sounds like you want to append to paths, which you denote using references. Appending references does not make sense (to me at least). You could probably append to your path using JavaScript, not with pure Ant means. <![CDATA[ // appendpath is the project obj

Append References? (refid question)

2005-04-01 Thread Brent Bain
is a little more complex -- looping over an xml file to read in lib files/paths -- I just don't want to read in the xml file each time I need to use the libs if at all possible. Storing the lib references in an xml property file allows me to only have one file to reference from several sub project

Re: Internal AntCall and references

2004-12-14 Thread Wascally Wabbit
ware. Currently, I stores information (Java objects) in a ugly static map in my task and it works well. To clean it, I decided to use project references but it does not work with 'antcall': target A antcall B MyTask{getReference X} target B MyTask{setReference X} Is there a bette

Internal AntCall and references

2004-12-13 Thread Yves Martin
Hello, I have created a task that must be 'context' aware. Currently, I stores information (Java objects) in a ugly static map in my task and it works well. To clean it, I decided to use project references but it does not work with 'antcall': target A

Re: Is there a limited number of level to variable references in a property file ... ?

2003-10-21 Thread peter reilly
On Tuesday 21 October 2003 16:12, [EMAIL PROTECTED] wrote: > Here is the problem, I like a project to have the following structure : See > below. > > Now, my Build.xml (in this case 'TestBuild.xml') always referes to a > property-file where most the properties are defined (One coul have gessed > th

Is there a limited number of level to variable references in a property file ... ?

2003-10-21 Thread Thomas Lionel SMETS
Here is the problem, I like a project to have the following structure : See below. Now, my Build.xml (in this case 'TestBuild.xml') always referes to a property-file where most the properties are defined (One coul have gessed that !) I seems that I cannot use "variables" in the property file abo