Amazing, but this is required to build batch classpaths on Windows
authorcantor <cantor@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Wed, 28 Apr 2004 17:30:49 +0000 (17:30 +0000)
committercantor <cantor@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Wed, 28 Apr 2004 17:30:49 +0000 (17:30 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@1032 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

cpappend.bat [new file with mode: 0644]

diff --git a/cpappend.bat b/cpappend.bat
new file mode 100644 (file)
index 0000000..c0f2a00
--- /dev/null
@@ -0,0 +1,19 @@
+rem ---------------------------------------------------------------------------\r
+rem Append to CLASSPATH\r
+rem\r
+rem $Id: cpappend.bat,v 1.3 2002/08/04 18:19:43 patrickl Exp $\r
+rem ---------------------------------------------------------------------------\r
+\r
+rem Process the first argument\r
+if ""%1"" == """" goto end\r
+set LOCALCLASSPATH=%LOCALCLASSPATH%;%1\r
+shift\r
+\r
+rem Process the remaining arguments\r
+:setArgs\r
+if ""%1"" == """" goto doneSetArgs\r
+set LOCALCLASSPATH=%LOCALCLASSPATH% %1\r
+shift\r
+goto setArgs\r
+:doneSetArgs\r
+:end\r