Thats the baby, works a treat.
Cheers,
Mike S.
>>> [EMAIL PROTECTED] 16/03/2007 16:06:40 >>>
Mike,
I use antcontrib tasks to do this. The tasks ,
and are very useful to do this.
http://ant-contrib.sourceforge.net/
Put it in it own namespace. I generally do this:
..
..
the b4usony was a typo that should have read server1.
The property remote.jboss.jndi.port.server1 is set in the
build.properties file to a value of 17031, when the target is run I then
know which server I am using, in this case server1. What I am trying to
get is the value associated with that ser
It looks like you already have the value set.
Once a property is set, you can't unset or reset it. (Unless you use a
3'rd party task, like ant-contrib's var task)
Where did the 'b4usony' come from? Did you set it earlier?
remote.jboss.jndi.port.b4usony
-Original Message-
From:
Mike,
I use antcontrib tasks to do this. The tasks ,
and are very useful to do this.
http://ant-contrib.sourceforge.net/
Put it in it own namespace. I generally do this:
..
..
Hope this helps.
GregD
859-386-8309
-Original Message-
From: Mike Stewart [mailto:
Hi,
I am trying to get a value from a property that is defined in the
build.properties file -
remote.jboss.jndi.port.server1=17031
remote.jboss.server=server1
The remote.jboss.server varies depending on which client is being
built, I tried the definition below but it is performing text
substitu
Here's a snippet (from a macrodef and hence @{..}) of what I do when I
need to exec Ant
--Vishal
thomaslarsson wrote:
Thanks Jan but you misunderstand me.
Its not java or javac task that I wan
Thanks Jan but you misunderstand me.
Its not java or javac task that I want to specify the java version for.
What I want is more similar to spawning a separate process with runs ant
with a java version that I can specify for each project.
I know I can do this with the exec task, perhaps simples
But you could also use Java1.5 for your 1.5 AND 1.4 projects.
When compiling your 1.4 you set source+target="1.4"
Jan
>-Ursprüngliche Nachricht-
>Von: thomaslarsson [mailto:[EMAIL PROTECTED]
>Gesendet: Freitag, 16. März 2007 14:18
>An: user@ant.apache.org
>Betreff: specifying jvm for
Hello everyone,
I have an ant task that calls a set of ant tasks in order to build a set of
projects in the correct order.
Now I added a project that needs to be run with java 1.5, and I would like
to be able to configure the build so that only this new target is run with
1.5, and to old tasks
Jacky wrote:
Hi James,
First of all, thanks for replying.
I do stand from your point of view and look at this matter. One would
obviously question me on what has been changed.
However, the system environment has not been changed in anyway before it
started to fail in building my project. What
10 matches
Mail list logo