larryi 01/03/05 09:38:47
Modified: src/share/org/apache/tomcat/startup Main.java
Log:
Remove use of "tomcat.cp" system property which has been replaced
by "org.apache.tomcat.apps.classpath" and
"org.apache.tomcat.common.classpath" system properties.
Submitted by: William Barker
Revision Changes Path
1.29 +2 -15 jakarta-tomcat/src/share/org/apache/tomcat/startup/Main.java
Index: Main.java
===================================================================
RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/startup/Main.java,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- Main.java 2001/03/04 22:38:14 1.28
+++ Main.java 2001/03/05 17:38:44 1.29
@@ -1,4 +1,4 @@
-/* $Id: Main.java,v 1.28 2001/03/04 22:38:14 melaquias Exp $
+/* $Id: Main.java,v 1.29 2001/03/05 17:38:44 larryi Exp $
* ====================================================================
*
* The Apache Software License, Version 1.1
@@ -107,7 +107,7 @@
@author Costin Manolache
@author Ignacio J. Ortega
@author Mel Martinez [EMAIL PROTECTED]
- @version $Revision: 1.28 $ $Date: 2001/03/04 22:38:14 $
+ @version $Revision: 1.29 $ $Date: 2001/03/05 17:38:44 $
*/
public class Main{
@@ -428,19 +428,6 @@
urlV.addElement( getURL( p0 , cpComp[i] ));
}
}
- // add CLASSPATH
- String cpath=System.getProperty( "tomcat.cp");
- if( cpath!=null ) {
- System.out.println("Extra CLASSPATH: " + cpath);
- String pathSep=System.getProperty( "path.separator");
- StringTokenizer st=new StringTokenizer( cpath, pathSep );
- while( st.hasMoreTokens() ) {
- String path=st.nextToken();
- urlV.addElement( getURL( path, "" ));
- }
- }
-
-
}catch(Exception ex){
ex.printStackTrace();
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]