Hi,
I'm new to the list so apologies if I'm doing this all wrong. I was
interested to see if I could run a wookie server from a usb stick (thought
this would be useful for dissemination/workshops etc).
Here's the basic recipe I'm using
Downloading ant 1.7.1 and extracting to usb drive root e.g. f:\ant
Downloading wookie extracting to usb drive root e.g. f:\wookie
Copying a version of my local JAVA JDK to usb drive root f:\Java
In ant.bat adding:
set pathDrive=%cd:~0,2%
set JAVA_HOME=%pathDrive%\Java
after
:checkJava
set _JAVACMD=%JAVACMD%
And creating a .bat file in [wookie] with:
@echo off
set pathDrive=%cd:~0,2%
cd %pathDrive%\ant\bin
call ant.bat -buildfile %pathDrive%\wookie\build.xml run
This all appears to work fine except in compile I noticed that ivy is been
written to c: (see snippet below). I'm not familiar enough with ant/ivy to
know if/where the destination path can be changed. Also I'm not familiar
enough with wookie to tell if really is running portably.
Welcome any feedback. Does the recipe work? Is it possible to configure ivy
to be written on the stick? And any suggestions on if/how to take this
forward
Regards,
Martin
For info I'm testing on Win7 32bit
[snippet]
download-ivy:
[get] Getting:
<http://repo2.maven.org/maven2/org/apache/ivy/ivy/2.1.0-rc2/>
http://repo2.maven.org/maven2/org/apache/ivy/ivy/2.1.0-rc2/
ivy-2.1.0-rc2.jar
[get] To: C:\Users\MartinHa\.ant\lib\ivy.jar
[get] Not modified - so not downloaded