There are some Gump issues with XDoclet and overriding properties being
discussed on the ant-dev list.

Thoughts?

I haven't had a look at <builder> but we should investigate properties being passed down somehow.

Erik

-------- Original Message --------
Subject: Re: Specifying properties from the command line?
Date: Fri, 20 Dec 2002 01:30:36 +1100
From: Conor MacNeill <[EMAIL PROTECTED]>
Reply-To: Ant Developers List <[EMAIL PROTECTED]>
To: Ant Developers List <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>

Sam Ruby wrote:
> I would like to specify the version property for xdoclet builds within
> gump, but apparently the value I specify is overridden. Any suggestions
> would be appreciated...
>

Wow, their build is complex. I did a run with the version property override
and it created two copies of many jars, one with my version and one with
their version number.

I've had a quick look into it and one definite problem is the module builder
custom task. This invokes a separate instance of Ant (using exec classes).
This sub-instance does not inherit any properties from the controlling ant
build (the one for which you set the version property).

The only sure fire way I can see to control the version is to munge the
build.properties file before starting the build.

Conor


--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>






-------------------------------------------------------
This SF.NET email is sponsored by: Geek Gift Procrastinating?
Get the perfect geek gift now! Before the Holidays pass you by.
T H I N K G E E K . C O M http://www.thinkgeek.com/sf/
_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to