Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 349651 - Enhance top-level build scripts for community users to run headless daily build
Summary: Enhance top-level build scripts for community users to run headless daily build
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: 3.7.0   Edit
Hardware: PC Windows 7
: P3 enhancement (vote)
Target Milestone: 4.2.2   Edit
Assignee: Xiaoying Gu CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-17 03:55 EDT by Xiaoying Gu CLA
Modified: 2013-03-07 10:44 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Xiaoying Gu CLA 2011-06-17 03:55:01 EDT
The detailed discussion could be found from BIRT forum:
http://www.eclipse.org/forums/index.php?t=rview&goto=684962#msg_684962

Main enhancement include:
1. Remove the internal IP/server addresses from bootstrap.sh and mapfile.
   We should use the public URL in scripts in CVS.

2. We can add the preparation steps of baseLocation in bootstrap.sh. Including downloading the build dependencies projects file and unzip them into the ${baseLocation}

3. We can use $HOME variable to replace the hard code home dir in bootstrap.sh, which is more flexible when creating builds on different machine.
Comment 1 Aaron Digulla CLA 2011-06-28 03:09:02 EDT
Since this is Ant, consider to read defaults from ${user.home}/.eclipse/birt/build-defaults.properties

That way, each user can save his/her own defaults.

Another possible solution is to read ${basedir}/${user.name}-build.properties; it would allow several users to add their own properties to the CVS repository (so new users would have several examples).
Comment 2 Aaron Digulla CLA 2013-03-07 10:44:03 EST
Consider to replace the build process with Maven Tycho; ask the CBI team if you need help to set this up or read the documentation at http://wiki.eclipse.org/Tycho/Reference_Card

If you want to try it yourself, I suggest that you download a demo project and have a look at the various POM files.