History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: WW-948
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Rene Gielen
Reporter: Rene Gielen
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
WebWork

Make build from distribution package self-contained

Created: 09/Nov/05 02:22 AM   Updated: 21/Nov/05 09:25 AM  Due: 09/Nov/05
Component/s: None
Affects Version/s: 2.2
Fix Version/s: 2.2

File Attachments: 1. Text File build_standalone_enabled.patch (2 kb)
2. File commonbuild.properties (0.1 kb)

Environment: all


 Description  « Hide
Currently one needs to checkout opensymphony common module from CVS to build webwork from scratch.
We need to copy osbuild.xml over to dist dir and change the location where dist build file will look for it.

 All   Comments   Change History      Sort Order:
Rene Gielen - [09/Nov/05 10:54 AM ]
Patched webwork build.xml to support standalone operation for builds from distribution.

Rene Gielen - [09/Nov/05 10:56 AM ]
This property file is needed in the ww root directory for the patched buildfile to work.

Rene Gielen - [09/Nov/05 11:03 AM ]
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

Patrick Lightbody - [15/Nov/05 10:42 PM ]
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 :)

Rene Gielen - [16/Nov/05 01:48 AM ]
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).

Rene Gielen - [21/Nov/05 06:03 AM ]
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.

Rene Gielen - [21/Nov/05 09:25 AM ]