|
|
|
[
Permlink
| « Hide
]
Rene Gielen - [09/Nov/05 10:54 AM ]
Patched webwork build.xml to support standalone operation for builds from distribution.
This property file is needed in the ww root directory for the patched buildfile to work.
The patched build process will
- determine which common buildfile to use before import - check whether ivy-retrieve should be executed This is done using the presets found in commonbuild.properties When creating distribution - the osbuild.xml will be copied to distdir - the commonbuild.properties will be copied to distdir - the commonbuild.properties in distdir is edited to standalone setup Please review & apply in CVS Rene,
We decided to just keep a copy of osbuild.xml in the CVS module itself, so that should take care of everything. I won't need your patch though, I hope you don't mind :) How should I not like this solution? :)
It even makes build from CVS easier because no "outside" module needed. But the patch addressed a second thing - make ivy-retrieve dependent on the build.standalone property build.standalone=true -> omit ivy-retrieve This is useful in both for distribution (it comes with all needed libs) and development (beeing able to short circuit build process). Build now knows new property "skip.ivy". May be specified from properties file or from commandline ant execution with -Dskip.ivy=true. If set to true, ivy-retrieve is omitted and build is done with current libdir content.
The dist target was extended to add "skip.ivy=true" to the build.properties file in the distribution dir, which makes builds from distribution skip ivy retrieve by default. | ||||||||||||||||||||||||||||||||||||||||||||||||||||