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
: 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
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
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):
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
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
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
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
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
>
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
27 matches
Mail list logo