Package net.sf.jsptest.utils

Examples of net.sf.jsptest.utils.Path


        assertTrue("Failed to compile .java file to " + classFile.getAbsolutePath(), classFile
                .exists());
    }

    private String[] getClassPath() {
        Path cp = new Path();
        cp.addSystemProperty("java.class.path");
        cp.addContainer(javax.servlet.jsp.tagext.JspTag.class);
        cp.addContainer(javax.servlet.jsp.jstl.core.LoopTag.class);
        cp.addContainer(javax.servlet.http.HttpServlet.class);
        cp.addContainer(org.apache.taglibs.standard.Version.class);
        cp.addContainer(org.apache.jasper.JspC.class);
        cp.addContainer(org.apache.jasper.compiler.Compiler.class);
        cp.addContainer(org.apache.jasper.runtime.HttpJspBase.class);
        cp.add(new File("target", "test-classes").getAbsolutePath());
        cp.add(new File("target", "classes").getAbsolutePath());
        return cp.toStringArray();
    }
View Full Code Here

TOP

Related Classes of net.sf.jsptest.utils.Path

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.