  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Tomcat - JSP/Servlet container | | Struts - A MVC web framework | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | JSP - A mailing list about Java Server Pages specification and reference | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | |
Struts & Hibernate
|
|
|
  | | | error: The <jspc > task doesn 't support the "srcdir " attribute | error: The <jspc > task doesn 't support the "srcdir " attribute 2007-08-02 - By Shaikh, Saleem (Saleem)
Back Hi There,
I am trying to use ant task <jspc> to precompile my jsp along with my application build to check if there is any jsp problems that show up.
But I always get this error as below:
<stacktrace><![CDATA[file:C:/work/checkout/esp/buildmyproject.xml:54: The <jspc> task doesn't support the "srcdir" attribute.
at org.apache.tools.ant.IntrospectionHelper.setAttribute(IntrospectionHelpe r.java:422)
at org.apache.tools.ant.ProjectHelper.configure(ProjectHelper.java:306)
at org.apache.tools.ant.RuntimeConfigurable.maybeConfigure(RuntimeConfigura ble.java:242)
at org.apache.tools.ant.RuntimeConfigurable.maybeConfigure(RuntimeConfigura ble.java:211)
at org.apache.tools.ant.Task.maybeConfigure(Task.java:259)
at org.apache.tools.ant.Task.perform(Task.java:340)
at org.apache.tools.ant.Target.execute(Target.java:309)
at org.apache.tools.ant.Target.performTasks(Target.java:336)
at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
at org.apache.tools.ant.Main.runBuild(Main.java:609)
at org.apache.tools.ant.Main.start(Main.java:196)
at org.apache.tools.ant.Main.main(Main.java:235)]]></stacktrace>
</build>
</cruisecontrol>
Seems the "srcdir" attribute is not getting recognized by the jasper at all.
I am using jasper library files from Tomcat-4 (See http://cat-4.ora-code.com).1.36 of Apache. All my classpath are well set too as I have tried with different approaches.
Please let me know the resolution for this, if any.
Thanks,
Saleem
|
|
 |