Hi Jürgen,
thanks for the explanation. I will ask the owner of ant1.xml. Your
solution is great!
Regards
Dieter
While I think that could be implemented this is not at the moment.
You have to introduce a new type for propertyvalues, containing the value and
the location.
You would change the api from
Hashtable/**/ properties;
to
Hashtable properties;
class Property {
String value;
Location locati
I've used both Ant and Maven, and I'm convinced that Maven is a burden
that is only worthwhile if you really need all of its features. One of
the big reasons people use Maven is for dependency download and
management (and sometimes the only reason). That's one thing it's good
for. In the Ant wor
If you change the current behavior, then it makes IVY less powerful. If you
keep the current behavior, then people can always turn it off with
override="false". So the current behavior satisfies both needs.
---
Shawn Castrianni
-Original Message-
From: Maarten Coene [mailto:[EMAIL PR
Hi Carlton,
Ivy is indeed a very powerfull tool, it can even change Ant properties ... ;-)
Just kidding and you are probably right, we should not modify properties that
were set outside Ivy. However, I think it could be a difficult excercise to
modify the current behaviour because the Ivy Ant ta
On Wed 2008-11-12 at 17:44h, Tom Widmer wrote on ivy-user:
:
> I suspect he didn't see my suggestion - my inline response style is
> probably more suited to usenet than to a mailing list... (I'm using
> news.gmane.org to access the mailing list, so naturally respond as
> though I'm on usenet).
Yes, that is expected. ivy properties and ant properties are the same thing
from my understanding.
---
Shawn Castrianni
-Original Message-
From: Brown, Carlton [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 12, 2008 12:14 PM
To: [EMAIL PROTECTED]
Subject: RE: Ivy can mutate Ant pr
The ivy task mutated an Ant property in the Ant script, not in a
settings file. Is that still expected behavior? It's true that the
property coincided with a commonly used Ivy property, but I would not
expect Ivy to mutate any Ant property that was not set by Ivy itself.
-Original Message---
Yes, this is default behavior. IVY settings files can have properties with the
option to alter pre-existing properties. The option is in the "override"
attribute. If you set it to false, then you will not mutate any ANT
pre-existing properties.
---
Shawn Castrianni
-Original Message---
I was surprised today to observe that the ivy:info task can mutate Ant
properties, which are supposedly immutable.
In this snippet of Ant code, I hardcode some Ant properties. After a
call to ivy:info, these properties have changed, which should not occur
(as far as I understand).
Can anyon
Maarten Coene wrote:
Stefan,
it's not clear from your answer, but did you try to omit the port when
declaring the credentials?
If that doesn't work as well, could you post the log you get on your console
when running in verbose mode?
I suspect he didn't see my suggestion - my inline
Hello,
Again: The behaviour of ANT is ok, because you need this very often!
If you have no access at all to ant1.xml and this script is holy, so that no
one is allowed to change it and you need to call target t1, then there is no
way to change foo for target t2.
But...
You import ant1.xml, the
Hi,
i expected that i will be missunderstood :(. So again:
=== ant1.xml ===
... do something
... do something
... do something
=== ant1.xml ===
=== ant2.xml ===
=== ant2.xml ===
Suppose i have no
Hi,
I not looking for the value of the property but where in the configuration it
is defined.
The org.apache.tools.ant.Target class has a method: getLocation(), can I get
the same sort of thing for properties.
Thanks
> -Original Message-
> From: ext [EMAIL PROTECTED] [mailto:[EMAIL PR
Good Morning Simon
We could provide more assistance if you could elaborate on your build
environment..are you staging?
Kiitos/Danke
Martin
__
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates to the official
Properties are a String-String-Mapping.
Quasi a
Hashtable properties = ...
The name works as key.
The value is set by
: to the string value
: to the absolute path (again as String) of that
location.
Jan
>-Ursprüngliche Nachricht-
>Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED
Hi,
How can I find out where a property is defined, which ant file?
I would like:
project.getProperty("helium.dir").file()
or:
project.getProperty("helium.dir").location()
Thanks
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
F
Hendrik Maryns wrote:
Steve Loughran schreef:
The way we do root level access is to ssh in to localhost and run stuff
as root there. you can either set up the command with the relevant
(property driven) password,
How would I do that? I need something similar for . Right now
I use a plain p
In my opinion, ANT is doing exactly what ANT should do.
The param attribute is used to overwrite selected properties in the called
target.
Param is not a datatype like properties. Param is just used to set properties
for a called task.
So, when you use antcall with param, it should always set t
Hello list,
i have encountered a strange behaviour of ant scripts as property and
param elements are using incompatible overwrite rules. Please let me
explain in a small diagram.
- set some property
- use antcall with inheritall=true
- the called target tries to set the property again
==> first
Steve Loughran schreef:
> The way we do root level access is to ssh in to localhost and run stuff
> as root there. you can either set up the command with the relevant
> (property driven) password,
How would I do that? I need something similar for . Right now
I use a plain password in the task,
Tom Robinson wrote:
I need to run an "exec" task with superuser privileges but I've run into
two problems with two different approaches:
1) Running "sudo ant" doesn't give me access to my user environment
variables.
2) If I do /> it works, but only if I've entered my password for sudo
recen
What have you set for the default target in the build file ?
2008/11/11 Mark Salter <[EMAIL PROTECTED]>
> ilango_g wrote:
> > Yes, I am. Actually, I do not see a "dist" in the targets tab.
> I wonder where else it is appearing then. Is your build.xml very long,
> can you post it somewhere and p
I need to run an "exec" task with superuser privileges but I've run
into two problems with two different approaches:
1) Running "sudo ant" doesn't give me access to my user environment
variables.
2) If I do > it works, but only if I've entered my password for sudo
recently... I can't ente
24 matches
Mail list logo