You and Brian can fight it out over the windows stuff.

On 18-Jul-08, at 12:12 PM, Benjamin Bentmann wrote:

Jason van Zyl wrote:

Ok, I have a new portable bundle.

Maybe you find this Windows batch file a useful addition:

----------------------------------------
@echo off

set "dir=%~dp0"
if "%dir:~-1%" == "\" set "dir=%dir:~0,-1%"

set "HUDSON_HOME=%dir%\runtime"

if not exist "%HUDSON_HOME%" (
 java -jar "%dir%\haven-1.0.jar" -d "%HUDSON_HOME%"
)

java -jar "%dir%\hudson.war" "--webroot=%HUDSON_HOME%\war"
----------------------------------------

Proposed name: hudson.bat or anything else but start.bat. The later would cause confusion because just executing "start" as usual will invoke start.exe instead.

I replaced all the scripting with Velocity templating

Are create.sh and the templates directory still needed or garbage?

Not needed anymore, and haven will check to see if the jobs are created, so you don't need any logic in the script.




Benjamin

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Thanks,

Jason

----------------------------------------------------------
Jason van Zyl
Founder,  Apache Maven
jason at sonatype dot com
----------------------------------------------------------

You are never dedicated to something you have complete confidence in.
No one is fanatically shouting that the sun is going to rise tomorrow.
They know it is going to rise tomorrow. When people are fanatically
dedicated to political or religious faiths or any other kind of
dogmas or goals, it's always because these dogmas or
goals are in doubt.

  -- Robert Pirzig, Zen and the Art of Motorcycle Maintenance


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to