nmukhi      2003/01/22 11:20:33

  Modified:    java     build.xml classpath.bat
  Added:       java     lcp.bat
  Log:
  Added lcp.bat script (used by classpath.bat). This script previously resided
  under lib/ant (which we have now emptied).
  Changed build.xml so user warnings about missing JARs point user to
  lib/README.html instead of lib sub directories.
  Changed classpath.bat to set up classpath based on new lib structure.
  
  Revision  Changes    Path
  1.28      +7 -7      xml-axis-wsif/java/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/xml-axis-wsif/java/build.xml,v
  retrieving revision 1.27
  retrieving revision 1.28
  diff -u -r1.27 -r1.28
  --- build.xml 22 Jan 2003 17:01:22 -0000      1.27
  +++ build.xml 22 Jan 2003 19:20:33 -0000      1.28
  @@ -127,31 +127,31 @@
     </target>
   
     <target name="checkSoapRMI" unless="soaprmi.present">
  -    <echo message="Warning: SoapRMI dependencies were not resolved (see 
lib/soaprmi11 on how to required jar files)."/>
  +    <echo message="Warning: SoapRMI dependencies were not resolved (see 
lib/README.html on how to required jar files)."/>
     </target>
   
     <target name="checkJMS" unless="jms.present">
  -    <echo message="Warning: JMS dependencies were not resolved (see lib/jms_api on 
how to required jar files)."/>
  +    <echo message="Warning: JMS dependencies were not resolved (see lib/README.html 
on how to required jar files)."/>
     </target>
   
     <target name="checkEJB" unless="ejb.present">
  -    <echo message="Warning: EJB dependencies were not resolved (see lib/j2ee on how 
to download required jar files)."/>
  +    <echo message="Warning: EJB dependencies were not resolved (see lib/README.html 
on how to download required jar files)."/>
     </target>
   
     <target name="checkApacheSOAP" unless="apachesoap.present">
  -    <echo message="Warning: ApacheSOAP dependencies were not resolved (see 
lib/apache_soap on how to required jar files)."/>
  +    <echo message="Warning: ApacheSOAP dependencies were not resolved (see 
lib/README.html on how to required jar files)."/>
     </target>
   
     <target name="checkApacheAxis" unless="apacheaxis.present">
  -    <echo message="Warning: ApacheAXIS dependencies were not resolved (see lib/axis 
on how to required jar files)."/>
  +    <echo message="Warning: ApacheAXIS dependencies were not resolved (see 
lib/README.html on how to required jar files)."/>
     </target>
     
     <target name="checkJ2C" unless="j2c.present">
  -    <echo message="Warning: J2C dependencies were not resolved (see lib/j2ee on how 
to download required jar files)."/>
  +    <echo message="Warning: J2C dependencies were not resolved (see lib/README.html 
on how to download required jar files)."/>
     </target>
   
     <target name="checkJUnit" unless="junit.present">
  -    <echo message="Warning: JUnit dependencies were not resolved (see lib/junit on 
how to download required jar files)."/>
  +    <echo message="Warning: JUnit dependencies were not resolved (see 
lib/README.html on how to download required jar files)."/>
     </target>
   
     <target name="checkDependencies" depends="prepare" unless="javac.notRequired">
  
  
  
  1.4       +19 -18    xml-axis-wsif/java/classpath.bat
  
  Index: classpath.bat
  ===================================================================
  RCS file: /home/cvs/xml-axis-wsif/java/classpath.bat,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- classpath.bat     12 Dec 2002 04:39:54 -0000      1.3
  +++ classpath.bat     22 Jan 2003 19:20:33 -0000      1.4
  @@ -11,28 +11,29 @@
   rem written by Aleksander Slominski [http://www.extreme.indiana.edu/~aslom]
   
   set LOCALCLASSPATH=
  -for %%i in (lib\junit\*.jar) do call lib\ant\lcp.bat %%i
  -for %%i in (lib\wsdl4j\*.jar) do call lib\ant\lcp.bat %%i
  +rem changes below made by Nirmal Mukhi, resulting from new lib directory structure
  +rem for %%i in (lib\junit\*.jar) do call lcp.bat %%i
  +rem for %%i in (lib\wsdl4j\*.jar) do call lcp.bat %%i
   
  -for %%i in (lib\log4j\*.jar) do call lib\ant\lcp.bat %%i
  -for %%i in (lib\xerces2\*.jar) do call lib\ant\lcp.bat %%i
  +rem for %%i in (lib\log4j\*.jar) do call lcp.bat %%i
  +rem for %%i in (lib\xerces2\*.jar) do call lcp.bat %%i
   
  -for %%i in (lib\jms_api\*.jar) do call lib\ant\lcp.bat %%i
  +rem for %%i in (lib\jms_api\*.jar) do call lcp.bat %%i
   
  -for %%i in (lib\j2ee\*.jar) do call lib\ant\lcp.bat %%i
  +rem for %%i in (lib\j2ee\*.jar) do call lcp.bat %%i
   
  -for %%i in (lib\apache_soap\*.jar) do call lib\ant\lcp.bat %%i
  -for %%i in (lib\javamail\*.jar) do call lib\ant\lcp.bat %%i
  -for %%i in (lib\activation\*.jar) do call lib\ant\lcp.bat %%i
  +rem for %%i in (lib\apache_soap\*.jar) do call lcp.bat %%i
  +rem for %%i in (lib\javamail\*.jar) do call lcp.bat %%i
  +rem for %%i in (lib\activation\*.jar) do call lcp.bat %%i
   
  -for %%i in (lib\axis\*.jar) do call lib\ant\lcp.bat %%i
  -for %%i in (lib\commons_discovery\*.jar) do call lib\ant\lcp.bat %%i
  -for %%i in (lib\commons_logging\*.jar) do call lib\ant\lcp.bat %%i
  -for %%i in (lib\jaxrpc\*.jar) do call lib\ant\lcp.bat %%i
  -for %%i in (lib\saaj\*.jar) do call lib\ant\lcp.bat %%i
  -
  -for %%i in (lib\soaprmi11\*.jar) do call lib\ant\lcp.bat %%i
  +rem for %%i in (lib\axis\*.jar) do call lcp.bat %%i
  +rem for %%i in (lib\commons_discovery\*.jar) do call lcp.bat %%i
  +rem for %%i in (lib\commons_logging\*.jar) do call lcp.bat %%i
  +rem for %%i in (lib\jaxrpc\*.jar) do call lcp.bat %%i
  +rem for %%i in (lib\saaj\*.jar) do call lcp.bat %%i
   
  +rem for %%i in (lib\soaprmi11\*.jar) do call lcp.bat %%i
  +for %%i in (lib\*.jar) do call lcp.bat %%i
   
   if "%1" == "build" goto build_classpath
   if "%1" == "run" goto run_classpath
  @@ -65,7 +66,7 @@
   
   REM ------------------------
   :build_classpath
  -for %%i in (lib\ant\*.jar) do call lib\ant\lcp.bat %%i
  +rem for %%i in (lib\ant\*.jar) do call lcp.bat %%i
   if exist %JAVA_HOME%\lib\tools.jar set 
LOCALCLASSPATH=%LOCALCLASSPATH%;%JAVA_HOME%\lib\tools.jar
   
   goto extra_args
  @@ -75,7 +76,7 @@
   :run_classpath
   REM set 
LOCALCLASSPATH=build\api;build\classes;build\samples;build\tests;%LOCALCLASSPATH%
   set LOCALCLASSPATH=build\classes;build\samples;build\tests;%LOCALCLASSPATH%
  -for %%i in (build\lib\*.jar) do call lib\ant\lcp.bat %%i
  +for %%i in (build\lib\*.jar) do call lcp.bat %%i
   
   
   :extra_args
  
  
  
  1.1                  xml-axis-wsif/java/lcp.bat
  
  Index: lcp.bat
  ===================================================================
  set _CLASSPATHCOMPONENT=%1
  :argCheck
  if %2a==a goto gotAllArgs
  shift
  set _CLASSPATHCOMPONENT=%_CLASSPATHCOMPONENT% %1
  goto argCheck
  :gotAllArgs
  set LOCALCLASSPATH=%_CLASSPATHCOMPONENT%;%LOCALCLASSPATH%
  
  
  
  


Reply via email to