Testing the cli
Building a repository
- Get a full build tree
- svn co http://stlzro4.torolab.ibm.com/svn/zero/trunk/BUILD
- svn co http://stlzro4.torolab.ibm.com/svn/zero/trunk/CORE
- build BUILD/zero.build ( ant )
- build CORE/zero.core.build ( ant build, ant publish )
- Check out zero.cli and zero.cli.tasks into eclipse
xcopy zero.cli and zero.cli.tasks into the build tree. ant build and ant publish will create the cli zip and provide a repository to use.
Example script to copy the repository and unzip the cli
rd /s \tmp\repo\bvt
rd /s \tmp\repo\experimental
xcopy /s "c:\documents and settings\bonanno\Local Settings\Temp\zerocli\zero-repository\experimental\modules" \tmp\repo\bvt
xcopy /s "c:\documents and settings\bonanno\Local Settings\Temp\zerocli\zero-repository\experimental\modules" \tmp\repo\experimental
rd /s \tmp\cli
mkdir \tmp\cli
cd \tmp\cli
unzip \build\CORE\zero.cli\export\zero_1.0.UNKNOWN.0.zip
cd \tmp\cli\zero
Last step is to edit bootstrap.properties to add some module groups to test with
experimental=file:/tmp/repo/experimental
bvt=file:/tmp/repo/bvt
bvt2=file:/tmp/repo/bvt
Comment out set ZERO_OPTS line to use eclipse to debug cli
-- bonanno - 29 Mar 2008