User: mnf999 Date: 02/01/29 17:50:16 Modified: src/main/org/jboss/deployment SARDeployer.java Log: Patch from David is ok, functionality lost is the capacity to deploy a flat jar with just the classes and referencing the codebase (rare case) Revision Changes Path 1.3 +1 -19 jboss/src/main/org/jboss/deployment/SARDeployer.java Index: SARDeployer.java =================================================================== RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/deployment/SARDeployer.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- SARDeployer.java 2002/01/30 00:36:53 1.2 +++ SARDeployer.java 2002/01/30 01:50:16 1.3 @@ -58,7 +58,7 @@ * @author <a href="mailto:[EMAIL PROTECTED]">Marc Fleury</a> * @author <a href="mailto:[EMAIL PROTECTED]">David Maplesden</a> * @author <a href="mailto:[EMAIL PROTECTED]">David Jencks</a> -* @version $Revision: 1.2 $ <p> +* @version $Revision: 1.3 $ <p> * * <b>20010830 marc fleury:</b> * <ul>initial import @@ -348,24 +348,6 @@ // We have an archive whatever the codebase go ahead and load the libraries else if (!archives.equals("")) { - - // We have a real codebase specified in xml - // We add it to the classpath so we load files from it (http/file will work) - if (!codebase.equals("")) - { - try - { - //XXXXXXXXXXXXXXXXXTEMP EXPERIMENT david j - // Add the codebase to the classpath - //classpath.add( new URL(codebase)); - } - catch (Exception e2) - { - log.error("Couldn't create URL for codebase "+codebase, e2); - throw new DeploymentException(e2.getMessage()); - - } - } // Still no codebase? safeguard if (codebase.equals("")) codebase = System.getProperty("jboss.system.libraryDirectory");
_______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development