2009/12/24  <[email protected]>:
> Author: markt
> Date: Thu Dec 24 11:14:46 2009
> New Revision: 893731
>
> URL: http://svn.apache.org/viewvc?rev=893731&view=rev
> Log:
> Move JAR scanning into a new JAR used by both Catalina and Jasper
>

> +++ tomcat/trunk/java/org/apache/tomcat/util/scan/DefaultJarScanner.java Thu 
> Dec 24 11:14:46 2009
> @@ -15,7 +15,7 @@
>  *  limitations under the License.
>  */
>
> -package org.apache.catalina.startup;
> +package org.apache.tomcat.util.scan;
>
>(...)
>
> +import org.apache.catalina.startup.Constants;
>  import org.apache.juli.logging.Log;
>  import org.apache.juli.logging.LogFactory;
>  import org.apache.tomcat.JarScanner;
> @@ -48,8 +49,6 @@
>  *       (disabled by default)</li>
>  * </ul>
>  * All of the extensions may be controlled via configuration.
> - *
> - * Keep in sync with org.apache.jasper.compiler.InternalJarScanner
>  */
>  public class DefaultJarScanner implements JarScanner {
>
>


> +import org.apache.catalina.startup.Constants;

Dependency on Catalina.

    /**
     * The string resources for this package.
     */
    private static final StringManager sm =
        StringManager.getManager(Constants.Package);

The string resources used by DefaultJarScanner  have to be moved to
the new package as well.

Maybe you already have that in mind. It is just a reminder.

Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to