bitten-slave --keep-files --work-dir "c:\bitten-builds\urbansim"
bitten-recipe-urbansim.xml
but the checkout line in my recipe looks like this:
<svn:checkout url="https://svn.ict.usc.edu/svn_urbansim/"
path="${path}" revision="${revision}"/>
which gives me this error:
[INFO ] Executing build step 'checkout'
[ERROR ] svn: Syntax error in revision argument '$revision'
[ERROR ] Build step 'checkout' failed (Build step checkout failed)
[WARNING ] Build step 'checkout' failed
[WARNING ] Stopping build due to failure
So, how do I specify ${revision} and ${path} from the command line?
Thanks
bitten-slave --keep-files --work-dir . --build-dir . recipe.xml
That causes it to run my recipe against the local svn copy without
checking anything out or deleting anything when it's done.
This is mentioned on the FAQ.
Mike
> I use this same technique of commenting out the svn step in my recipe
> and running from my local svn copy. Then I specify the work dir and
> build dir like this:
>
> ...
>
> This is mentioned on the FAQ.
I do the same (which is why I wrote that FAQ). There is an additional
advantage that I store recipes in the svn repository, allowing easier
change tracking. All other developers can use the same recipe to run
all tests before a commit, so there's less excuse for breaking the
build...
Cheers,
Iain.