Package org.apache.myfaces.config.FacesConfigurator

Examples of org.apache.myfaces.config.FacesConfigurator.Version


        l.add(testJar(pattern, "jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/webapps/ProjetBidonJSF/WEB-INF/lib/commons-beanutils-1.7.0.6.jar!/META-INF/MANIFEST.MF"));
        l.add(testJar(pattern, "jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/webapps/ProjetBidonJSF/WEB-INF/lib/commons-beanutils-1.7.0-SNAPSHOT.jar!/META-INF/MANIFEST.MF"));
        l.add(testJar(pattern, "jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/webapps/ProjetBidonJSF/WEB-INF/lib/tomahawk12-1.1.10-SNAPSHOT.jar!/META-INF/MANIFEST.MF"));
        l.add(testJar(pattern, "jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/webapps/ProjetBidonJSF/WEB-INF/lib/tomahawk-sandbox12-1.1.10.jar!/META-INF/MANIFEST.MF"));
       
        assertEquals(new Version("3", null, null, null, null), l.get(0) );
        assertEquals(new Version("1", "3", null, null, null), l.get(1) );
        assertEquals(new Version("1", "7", "0", null, null), l.get(2) );
        assertEquals(new Version("1", "7", "0", "6", null), l.get(3) );
        assertEquals(new Version("1", "7", "0", null, "SNAPSHOT"), l.get(4) );
        assertEquals(new Version("1", "1", "10", null, "SNAPSHOT"), l.get(5) );
        assertEquals(new Version("1", "1", "10", null, null), l.get(6) );

        Collections.sort(l);
    }
View Full Code Here


    {
        Matcher matcher = pattern.matcher(libName);
       
        if (matcher.matches())
        {
            Version version = new Version(matcher.group(8), matcher.group(10), matcher.group(12), matcher.group(14),
                    matcher.group(15));
            return version;
        }
       
        return null;
View Full Code Here

TOP

Related Classes of org.apache.myfaces.config.FacesConfigurator.Version

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.