1*5b501c92SAndrew Ristrem ************************************************************* 2*5b501c92SAndrew Ristrem 3*5b501c92SAndrew Ristrem Licensed to the Apache Software Foundation (ASF) under one 4*5b501c92SAndrew Ristrem or more contributor license agreements. See the NOTICE file 5*5b501c92SAndrew Ristrem distributed with this work for additional information 6*5b501c92SAndrew Ristrem regarding copyright ownership. The ASF licenses this file 7*5b501c92SAndrew Ristrem to you under the Apache License, Version 2.0 (the 8*5b501c92SAndrew Ristrem "License"); you may not use this file except in compliance 9*5b501c92SAndrew Ristrem with the License. You may obtain a copy of the License at 10*5b501c92SAndrew Ristrem 11*5b501c92SAndrew Ristrem http://www.apache.org/licenses/LICENSE-2.0 12*5b501c92SAndrew Ristrem 13*5b501c92SAndrew Ristrem Unless required by applicable law or agreed to in writing, 14*5b501c92SAndrew Ristrem software distributed under the License is distributed on an 15*5b501c92SAndrew Ristrem "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*5b501c92SAndrew Ristrem KIND, either express or implied. See the License for the 17*5b501c92SAndrew Ristrem specific language governing permissions and limitations 18*5b501c92SAndrew Ristrem under the License. 19*5b501c92SAndrew Ristrem 20*5b501c92SAndrew Ristrem ************************************************************* 21cdf0e10cSrcweircall env_win.bat 22cdf0e10cSrcweir 23cdf0e10cSrcweir@echo off 24cdf0e10cSrcweirecho ============================================= 25cdf0e10cSrcweirecho step - 1 start OpenOffice 26cdf0e10cSrcweirecho ============================================= 27cdf0e10cSrcweir@echo on 28cdf0e10cSrcweir 29cdf0e10cSrcweir@echo off 30cdf0e10cSrcweirecho please start up OpenOffice with "-accept=socket,host=0,port=2002;urp;" 31cdf0e10cSrcweirpause Press Enter when finished... 32cdf0e10cSrcweir@echo on 33cdf0e10cSrcweir 34cdf0e10cSrcweir@echo off 35cdf0e10cSrcweirecho ============================================= 36cdf0e10cSrcweirecho step - 2 run the testtool class 37cdf0e10cSrcweirecho ============================================= 38cdf0e10cSrcweir@echo on 39cdf0e10cSrcweir 40cdf0e10cSrcweircp %WS_PATH%/xmlsecurity/tools/uno/current.gif ./. 41cdf0e10cSrcweirjava -classpath %WS_PATH%/xmlsecurity/%OUTPUTDIR%/class;%SO_CLASSPATHPATH%/rt.jar;%SO_CLASSPATHPATH%/java_uno.jar;%SO_CLASSPATHPATH%/jurt.jar;%SO_CLASSPATHPATH%/unoil.jar;%SO_CLASSPATHPATH%/ridl.jar;%SO_CLASSPATHPATH%/juh.jar com.sun.star.xml.security.uno.TestTool %WS_PATH%/xmlsecurity/tools/cryptoken/jks/testToken.jks "" 42cdf0e10cSrcweirrm ./current.gif 43cdf0e10cSrcweir 44