Testing the cli

Building a repository

  1. Get a full build tree
    1. svn co http://stlzro4.torolab.ibm.com/svn/zero/trunk/BUILD
    2. svn co http://stlzro4.torolab.ibm.com/svn/zero/trunk/CORE
    3. build BUILD/zero.build ( ant )
    4. build CORE/zero.core.build ( ant build, ant publish )
  2. 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

r1 - 29 Mar 2008 - 15:30:59 - bonanno
Syndicate this site RSS ATOM
Copyright 2007 © IBM Corporation | Privacy | Terms of Use | About this site