|Re: [wtp-dev] Please give it a try -> WTP Bach Build instructions|
Thank you for documenting the build.Â I tried your instructions on a SUSE Linux 10.1. Here is as far as I could get I took some notes.Â I will try more and report :-)
Just a personal preference - But I think it would be better to call it local builds as opposed to batch builds
Step 1)Â Do I need JDK 1.5 or 1.4?ÂÂ It would be good to clarify why they are both needed.
ÂÂÂÂÂÂÂÂÂÂÂÂÂ It would be better to say 2.0.x stream requires...
Step 2)Â The instructions assume that the build machine is a linux box. I think it would be quite hard ro run it elsewhere.Â It would be good to make a note of that and maybe provide pointers for people who would like to try to build it on windows (i.e get cvs, unzip etc, put it on your path etc.)Â Of course they will have to convert all the shell scripts.
Step 3) CheckoutÂ failed as described on the wiki
cvs [export aborted]: absolute pathnames invalid for server (specified `/home/ndai/wtp-build
needed to use a relative path:
Âcvs -Q -f -d :pserver:anonymous@xxxxxxxxxxxxxxx:/cvsroot/webtools export -d ./releng.control -r HEAD webtools.releng/releng.control
Step 4)Â I did copy the localBuild files to ../local-props made the modsÂ - I was under the impression that I needed to copy commonVariations.shsource but I realized later it was not the case.
Step 5) ant.sh is not executable when you export from cvs, need to make it executable (chmod +x)
And running the command caused an error message:
./ant.sh: line 17: commonVariations.shsource: No such file or directory
Checking the file, I defined the environment variable RELENG_CONTROL and got a little further but ended with other error messagesÂ (primarily complaining about Xvfb - and Java Home
ndai@killbill:~/wtp-build/releng.control> ./ant.sh âf cc_project_build.xml âDprojectname=wtp-R3.0-I
ÂÂÂ Project Home: /home/ndai/wtp-build/releng.control
ÂÂÂ Build Home: /home/ndai/wtp-build
ÂÂÂ DISPLAY: 127.0.0.1:1.0
ÂÂÂ JAVA_4_HOME: /usr/lib/jvm/java-1_4_2-sun-22.214.171.124
ÂÂÂ JAVA_5_HOME: /usr/java/jdk1.5.0_14
ÂÂÂ ANT_HOME: /home/ndai/dev/apache-ant-1.7.0/
ÂÂÂ PATH: /home/ndai/dev/apache-ant-1.7.0//bin:/usr/java/jdk1.5.0_14/bin:/home/ndai/dev/apache-maven-2.0.8/bin:/home/ndai/dev/apache-ant-1.7.0/bin:/opt/ibm/db2/V9.5/bin:/usr/local/pgsql/bin:/home/ndai/dev/apache-maven-2.0.8/bin:/home/ndai/dev/apache-maven-2.0.8/bin:/home/ndai/dev/apache-ant-1.7.0/bin:/opt/ibm/db2/V9.5/bin:/usr/local/pgsql/bin:/home/ndai/dev/apache-maven-2.0.8/bin:/home/ndai/dev/apache-maven-2.0.8/bin:/home/ndai/dev/apache-ant-1.7.0/bin:/opt/ibm/db2/V9.5/bin:/home/ndai/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin:/usr/lib/jvm/jre/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:/opt/novell/iprint/bin
ÂÂÂ BASEOS: linux
ÂÂÂ BASEWS: gtk
ÂÂÂ BASEARCH: x86
ÂÂÂ LOCAL_BUILD_PROPERTIES_DIR: /home/ndai/wtp-build/localprops
ÂÂÂ remember to check that X virtual frame buffer is running for headless JUnit testing
ndaiÂÂÂÂ 23597 23585Â 0 14:27 pts/0ÂÂÂ 00:00:00 grep Xvfb
: command not found
Error: JAVA_HOME is not defined correctly.
/bin/javaot execute /usr/lib/jvm/java-1_4_2-sun-126.96.36.199
Hi there, Here's some instructions on how to setup a WTP batch build locally. Please give it a try and see if these instructions work on your local box, and any feedback is welcome (feel free to make updates on the wiki directly). Please post questions on wtp-releng for any clarifications. Thank you! http://wiki.eclipse.org/WTP_Batch_Build Regards, Helen Zhang Release Engineer, Project Manager Rational Architecture Management Project Management Office Eclipse Webtools Platform (WTP) IBM Toronto Software Lab | 8200 Warden Ave. | Markham | L6G 1C7 Email: hjzhang@xxxxxxxxxx | Phone: 905-413-3443 | T/L: 969-3443