luehe 2003/08/12 12:11:45 Modified: jasper2/src/share/org/apache/jasper JspC.java jasper2/src/share/org/apache/jasper/resources messages.properties Log: Added -classpath option to JspC Revision Changes Path 1.55 +6 -3 jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/JspC.java Index: JspC.java =================================================================== RCS file: /home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/JspC.java,v retrieving revision 1.54 retrieving revision 1.55 diff -u -r1.54 -r1.55 --- JspC.java 12 Aug 2003 18:36:46 -0000 1.54 +++ JspC.java 12 Aug 2003 19:11:45 -0000 1.55 @@ -148,6 +148,7 @@ private static final String SWITCH_WEBAPP_XML = "-webxml"; private static final String SWITCH_MAPPED = "-mapped"; private static final String SWITCH_XPOWERED_BY = "-xpoweredBy"; + private static final String SWITCH_CLASSPATH = "-classpath"; private static final String SWITCH_DIE = "-die"; private static final String SHOW_SUCCESS ="-s"; private static final String LIST_ERRORS = "-l"; @@ -288,6 +289,8 @@ mappedFile = true; } else if (tok.equals(SWITCH_XPOWERED_BY)) { xpoweredBy = true; + } else if (tok.equals(SWITCH_CLASSPATH)) { + setClassPath(nextArg()); } else if (tok.startsWith(SWITCH_DIE)) { try { dieLevel = Integer.parseInt( 1.129 +2 -1 jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/resources/messages.properties Index: messages.properties =================================================================== RCS file: /home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/resources/messages.properties,v retrieving revision 1.128 retrieving revision 1.129 diff -u -r1.128 -r1.129 --- messages.properties 12 Aug 2003 18:36:46 -0000 1.128 +++ messages.properties 12 Aug 2003 19:11:45 -0000 1.129 @@ -226,6 +226,7 @@ \ -webinc <file> Creates a partial servlet mappings in the file\n\ \ -webxml <file> Creates a complete web.xml in the file\n\ \ -ieplugin <clsid> Java Plugin classid for Internet Explorer\n\ +\ -classpath <path> Overrides java.class.path system property\n\ \ -xpoweredBy Add X-Powered-By response header\n\ jspc.webxml.header=<?xml version="1.0" encoding="ISO-8859-1"?>\n\
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]