src/main/java/org/jboss/loom/utils/UtilsAS5.java
public static File findJarFileWithClass( String className, String dirAS5, String profileAS5 ) throws FileNotFoundException, IOException {
        
        File jar = ClassUtils.lookForJarWithClass( className, 
                Utils.createPath( dirAS5, "server", profileAS5, "lib" ),
                Utils.createPath( dirAS5, "common/lib" ));
        if( jar != null )
            return jar;
        throw new FileNotFoundException( "Cannot find jar file which contains class: " + className );
    }
/**
     * Utils class for finding name of jar file containing class from logging configuration.
     *
     * @param className  name of the class which must be found
     * @param dirAS5     AS5 home dir
     * @param profileAS5 name of AS5 profile
     * @return name of jar file which contains given class
     * @throws FileNotFoundException if the jar file is not found
     *     <p/>
     *     TODO: This would cause false positives - e.g. class = org.Foo triggered by org/Foo/Blah.class .
     */
Utils class for finding name of jar file containing class from logging configuration.
Utils class for finding name of jar file containing class from logging configuration .
public static File findJarFileWithClass( String className, String dirAS5, String profileAS5 ) throws FileNotFoundException, IOException {
        File jar = ClassUtils.lookForJarWithClass( className, 
                Utils.createPath( dirAS5, "server", profileAS5, "lib" ),
                Utils.createPath( dirAS5, "common/lib" ));
        if( jar != null )
            return jar;
        throw new FileNotFoundException( "Cannot find jar file which contains class: " + className );
    }
public static File findJarFileWithClass ( String className , String dirAS5 , String profileAS5 ) throws FileNotFoundException , IOException { File jar = ClassUtils . lookForJarWithClass ( className , Utils . createPath ( dirAS5 , "server" , profileAS5 , "lib" ) , Utils . createPath ( dirAS5 , "common/lib" ) ) ; if ( jar != null ) return jar ; throw new FileNotFoundException ( "Cannot find jar file which contains class: " + className ) ; }
Utils class for finding name of jar file containing class from logging configuration.
Utils class for finding name of jar file containing class from logging configuration .