It works like charms! Cheers Steve
-Original Message-
From: Stephen McConnell [mailto:[EMAIL PROTECTED]
Sent: Thu 22/12/2005 21:05
To: 'Ant Users List'
Subject: RE: How to get user project properties from java app
You could try something like the following:
Project cre
On 22/12/05, Antonio, Jean Claude (Spring IT) <
[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I'm writing a java application that call ant.
> It works fine.
> But I want to get project properties defined in the build.xml file.
>
> With project.getUserProperty("serverName");
> or project.getProperty("s
e-
> From: Antonio, Jean Claude (Spring IT)
> [mailto:[EMAIL PROTECTED]
> Sent: Friday, 23 December 2005 4:16 AM
> To: user@ant.apache.org
> Subject: How to get user project properties from java app
>
> Hello,
>
> I'm writing a java application that call ant.
Hello,
I'm writing a java application that call ant.
It works fine.
But I want to get project properties defined in the build.xml file.
With project.getUserProperty("serverName");
or project.getProperty("serverName");
I get a returned null value.
--
You should probably send this question to the dev list.
-Rob Anderson
> -Original Message-
> From: Antonio, Jean Claude (Spring IT)
> [mailto:[EMAIL PROTECTED]
> Sent: Thursday, December 22, 2005 9:46 AM
> To: user@ant.apache.org
> Subject: How to get user project pr
Hello,
I'm writing a java application that call ant.
It works fine.
But I want to get project properties defined in the build.xml file.
With project.getUserProperty("serverName");
or project.getProperty("serverName");
I get a returned null value.
--