Only in Facelets: bin
diff -crB Facelets/build.xml /home/ghu/downloads/facelets/facelets-1.1.15/build.xml
*** Facelets/build.xml	2010-11-22 12:23:26.000000000 -0600
--- /home/ghu/downloads/facelets/facelets-1.1.15/build.xml	2007-06-03 17:50:26.000000000 -0500
***************
*** 26,42 ****
    <property name="http.proxy.port"     value=""/>
    <property name="ibiblio.repo"        value="http://www.ibiblio.org/maven/"/>
    <property name="java.net.repo"       value="http://download.java.net/maven/1/"/>
-   
    <property name="jsf.api.version"     value="1.2_04-p02"/>
    <property name="servlet.api.version" value="2.4"/>
    <property name="el.version"          value="1.0"/>
-   <property name="jboss-vfs.version"   value="2.2.0.GA" />
-   <property name="jboss.vfs.repo"      value="http://repository.jboss.org/maven2-brew/org/jboss/jboss-vfs/${jboss-vfs.version}/" />
    <property name="jsf-api.jar"         value="jsf-api-${jsf.api.version}.jar"/>
    <property name="el-api.jar"          value="el-api-${el.version}.jar"/>
    <property name="el-ri.jar"           value="el-impl-${el.version}.jar"/>
    <property name="servlet-api.jar"     value="servlet-api-${servlet.api.version}.jar"/>
-   <property name="jboss-vfs.jar"       value="jboss-vfs-${jboss-vfs.version}.jar" />
  
  
    <path id="compile.classpath">
--- 26,38 ----
***************
*** 271,281 ****
               <available file="${lib}/${servlet-api.jar}"/>
           </not>
       </condition>
-   	<condition property="missing.jboss-vfs">
-   	         <not>
-   	             <available file="${lib}/${jboss-vfs.jar}"/>
-   	         </not>
-   	     </condition>
       <condition property="set.proxy">
           <and>
              <length string="${http.proxy.host}" when="greater" length="0"/>
--- 267,272 ----
***************
*** 287,293 ****
       <ant target="-auto-depend-el-ri" />
       <ant target="-auto-depend-jsf-api" />
       <ant target="-auto-depend-servlet-api" />
-   	<ant target="-auto-depend-jboss-vfs" />
    </target>
  
    <target name="-set-proxy" if="set.proxy">
--- 278,283 ----
***************
*** 310,319 ****
    <target name="-auto-depend-servlet-api" if="missing.servlet-api">
        <ant target="depend-servlet-api"/>
    </target>
- 	
- 	 <target name="-auto-depend-jboss-vfs" if="missing.jboss-vfs">
- 	      <ant target="depend-jboss-vfs"/>
- 	  </target>
  
    <target name="depend-servlet-api">
        <get src="${ibiblio.repo}/javax.servlet/jars/${servlet-api.jar}"
--- 300,305 ----
***************
*** 334,344 ****
    	<get src="${java.net.repo}/el-impl/jars/${el-ri.jar}"
           dest="${lib}/${el-ri.jar}"/>
    </target>
- 	
- 	<target name="depend-jboss-vfs">
- 	  	<get src="${jboss.vfs.repo}${jboss-vfs.jar}"
- 	         dest="${lib}/${jboss-vfs.jar}"/>
- 	  </target>
  
  <target name="push-to-maven-prepare">
    <taskdef resource="maven-repository-importer.properties">
--- 320,325 ----
Only in Facelets: .classpath
diff -crB Facelets/src/java/com/sun/facelets/util/Classpath.java /home/ghu/downloads/facelets/facelets-1.1.15/src/java/com/sun/facelets/util/Classpath.java
*** Facelets/src/java/com/sun/facelets/util/Classpath.java	2010-11-22 12:37:59.000000000 -0600
--- /home/ghu/downloads/facelets/facelets-1.1.15/src/java/com/sun/facelets/util/Classpath.java	2008-06-02 22:20:14.000000000 -0500
***************
*** 37,55 ****
   * @version $Id: Classpath.java,v 1.9 2008/06/03 03:20:14 youngm Exp $
   */
  public final class Classpath {
! 	
! 	/*******************************************************************************/
! 	//this is part of the fix for JBAS-8583
! 	private static boolean isVFSPresent;
! 
! 	   static {
! 	      try {
! 	         Classpath.class.getClassLoader().loadClass("org.jboss.virtual.VFS");
! 	         isVFSPresent = true;
! 	      } catch (Throwable ignored) {
! 	      }
! 	   }
!     /*******************************************************************************/
  	/**
  	 * 
  	 */
--- 37,43 ----
   * @version $Id: Classpath.java,v 1.9 2008/06/03 03:20:14 youngm Exp $
   */
  public final class Classpath {
! 
  	/**
  	 * 
  	 */
***************
*** 61,74 ****
          return search(Thread.currentThread().getContextClassLoader(), prefix,
                  suffix);
  	}
! 	
! 	//this method is part of the fix for JBAS-8583
  	public static URL[] search(ClassLoader cl, String prefix, String suffix) throws IOException {
- 	      return isVFSPresent ? VFSClasspath.search(cl, prefix, suffix) : doSearch(cl, prefix, suffix);
- 	}
- 	
- 	//this method is part of fix for JBAS-8583 the original signature before the fix was: public static URL[] search(ClassLoader cl, String prefix, String suffix) throws IOException
- 	private static URL[] doSearch(ClassLoader cl, String prefix, String suffix) throws IOException {
  		Enumeration[] e = new Enumeration[] {
  				cl.getResources(prefix),
  				cl.getResources(prefix + "MANIFEST.MF")
--- 49,56 ----
          return search(Thread.currentThread().getContextClassLoader(), prefix,
                  suffix);
  	}
! 
  	public static URL[] search(ClassLoader cl, String prefix, String suffix) throws IOException {
  		Enumeration[] e = new Enumeration[] {
  				cl.getResources(prefix),
  				cl.getResources(prefix + "MANIFEST.MF")
***************
*** 254,260 ****
  			}
  		}
  	}
-     
-     
  
  }
--- 236,240 ----
Only in Facelets/src/java/com/sun/facelets/util: VFSClasspath.java
