<span class="Apple-style-span" style="border-collapse: collapse; "><div>I thought I&#39;d share my infinispan start script for win32 platforms.  </div><div><br></div><div>Is it worthy of committing? This is my first open-source contribution; just wanted to help.</div>
<div><br></div><div>Kind regards</div><div><br></div><div><br></div><div><div><div>SETLOCAL ENABLEDELAYEDEXPANSION</div><div>@echo off</div><div>rem set JAVA_HOME=&quot;C:\Program Files\Java\jre1.5.0_06&quot;</div><div>rem set PATH=%JAVA_HOME%\bin;%PATH%</div>
<div>if not exist bin (cd .. )</div><div>set INFINISPAN_HOME=%CD%</div><div>set CP=&quot;%INFINISPAN_HOME%\etc&quot;</div><div>set JVM_PARAMS=&quot;-Djava.net.preferIPv4Stack=true -Dlog4j.configuration=%INFINISPAN_HOME%\etc\log4j.xml&quot;</div>
<div><br></div><div>set module=core</div><div>for /F &quot;tokens=* delims=\&quot; %%a in (&#39;dir /S /B /AA %INFINISPAN_HOME%\modules\%module%\*.jar&#39;) do set CP=%%a;!CP!</div><div><br></div><div>set module=gui-demo</div>
<div>for /F &quot;tokens=* delims=\&quot; %%a in (&#39;dir /S /B /AA %INFINISPAN_HOME%\modules\%module%\*.jar&#39;) do set CP=%%a;!CP!</div><div><br></div><div>java -cp %CP% %JVM_PARAMS% org.infinispan.demo.InfinispanDemo</div>
</div></div></span>