1234567891011121314151617181920212223242526272829303132333435363738 |
- @echo off
- rem Licensed Materials - Property of IBM
- rem
- rem BI and PM: CM
- rem
- rem (C) Copyright IBM Corp. 2008, 2006
- rem
- rem US Government Users Restricted Rights - Use, duplication or disclosure
- rem restricted by GSA ADP Schedule Contract with IBM Corp.
- set HERE=%CD%
- set LOGFILENAME=CMRequests.xml
- if not "%JAVA_HOME%" == "" goto javahomeset
- set JAVA_HOME="%HERE%\..\..\..\jre"
- :javahomeset
- set P2PD_WEBINF="%HERE%\..\..\P2PD\WEB-INF"
- if not exist %P2PD_WEBINF% goto nop2pwebinf
- set LOGDIR="%HERE%\..\..\..\logs"
- set CP="%JAVA_HOME%\lib\tools.jar;%P2PD_WEBINF%\lib\xerces.jar;%P2PD_WEBINF%\lib\jdxslt.jar"
- copy /b BEGINTAG+%LOGDIR%\%LOGFILENAME%+ENDTAG CMRequests.xml
- %JAVA_HOME%\bin\java -classpath %CP% java jd.xml.xslt.Stylesheet -out Requests.xml CMRequests.xml FixupRequestLog.xsl
- erase CMRequests.xml
- goto done
- :nop2pwebinf
- echo Unable to locate the P2PD web-inf directory %P2PD_WEBINF%
- goto done
- :done
|