User: jules_gosnell
Date: 01/12/04 17:32:26
Modified: jetty/src/main/org/jboss/jetty
JBossWebApplicationContext.java Jetty.java
Log:
temporary hacks to aid JSP compilation until Marc checks in his ScopedClassLoader
Revision Changes Path
1.9 +11 -1
contrib/jetty/src/main/org/jboss/jetty/JBossWebApplicationContext.java
Index: JBossWebApplicationContext.java
===================================================================
RCS file:
/cvsroot/jboss/contrib/jetty/src/main/org/jboss/jetty/JBossWebApplicationContext.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- JBossWebApplicationContext.java 2001/12/04 21:12:51 1.8
+++ JBossWebApplicationContext.java 2001/12/05 01:32:23 1.9
@@ -5,7 +5,7 @@
* See terms of license at gnu.org.
*/
-// $Id: JBossWebApplicationContext.java,v 1.8 2001/12/04 21:12:51 jules_gosnell Exp
$
+// $Id: JBossWebApplicationContext.java,v 1.9 2001/12/05 01:32:23 jules_gosnell Exp
$
// A Jetty HttpServer with the interface expected by JBoss'
// J2EEDeployer...
@@ -184,6 +184,16 @@
catch (Exception e)
{
_log.warn("WARNING: could not find Jasper jar", e);
+ }
+
+ try
+ {
+ String jar=findJarByResource("javax/ejb/EJBHome.class");
+ classpath+=separator+jar;
+ }
+ catch (Exception e)
+ {
+ _log.warn("WARNING: could not find J2EE jar", e);
}
_log.info("default JSP CLASSPATH:"+classpath);
1.29 +3 -3 contrib/jetty/src/main/org/jboss/jetty/Jetty.java
Index: Jetty.java
===================================================================
RCS file: /cvsroot/jboss/contrib/jetty/src/main/org/jboss/jetty/Jetty.java,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- Jetty.java 2001/12/04 21:12:51 1.28
+++ Jetty.java 2001/12/05 01:32:26 1.29
@@ -5,7 +5,7 @@
* See terms of license at gnu.org.
*/
-// $Id: Jetty.java,v 1.28 2001/12/04 21:12:51 jules_gosnell Exp $
+// $Id: Jetty.java,v 1.29 2001/12/05 01:32:26 jules_gosnell Exp $
// A Jetty HttpServer with the interface expected by JBoss'
// J2EEDeployer...
@@ -27,7 +27,7 @@
*
* @author <a href="mailto:[EMAIL PROTECTED]">Julian Gosnell</a>
* @author <a href="mailto:[EMAIL PROTECTED]">Andreas Schaefer</a>.
- * @version $Revision: 1.28 $
+ * @version $Revision: 1.29 $
*
* <p><b>Revisions:</b>
*
@@ -55,7 +55,7 @@
// resolver should be populated from a configuration file.
JettyResolver resolver=new JettyResolver(_log);
- // populate dtd resulver
+ // populate dtd resolver
URL stdWeb22=findResourceInJar("javax/servlet/resources/web-app_2_2.dtd");
resolver.put("-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN",
stdWeb22);
URL stdWeb23=findResourceInJar("javax/servlet/resources/web-app_2_3.dtd");
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development