From: David J. <d_j...@us...> - 2002-06-28 20:10:05
|
User: d_jencks Date: 02/06/28 13:10:05 Modified: src/main/org/jboss Tag: Branch_3_0 Main.java Log: Added newest xerces parser and updated jar names in main to expect the new names with -j xerces flag Revision Changes Path No revision No revision 1.8.2.2 +5 -5 jboss-system/src/main/org/jboss/Main.java Index: Main.java =================================================================== RCS file: /cvsroot/jboss/jboss-system/src/main/org/jboss/Main.java,v retrieving revision 1.8.2.1 retrieving revision 1.8.2.2 diff -u -r1.8.2.1 -r1.8.2.2 --- Main.java 21 Apr 2002 14:27:02 -0000 1.8.2.1 +++ Main.java 28 Jun 2002 20:10:05 -0000 1.8.2.2 @@ -48,12 +48,12 @@ * @author <a href="mailto:mar...@jb...">Marc Fleury</a> * @author <a href="mailto:ja...@pl...">Jason Dillon</a> * @author <a href="mailto:adr...@ha...">Adrian Brock</a> - * @version $Revision: 1.8.2.1 $ + * @version $Revision: 1.8.2.2 $ */ public class Main { /** The JAXP library to use. */ - private String jaxpLib = "crimson.jar"; + private String jaxpLibs = "crimson.jar"; /** The JMX library to use. */ private String jmxLib = "jboss-jmx.jar"; @@ -114,7 +114,7 @@ ServerLoader loader = new ServerLoader(props); // Add JAXP and JMX libs - loader.addLibrary(jaxpLib); + loader.addLibraries(jaxpLibs); loader.addLibrary(jmxLib); // jmx UnifiedLoaderRepository needs a concurrent class... loader.addLibrary(concurrentLib); @@ -282,13 +282,13 @@ { domFactoryType = "org.apache.crimson.jaxp.DocumentBuilderFactoryImpl"; saxFactoryType = "org.apache.crimson.jaxp.SAXParserFactoryImpl"; - jaxpLib = "crimson.jar"; + jaxpLibs = "crimson.jar"; } else if (arg.equals("xerces")) { domFactoryType = "org.apache.xerces.jaxp.DocumentBuilderFactoryImpl"; saxFactoryType = "org.apache.xerces.jaxp.SAXParserFactoryImpl"; - jaxpLib = "xerces.jar"; + jaxpLibs = "xmlParserAPIs.jar,xercesImpl.jar,xml-apis"; } else { |