Users - SubAnt Patch Helpful

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Users - SubAnt Patch Helpful

Lon F. Binder-2
FYI...
 
If you, like us, require ofbiz's ant file to be called from another ant file via the <ant> task from other build files in different directories (such as for continuous integration), you may have experienced problems similar to us.
 
Due to a bug in the <subant> task, used on line 152 of the main ofbiz build.xml file, the ofbiz build would fail when sub projects (minerva specfically, as it was the first in the file list) were compiled due to the wrong basedir.
 
This is easily resolved however by patching your ant (ver 1.6.5) with patch offered from Apache:
 
It enables SubAnt to properly resolve the current basedir when SubAnt is used.
 
 - Lon
 

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Users - SubAnt Patch Helpful

Andrew Sykes
Lon,

I can think of a couple of build scripts out there that will look a lot
prettier with this fix in place, thanks for tracking that down!

- Andrew

On Mon, 2006-06-12 at 16:09 -0400, Lon F. Binder wrote:

> FYI...
>  
> If you, like us, require ofbiz's ant file to be called from another
> ant file via the <ant> task from other build files in different
> directories (such as for continuous integration), you may have
> experienced problems similar to us.
>  
> Due to a bug in the <subant> task, used on line 152 of the main ofbiz
> build.xml file, the ofbiz build would fail when sub projects (minerva
> specfically, as it was the first in the file list) were compiled due
> to the wrong basedir.
>  
> This is easily resolved however by patching your ant (ver 1.6.5) with
> patch offered from Apache:
> http://issues.apache.org/bugzilla/show_bug.cgi?id=30569
>  
> It enables SubAnt to properly resolve the current basedir when SubAnt
> is used.
>  
>  - Lon
>  
>  _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/users
--
Kind Regards
Andrew Sykes <[hidden email]>
Sykes Development Ltd
http://www.sykesdevelopment.com

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users