From: Adrian B. <adr...@jb...> - 2005-06-30 23:05:15
|
User: adrian Date: 05/06/30 19:04:30 Modified: src/main/org/jboss/ejb EJBDeployer.java Log: [JBAS-1877] - Dont deploy not.ajar as ejbs. Revision Changes Path 1.65 +2 -2 jboss/src/main/org/jboss/ejb/EJBDeployer.java (In the diff below, changes in quantity of whitespace are not shown.) Index: EJBDeployer.java =================================================================== RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/ejb/EJBDeployer.java,v retrieving revision 1.64 retrieving revision 1.65 diff -u -b -r1.64 -r1.65 --- EJBDeployer.java 23 Jun 2005 09:48:15 -0000 1.64 +++ EJBDeployer.java 30 Jun 2005 23:04:30 -0000 1.65 @@ -48,7 +48,7 @@ * * @see Container * - * @version <tt>$Revision: 1.64 $</tt> + * @version <tt>$Revision: 1.65 $</tt> * @author <a href="mailto:ric...@te...">Rickard Ãberg</a> * @author <a href="mailto:mar...@te...">Marc Fleury</a> * @author <a href="mailto:jpl...@he...">Juha Lindfors</a> @@ -378,7 +378,7 @@ { // To be accepted the deployment's root name must end in jar String urlStr = di.url.getFile(); - if( !urlStr.endsWith("jar") && !urlStr.endsWith("jar/") ) + if( !urlStr.endsWith(".jar") && !urlStr.endsWith(".jar/") ) { return false; } |