[infinispan-dev] Infinispan - runGuiDemo.bat

Manik Surtani manik at jboss.org
Mon May 4 06:03:02 EDT 2009


On 4 May 2009, at 02:59, list. rb wrote:

> I thought I'd share my infinispan start script for win32 platforms.
>
> Is it worthy of committing? This is my first open-source  
> contribution; just wanted to help.

Great - thanks!  :-)  You should add some comments at the start with  
your name as author.

>
> Kind regards
>
>
> SETLOCAL ENABLEDELAYEDEXPANSION
> @echo off
> rem set JAVA_HOME="C:\Program Files\Java\jre1.5.0_06"
> rem set PATH=%JAVA_HOME%\bin;%PATH%
> if not exist bin (cd .. )
> set INFINISPAN_HOME=%CD%
> set CP="%INFINISPAN_HOME%\etc"
> set JVM_PARAMS="-Djava.net.preferIPv4Stack=true - 
> Dlog4j.configuration=%INFINISPAN_HOME%\etc\log4j.xml"
>
> set module=core
> for /F "tokens=* delims=\" %%a in ('dir /S /B /AA %INFINISPAN_HOME% 
> \modules\%module%\*.jar') do set CP=%%a;!CP!
>
> set module=gui-demo
> for /F "tokens=* delims=\" %%a in ('dir /S /B /AA %INFINISPAN_HOME% 
> \modules\%module%\*.jar') do set CP=%%a;!CP!
>
> java -cp %CP% %JVM_PARAMS% org.infinispan.demo.InfinispanDemo
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev

--
Manik Surtani
manik at jboss.org
Lead, Infinispan
Lead, JBoss Cache
http://www.infinispan.org
http://www.jbosscache.org







More information about the infinispan-dev mailing list