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.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
|