Conor MacNeill wrote:
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

Whoa. Just took a look at ModulesGrandBuilderTask and I see what you mean.

Particularly given that XDoclet has desires of moving to the ASF [1], perhaps they would be ameanable to suggestion? I'm particularly interested in seeing that the separate instances of Ant inherit the build.sysclasspath property. ;-)

- Sam Ruby

[1] http://marc.theaimsgroup.com/?l=jakarta-general&m=104023279711988&w=2




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



Reply via email to