I had the same problem, here is the solution.
This is the snippet from CompilationMojoSupport.groovy (jspc-2.0-alpha-3)
// Setup defaults (complex, can't init from expression)
if (!sources) {
sources = new FileSet()
sources.directory =
Thanks for the reply, Matt. The warSourceDirectory is an existing one and
also tried replacing the with ${basedir}/. It din't help - still facing the
same issue. This occurs only in 2.0 version of plugin for compilation
using tomact6. It works fine with 1.0 version. Pl. let know if you have
Have you also tried refactoring the path for the webXML entry?
-Original Message-
From: S.Murali [mailto:[EMAIL PROTECTED]
Sent: 17 December 2007 10:58
To: users@maven.apache.org
Subject: RE: Issue with jspc-maven-plugin - specifying uriroot
Thanks for the reply, Matt
I have now bit more detail as what the exact problem is :
when I run a mvn -X , the jscp args is printing wrong directory for
-uriroot.
[DEBUG] Jscp args: [-uriroot,
/home/myuser1/codebase/sandbox/teams/team1/dev3/mymodule/src/main/webapp,
-d,
This is due the fact that I am having a
Hi Murali,
I think that this is a problem relating to the warSourceDirectory:
- Have you checked that the warSourceDirectory is an existing
directory?
- I also read somewhere that you also might have to specify the
warSourceDirectory starting with ${basedir}/
Please let me know if either of