I don't think that it has any trouble finding tools.jar either.
When I was seeing the problem on my windows virtual machine, if I
removed a subset of jsps from the webapp diretcory, it worked fine...
it was able to find tools.jar and compile everything.
I think JAVA_HOME and tools.jar errors are a red herring... and that
the real error is still hidden somewhere under the covers.
--jason
On Aug 28, 2006, at 1:31 PM, Jeff Genender wrote:
Yep...let me get a vote started on Mojo to release 1.4.5. I mentioned
the JAVA_HOME thing because the error is related to jspc not being
able
to find the tools.jar file. Issues regarding that has been having a
proper JAVA_HOME. That was only a hint as I have said, I cannot
reproduce the problem at all.
Jeff
Joe Bohn wrote:
Jeff,
Are you still planning to publish the 1.4.5 jspc plugin? I'm still
having a number of problems (and they keep changing with the
movement of
things) but I get further with this 1.4.5-SNAPSHOT than I do
without it.
There are several people in this same scenario (pretty much all
windows users that I know of and a few on other platforms).
I also agree with Jason that this seems to have nothing to do with
JAVA_HOME. I haven't seen a situation yet where this isn't set
correctly and if it were incorrect I'd expect more severe errors
prior
to this.
Joe
Jeff Genender wrote:
I just ran 1.4.4 *and* 1.4.5-SNAPSHOT jspc on Fedora Core 4...no
errors...using Sun Java 1.4.2_10-b03 and 1.5.0_06-b05 (on certain
web
apps only for testing the compile).
I ran it on Windows XP SP2 and MacOSX 10.4.7...no errors.
I cannot reproduce at this time. The only things I could possibly
mention is be sure your JAVA_HOME is properly set...
I would be happy to fix this if I can reproduce :/
Jeff
Jason Dillon wrote:
I'm still baffled why this works on some systems and why it
fails on
others...
But, I'm giving up... I've spent way to much time on this.
It looks like using 1.4.5-SNAPSHOT causes the build that I
finally got
to fail on windows to pass...
I have no idea why the openejb2 tests fail on windows either...
but as
Dain suggested... just add getName() to that class and be done
with it.
--jason
On Aug 25, 2006, at 10:47 AM, Jeff Genender wrote:
Add it to your web app pom. use version 5.5.15.
Jeff
Rick McGuire wrote:
Jeff Genender wrote:
And what happens when you use 1.4.4 and you add the
jasper-compiler-jdt
as a dependency to the pom?
I'm sorry, I not sure I understood that last bit. Where do I
add the
jasper-compiler-jdt (and which version?).
Rick
Jeff
Rick McGuire wrote:
Jeff Genender wrote:
Are you using 1.4.5-SNAPSHOT? I do not see your tools.jar
in your
classpath. Please delete your
~/.m2/reporitory/org/codehaus/mojo/jspc-maven-plugin
directory and
try
again.
Same result. Only the 1.4.5-SNAPSHOT is in the jspc-maven-
plugin
directory after completion.
Rick
Jeff
Rick McGuire wrote:
Added as an attachment, since Thunderbird's choking on the
cut and
paste
for some reason. I'm not sure there's anything useful in the
additional
detail.
Rick