Re: Strange build error on trunk

2006-08-28 Thread Jeff Genender
Could be. As soon as I can reproduce..I'll fix it ;-)

Jeff

Jason Dillon wrote:
> 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
>>>
>>





Re: Strange build error on trunk

2006-08-28 Thread Jason Dillon

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












Re: Strange build error on trunk

2006-08-28 Thread Jeff Genender
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
>

>>
>>
>>


Re: Strange build error on trunk

2006-08-28 Thread Joe Bohn

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










Re: Strange build error on trunk

2006-08-27 Thread Jason Dillon
I don't think this is related to JAVA_HOME at all... I think the  
error is erroneous.


When I was seeing this error, it would sometimes process a handful of  
jsp files, and then barf with that error... so it clearly can find  
Java and is able to compile some files.  But then it gets to a point  
where it pukes... and I think that the error handling might be  
lacking a tad and that the exception is leaking out to a block that  
may think it is a JAVA_HOME related problem... but I do not believe  
that is correct.  There is some other error somewhere in there that  
is getting eaten.


--jason


On Aug 27, 2006, at 1:59 PM, 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










Re: Strange build error on trunk

2006-08-27 Thread Jeff Genender
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
>>>
>>




Re: Strange build error on trunk

2006-08-25 Thread Jeff Genender
BEER - Jason - Beer! ;-)

I'll work it..and fix it...gimme till Monday...have a good weekend ;-)

Jeff

Jason Dillon wrote:
> I thought so... still trying to confirm, I reverted all of my changes to
> my winxp workspace and then just changed the jspc version and then I
> re-bootstrapped.  Which blew up with a jspc error, but nothing
> interesting in the error.  I don't have the exact message, but it was
> something like jspc failed and nothing more.
> 
> Before I was debugging and found that the welcome app would build fine
> on winxp with 1.4.4, but the geronimo-jsp-examples would not... and if I
> removed the src/main/webapp/jsp2 then it would build okay.
> 
> So, I think its a step forward... don't know why it is... but I can't
> spend any more time on this today... its making me way to upset :-\
> 
> --jason
> 
> 
> On Aug 25, 2006, at 5:01 PM, Jeff Genender wrote:
> 
>> Ok...I am trying to decode what you just said...  :)
>>
>> Please confirm 1.4.5-SNAPSHOT was a step forward..if so I will
>> concentrate on Linux...
>>
>> 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
>

>>
>>


Re: Strange build error on trunk

2006-08-25 Thread Jason Dillon
I thought so... still trying to confirm, I reverted all of my changes  
to my winxp workspace and then just changed the jspc version and then  
I re-bootstrapped.  Which blew up with a jspc error, but nothing  
interesting in the error.  I don't have the exact message, but it was  
something like jspc failed and nothing more.


Before I was debugging and found that the welcome app would build  
fine on winxp with 1.4.4, but the geronimo-jsp-examples would not...  
and if I removed the src/main/webapp/jsp2 then it would build okay.


So, I think its a step forward... don't know why it is... but I can't  
spend any more time on this today... its making me way to upset :-\


--jason


On Aug 25, 2006, at 5:01 PM, Jeff Genender wrote:


Ok...I am trying to decode what you just said...  :)

Please confirm 1.4.5-SNAPSHOT was a step forward..if so I will
concentrate on Linux...

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










Re: Strange build error on trunk

2006-08-25 Thread Jeff Genender
Ok...I am trying to decode what you just said...  :)

Please confirm 1.4.5-SNAPSHOT was a step forward..if so I will
concentrate on Linux...

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




Re: Strange build error on trunk

2006-08-25 Thread Jason Dillon
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










Re: Strange build error on trunk

2006-08-25 Thread Jason Dillon
This is very, very strange... I see this now on my windows/parallels  
instance... but not on OS X.


I dunno why this happens.

--jason


On Aug 25, 2006, at 11:59 AM, Joe Bohn wrote:


Here's what I see when building openejb2:


log4j: Finished configuring.
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:  
14.939 sec

Running org.openejb.deployment.EjbJarModuleDeploymentTest
Retrieving document at 'META-INF/wsdl/test-ejb.wsdl'.
org.apache.maven.surefire.booter.SurefireExecutionException:  
org.openejb.deployment.EjbJarModuleDeploymentTest; nested exception  
is java.lang.reflec
ThrowableException: null; nested exception is  
org.apache.maven.surefire.testset.TestSetFailedException:  
org.openejb.deployment.EjbJarModuleDeploymen

d exception is java.lang.reflect.UndeclaredThrowableException: null
org.apache.maven.surefire.testset.TestSetFailedException:  
org.openejb.deployment.EjbJarModuleDeploymentTest; nested exception  
is java.lang.reflect.U

owableException: null
java.lang.reflect.UndeclaredThrowableException
at $Proxy0.addError(Unknown Source)
at junit.framework.TestResult.addError(TestResult.java:36)
at junit.framework.TestResult.runProtected(TestResult.java:133)
at org.openejb.deployment.DeploymentTestSuite.run 
(DeploymentTestSuite.java:121)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke 
(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke 
(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.maven.surefire.junit.JUnitTestSet.execute 
(JUnitTestSet.java:210)
at  
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTest 
Set(AbstractDirectoryTestSuite.java:135)
at  
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute 
(AbstractDirectoryTestSuite.java:122)

at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke 
(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke 
(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:324)
at  
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess 
(SurefireBooter.java:225)
at org.apache.maven.surefire.booter.SurefireBooter.main 
(SurefireBooter.java:747)
Caused by: java.lang.NoSuchMethodException:  
org.openejb.deployment.DeploymentTestSuite.getName()

at java.lang.Class.getMethod(Class.java:986)
at  
org.apache.maven.surefire.junit.TestListenerInvocationHandler.getStack 
TraceWriter(TestListenerInvocationHandler.java:171)
at  
org.apache.maven.surefire.junit.TestListenerInvocationHandler.handleAd 
dError(TestListenerInvocationHandler.java:160)
at  
org.apache.maven.surefire.junit.TestListenerInvocationHandler.invoke 
(TestListenerInvocationHandler.java:134)

... 18 more
[INFO]  
-- 
--

[ERROR] BUILD FAILURE
[INFO]  
-- 
--

[INFO] There are test failures.

Jason Dillon wrote:

Try `bootstrap openejb2`
--jason
On Aug 25, 2006, at 11:24 AM, Joe Bohn wrote:
hmmm  I get a different error now which seems unrelated.   
I'm  failing trying to build openejb-deployer because it can't  
fulfill  the builder dependency.


Downloading: http://people.apache.org/repo/m2-snapshot- 
repository/ org/openejb/openejb-builder/2.2-SNAPSHOT/openejb- 
builder-2.2- SNAPSHOT.jar
[WARNING] Unable to get resource from repository apache- 
snapshots  (http://people.apache.org/repo/m2-snapshot-repository)
Downloading: http://snapshots.repository.codehaus.org/org/ 
openejb/ openejb-builder/2.2-SNAPSHOT/openejb-builder-2.2- 
SNAPSHOT.jar
[WARNING] Unable to get resource from repository codehaus- 
snapshots  (http://snapshots.repository.codehaus.org)
Downloading: http://people.apache.org/maven-snapshot-repository/ 
org/ openejb/openejb-builder/2.2-SNAPSHOT/openejb-builder-2.2- 
SNAPSHOT.jar
[WARNING] Unable to get resource from repository  
apache.snapshots  (http://people.apache.org/maven-snapshot- 
repository)
[INFO]   
 
-- --

[ERROR] BUILD ERROR
[INFO]   
 
-- --

[INFO] Failed to resolve artifact.

Missing:
--
1) org.openejb:openejb-builder:jar:2.2-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command:
  mvn install:install-file -DgroupId=org.openejb -  
DartifactId=openejb-builder \
  -Dversion=2.2-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/ 
file


  Path to dependency:
1) org.apache.geronimo.configs:openejb-deployer:car:1.2-SNAPSHOT
2) 

Re: Strange build error on trunk

2006-08-25 Thread Joe Bohn

Here's what I see when building openejb2:


log4j: Finished configuring.
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 14.939 sec
Running org.openejb.deployment.EjbJarModuleDeploymentTest
Retrieving document at 'META-INF/wsdl/test-ejb.wsdl'.
org.apache.maven.surefire.booter.SurefireExecutionException: 
org.openejb.deployment.EjbJarModuleDeploymentTest; nested exception is 
java.lang.reflec
ThrowableException: null; nested exception is 
org.apache.maven.surefire.testset.TestSetFailedException: 
org.openejb.deployment.EjbJarModuleDeploymen

d exception is java.lang.reflect.UndeclaredThrowableException: null
org.apache.maven.surefire.testset.TestSetFailedException: 
org.openejb.deployment.EjbJarModuleDeploymentTest; nested exception is 
java.lang.reflect.U

owableException: null
java.lang.reflect.UndeclaredThrowableException
at $Proxy0.addError(Unknown Source)
at junit.framework.TestResult.addError(TestResult.java:36)
at junit.framework.TestResult.runProtected(TestResult.java:133)
at 
org.openejb.deployment.DeploymentTestSuite.run(DeploymentTestSuite.java:121)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)

at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
at 
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
Caused by: java.lang.NoSuchMethodException: 
org.openejb.deployment.DeploymentTestSuite.getName()

at java.lang.Class.getMethod(Class.java:986)
at 
org.apache.maven.surefire.junit.TestListenerInvocationHandler.getStackTraceWriter(TestListenerInvocationHandler.java:171)
at 
org.apache.maven.surefire.junit.TestListenerInvocationHandler.handleAddError(TestListenerInvocationHandler.java:160)
at 
org.apache.maven.surefire.junit.TestListenerInvocationHandler.invoke(TestListenerInvocationHandler.java:134)

... 18 more
[INFO] 


[ERROR] BUILD FAILURE
[INFO] 


[INFO] There are test failures.

Jason Dillon wrote:

Try `bootstrap openejb2`

--jason


On Aug 25, 2006, at 11:24 AM, Joe Bohn wrote:

hmmm  I get a different error now which seems unrelated.  I'm  
failing trying to build openejb-deployer because it can't fulfill  the 
builder dependency.


Downloading: http://people.apache.org/repo/m2-snapshot-repository/ 
org/openejb/openejb-builder/2.2-SNAPSHOT/openejb-builder-2.2- 
SNAPSHOT.jar
[WARNING] Unable to get resource from repository apache-snapshots  
(http://people.apache.org/repo/m2-snapshot-repository)
Downloading: http://snapshots.repository.codehaus.org/org/openejb/ 
openejb-builder/2.2-SNAPSHOT/openejb-builder-2.2-SNAPSHOT.jar
[WARNING] Unable to get resource from repository codehaus-snapshots  
(http://snapshots.repository.codehaus.org)
Downloading: http://people.apache.org/maven-snapshot-repository/org/ 
openejb/openejb-builder/2.2-SNAPSHOT/openejb-builder-2.2-SNAPSHOT.jar
[WARNING] Unable to get resource from repository apache.snapshots  
(http://people.apache.org/maven-snapshot-repository)
[INFO]  
-- --

[ERROR] BUILD ERROR
[INFO]  
-- --

[INFO] Failed to resolve artifact.

Missing:
--
1) org.openejb:openejb-builder:jar:2.2-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command:
  mvn install:install-file -DgroupId=org.openejb - 
DartifactId=openejb-builder \

  -Dversion=2.2-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file

  Path to dependency:
1) org.apache.geronimo.configs:openejb-deployer:car:1.2-SNAPSHOT
2) org.openejb:openejb-builder:jar:2.2-SNAPSHOT

--
1 required artifact is missing.

for artifact:
  org.apache.geronimo.configs:openejb-deployer:car:1.2-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  

Re: Strange build error on trunk

2006-08-25 Thread Joe Bohn

Yes, I'm using 1.4.5-SNAPSHOT (typo in my note).

Joe

Jeff Genender wrote:

1.4.5-SNAPSHOT

Joe Bohn wrote:


BTW, I should have been more specific.  This is with the jspc
1.4.3-SNAPSHOT plugin Jeff recommended.

Joe


Joe Bohn wrote:


hmmm  I get a different error now which seems unrelated.  I'm
failing trying to build openejb-deployer because it can't fulfill the
builder dependency.

Downloading:
http://people.apache.org/repo/m2-snapshot-repository/org/openejb/openejb-builder/2.2-SNAPSHOT/openejb-builder-2.2-SNAPSHOT.jar

[WARNING] Unable to get resource from repository apache-snapshots
(http://people.apache.org/repo/m2-snapshot-repository)
Downloading:
http://snapshots.repository.codehaus.org/org/openejb/openejb-builder/2.2-SNAPSHOT/openejb-builder-2.2-SNAPSHOT.jar

[WARNING] Unable to get resource from repository codehaus-snapshots
(http://snapshots.repository.codehaus.org)
Downloading:
http://people.apache.org/maven-snapshot-repository/org/openejb/openejb-builder/2.2-SNAPSHOT/openejb-builder-2.2-SNAPSHOT.jar

[WARNING] Unable to get resource from repository apache.snapshots
(http://people.apache.org/maven-snapshot-repository)
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Failed to resolve artifact.

Missing:
--
1) org.openejb:openejb-builder:jar:2.2-SNAPSHOT

 Try downloading the file manually from the project website.

 Then, install it using the command:
 mvn install:install-file -DgroupId=org.openejb
-DartifactId=openejb-builder \
 -Dversion=2.2-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file

 Path to dependency:
   1) org.apache.geronimo.configs:openejb-deployer:car:1.2-SNAPSHOT
   2) org.openejb:openejb-builder:jar:2.2-SNAPSHOT

--
1 required artifact is missing.

for artifact:
 org.apache.geronimo.configs:openejb-deployer:car:1.2-SNAPSHOT

from the specified remote repositories:
 central (http://repo1.maven.org/maven2),
 apache.snapshots (http://people.apache.org/maven-snapshot-repository),
 codehaus (http://repository.codehaus.org),
 apache-snapshots
(http://people.apache.org/repo/m2-snapshot-repository),
 codehaus-snapshots (http://snapshots.repository.codehaus.org)

Rick McGuire wrote:



Well, the result is different, but still a build failure:

[INFO] [jspc:compile {execution: jspc}]
[INFO] Compiling new java files...
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Errors found during compilation.
[INFO]

[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Errors found
during compilation.
  at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559)

  at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java
:475)
  at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454)

  at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java
:306)
  at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)

  at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java
:140)
  at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
  at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
  at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

  at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:324)
  at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
  at org.codehaus.classworlds.Launcher.launch (Launcher.java:255)
  at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)   
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)

Caused by: org.apache.maven.plugin.MojoExecutionException : Errors
found during compilation.
  at
org.codehaus.mojo.jspc.AbstractJspcMojo.execute(AbstractJspcMojo.java:257)

  at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)

  at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)

  ... 16 more
[INFO]

[INFO] Total time: 6 minutes 6 seconds
[INFO] Finished at: Fri Aug 25 10:55:50 EDT 2006
[INFO] Final Memory: 43M/63M
[INFO]

Re: Strange build error on trunk

2006-08-25 Thread Jeff Genender
1.4.5-SNAPSHOT

Joe Bohn wrote:
> BTW, I should have been more specific.  This is with the jspc
> 1.4.3-SNAPSHOT plugin Jeff recommended.
> 
> Joe
> 
> 
> Joe Bohn wrote:
>> hmmm  I get a different error now which seems unrelated.  I'm
>> failing trying to build openejb-deployer because it can't fulfill the
>> builder dependency.
>>
>> Downloading:
>> http://people.apache.org/repo/m2-snapshot-repository/org/openejb/openejb-builder/2.2-SNAPSHOT/openejb-builder-2.2-SNAPSHOT.jar
>>
>> [WARNING] Unable to get resource from repository apache-snapshots
>> (http://people.apache.org/repo/m2-snapshot-repository)
>> Downloading:
>> http://snapshots.repository.codehaus.org/org/openejb/openejb-builder/2.2-SNAPSHOT/openejb-builder-2.2-SNAPSHOT.jar
>>
>> [WARNING] Unable to get resource from repository codehaus-snapshots
>> (http://snapshots.repository.codehaus.org)
>> Downloading:
>> http://people.apache.org/maven-snapshot-repository/org/openejb/openejb-builder/2.2-SNAPSHOT/openejb-builder-2.2-SNAPSHOT.jar
>>
>> [WARNING] Unable to get resource from repository apache.snapshots
>> (http://people.apache.org/maven-snapshot-repository)
>> [INFO]
>> 
>> [ERROR] BUILD ERROR
>> [INFO]
>> 
>> [INFO] Failed to resolve artifact.
>>
>> Missing:
>> --
>> 1) org.openejb:openejb-builder:jar:2.2-SNAPSHOT
>>
>>   Try downloading the file manually from the project website.
>>
>>   Then, install it using the command:
>>   mvn install:install-file -DgroupId=org.openejb
>> -DartifactId=openejb-builder \
>>   -Dversion=2.2-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
>>
>>   Path to dependency:
>> 1) org.apache.geronimo.configs:openejb-deployer:car:1.2-SNAPSHOT
>> 2) org.openejb:openejb-builder:jar:2.2-SNAPSHOT
>>
>> --
>> 1 required artifact is missing.
>>
>> for artifact:
>>   org.apache.geronimo.configs:openejb-deployer:car:1.2-SNAPSHOT
>>
>> from the specified remote repositories:
>>   central (http://repo1.maven.org/maven2),
>>   apache.snapshots (http://people.apache.org/maven-snapshot-repository),
>>   codehaus (http://repository.codehaus.org),
>>   apache-snapshots
>> (http://people.apache.org/repo/m2-snapshot-repository),
>>   codehaus-snapshots (http://snapshots.repository.codehaus.org)
>>
>> Rick McGuire wrote:
>>
>>> Well, the result is different, but still a build failure:
>>>
>>> [INFO] [jspc:compile {execution: jspc}]
>>> [INFO] Compiling new java files...
>>> [INFO]
>>> 
>>> [ERROR] BUILD ERROR
>>> [INFO]
>>> 
>>> [INFO] Errors found during compilation.
>>> [INFO]
>>> 
>>> [INFO] Trace
>>> org.apache.maven.lifecycle.LifecycleExecutionException: Errors found
>>> during compilation.
>>>at
>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559)
>>>
>>>at
>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java
>>> :475)
>>>at
>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454)
>>>
>>>at
>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java
>>> :306)
>>>at
>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
>>>
>>>at
>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java
>>> :140)
>>>at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
>>>at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
>>>at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
>>>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>
>>>at sun.reflect.DelegatingMethodAccessorImpl.invoke
>>> (DelegatingMethodAccessorImpl.java:25)
>>>at java.lang.reflect.Method.invoke(Method.java:324)
>>>at
>>> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>>>at org.codehaus.classworlds.Launcher.launch (Launcher.java:255)
>>>at
>>> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)   
>>> at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>>> Caused by: org.apache.maven.plugin.MojoExecutionException : Errors
>>> found during compilation.
>>>at
>>> org.codehaus.mojo.jspc.AbstractJspcMojo.execute(AbstractJspcMojo.java:257)
>>>
>>>at
>>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)
>>>
>>>at
>>> 

Re: Strange build error on trunk

2006-08-25 Thread Joe Bohn
BTW, I should have been more specific.  This is with the jspc 
1.4.3-SNAPSHOT plugin Jeff recommended.


Joe


Joe Bohn wrote:
hmmm  I get a different error now which seems unrelated.  I'm 
failing trying to build openejb-deployer because it can't fulfill the 
builder dependency.


Downloading: 
http://people.apache.org/repo/m2-snapshot-repository/org/openejb/openejb-builder/2.2-SNAPSHOT/openejb-builder-2.2-SNAPSHOT.jar 

[WARNING] Unable to get resource from repository apache-snapshots 
(http://people.apache.org/repo/m2-snapshot-repository)
Downloading: 
http://snapshots.repository.codehaus.org/org/openejb/openejb-builder/2.2-SNAPSHOT/openejb-builder-2.2-SNAPSHOT.jar 

[WARNING] Unable to get resource from repository codehaus-snapshots 
(http://snapshots.repository.codehaus.org)
Downloading: 
http://people.apache.org/maven-snapshot-repository/org/openejb/openejb-builder/2.2-SNAPSHOT/openejb-builder-2.2-SNAPSHOT.jar 

[WARNING] Unable to get resource from repository apache.snapshots 
(http://people.apache.org/maven-snapshot-repository)
[INFO] 


[ERROR] BUILD ERROR
[INFO] 


[INFO] Failed to resolve artifact.

Missing:
--
1) org.openejb:openejb-builder:jar:2.2-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command:
  mvn install:install-file -DgroupId=org.openejb 
-DartifactId=openejb-builder \

  -Dversion=2.2-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file

  Path to dependency:
1) org.apache.geronimo.configs:openejb-deployer:car:1.2-SNAPSHOT
2) org.openejb:openejb-builder:jar:2.2-SNAPSHOT

--
1 required artifact is missing.

for artifact:
  org.apache.geronimo.configs:openejb-deployer:car:1.2-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  apache.snapshots (http://people.apache.org/maven-snapshot-repository),
  codehaus (http://repository.codehaus.org),
  apache-snapshots (http://people.apache.org/repo/m2-snapshot-repository),
  codehaus-snapshots (http://snapshots.repository.codehaus.org)

Rick McGuire wrote:


Well, the result is different, but still a build failure:

[INFO] [jspc:compile {execution: jspc}]
[INFO] Compiling new java files...
[INFO] 


[ERROR] BUILD ERROR
[INFO] 


[INFO] Errors found during compilation.
[INFO] 


[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Errors found 
during compilation.
   at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559) 

   at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java 
:475)
   at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454) 

   at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java 
:306)
   at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273) 

   at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java 
:140)

   at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
   at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
   at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 

   at sun.reflect.DelegatingMethodAccessorImpl.invoke 
(DelegatingMethodAccessorImpl.java:25)

   at java.lang.reflect.Method.invoke(Method.java:324)
   at 
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)

   at org.codehaus.classworlds.Launcher.launch (Launcher.java:255)
   at 
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException : Errors 
found during compilation.
   at 
org.codehaus.mojo.jspc.AbstractJspcMojo.execute(AbstractJspcMojo.java:257) 

   at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412) 

   at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534) 


   ... 16 more
[INFO] 


[INFO] Total time: 6 minutes 6 seconds
[INFO] Finished at: Fri Aug 25 10:55:50 EDT 2006
[INFO] Final Memory: 43M/63M
[INFO] 

Re: Strange build error on trunk

2006-08-25 Thread Jeff Genender
No...not at all...its been stable and working for many.  There is an
open JIRA on one guy who has a problem with Linux...but other than
that...no problems :/

Jason Dillon wrote:
> Jeff, do you have any idea why some folks don't see this problem?  And
> more so why it just started?
> 
> --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
>>>
>>




Re: Strange build error on trunk

2006-08-25 Thread Jason Dillon

Try `bootstrap openejb2`

--jason


On Aug 25, 2006, at 11:24 AM, Joe Bohn wrote:

hmmm  I get a different error now which seems unrelated.  I'm  
failing trying to build openejb-deployer because it can't fulfill  
the builder dependency.


Downloading: http://people.apache.org/repo/m2-snapshot-repository/ 
org/openejb/openejb-builder/2.2-SNAPSHOT/openejb-builder-2.2- 
SNAPSHOT.jar
[WARNING] Unable to get resource from repository apache-snapshots  
(http://people.apache.org/repo/m2-snapshot-repository)
Downloading: http://snapshots.repository.codehaus.org/org/openejb/ 
openejb-builder/2.2-SNAPSHOT/openejb-builder-2.2-SNAPSHOT.jar
[WARNING] Unable to get resource from repository codehaus-snapshots  
(http://snapshots.repository.codehaus.org)
Downloading: http://people.apache.org/maven-snapshot-repository/org/ 
openejb/openejb-builder/2.2-SNAPSHOT/openejb-builder-2.2-SNAPSHOT.jar
[WARNING] Unable to get resource from repository apache.snapshots  
(http://people.apache.org/maven-snapshot-repository)
[INFO]  
-- 
--

[ERROR] BUILD ERROR
[INFO]  
-- 
--

[INFO] Failed to resolve artifact.

Missing:
--
1) org.openejb:openejb-builder:jar:2.2-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command:
  mvn install:install-file -DgroupId=org.openejb - 
DartifactId=openejb-builder \

  -Dversion=2.2-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file

  Path to dependency:
1) org.apache.geronimo.configs:openejb-deployer:car:1.2-SNAPSHOT
2) org.openejb:openejb-builder:jar:2.2-SNAPSHOT

--
1 required artifact is missing.

for artifact:
  org.apache.geronimo.configs:openejb-deployer:car:1.2-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  apache.snapshots (http://people.apache.org/maven-snapshot- 
repository),

  codehaus (http://repository.codehaus.org),
  apache-snapshots (http://people.apache.org/repo/m2-snapshot- 
repository),

  codehaus-snapshots (http://snapshots.repository.codehaus.org)

Rick McGuire wrote:

Well, the result is different, but still a build failure:
[INFO] [jspc:compile {execution: jspc}]
[INFO] Compiling new java files...
[INFO]  
- 
---

[ERROR] BUILD ERROR
[INFO]  
- 
---

[INFO] Errors found during compilation.
[INFO]  
- 
---

[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Errors  
found during compilation.
   at  
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals 
(DefaultLifecycleExecutor.java:559)at  
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi 
fecycle(DefaultLifecycleExecutor.java :475)
   at  
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal 
(DefaultLifecycleExecutor.java:454)at  
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan 
dleFailures(DefaultLifecycleExecutor.java :306)
   at  
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen 
ts(DefaultLifecycleExecutor.java:273)at  
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute 
(DefaultLifecycleExecutor.java :140)
   at org.apache.maven.DefaultMaven.doExecute 
(DefaultMaven.java:322)
   at org.apache.maven.DefaultMaven.execute(DefaultMaven.java: 
115)

   at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke 
(NativeMethodAccessorImpl.java:39)at  
sun.reflect.DelegatingMethodAccessorImpl.invoke  
(DelegatingMethodAccessorImpl.java:25)

   at java.lang.reflect.Method.invoke(Method.java:324)
   at org.codehaus.classworlds.Launcher.launchEnhanced 
(Launcher.java:315)
   at org.codehaus.classworlds.Launcher.launch (Launcher.java: 
255)
   at org.codehaus.classworlds.Launcher.mainWithExitCode 
(Launcher.java:430)at  
org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException : Errors  
found during compilation.
   at org.codehaus.mojo.jspc.AbstractJspcMojo.execute 
(AbstractJspcMojo.java:257)
   at org.apache.maven.plugin.DefaultPluginManager.executeMojo 
(DefaultPluginManager.java:412)at  
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals 
(DefaultLifecycleExecutor.java:534)... 16 more
[INFO]  
- 
---

[INFO] Total time: 6 minutes 6 seconds
[INFO] Finished at: Fri Aug 25 10:55:50 EDT 2006
[INFO] Final Memory: 43M/63M
[INFO]  

Re: Strange build error on trunk

2006-08-25 Thread Joe Bohn
hmmm  I get a different error now which seems unrelated.  I'm 
failing trying to build openejb-deployer because it can't fulfill the 
builder dependency.


Downloading: 
http://people.apache.org/repo/m2-snapshot-repository/org/openejb/openejb-builder/2.2-SNAPSHOT/openejb-builder-2.2-SNAPSHOT.jar
[WARNING] Unable to get resource from repository apache-snapshots 
(http://people.apache.org/repo/m2-snapshot-repository)
Downloading: 
http://snapshots.repository.codehaus.org/org/openejb/openejb-builder/2.2-SNAPSHOT/openejb-builder-2.2-SNAPSHOT.jar
[WARNING] Unable to get resource from repository codehaus-snapshots 
(http://snapshots.repository.codehaus.org)
Downloading: 
http://people.apache.org/maven-snapshot-repository/org/openejb/openejb-builder/2.2-SNAPSHOT/openejb-builder-2.2-SNAPSHOT.jar
[WARNING] Unable to get resource from repository apache.snapshots 
(http://people.apache.org/maven-snapshot-repository)
[INFO] 


[ERROR] BUILD ERROR
[INFO] 


[INFO] Failed to resolve artifact.

Missing:
--
1) org.openejb:openejb-builder:jar:2.2-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command:
  mvn install:install-file -DgroupId=org.openejb 
-DartifactId=openejb-builder \

  -Dversion=2.2-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file

  Path to dependency:
1) org.apache.geronimo.configs:openejb-deployer:car:1.2-SNAPSHOT
2) org.openejb:openejb-builder:jar:2.2-SNAPSHOT

--
1 required artifact is missing.

for artifact:
  org.apache.geronimo.configs:openejb-deployer:car:1.2-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  apache.snapshots (http://people.apache.org/maven-snapshot-repository),
  codehaus (http://repository.codehaus.org),
  apache-snapshots (http://people.apache.org/repo/m2-snapshot-repository),
  codehaus-snapshots (http://snapshots.repository.codehaus.org)

Rick McGuire wrote:

Well, the result is different, but still a build failure:

[INFO] [jspc:compile {execution: jspc}]
[INFO] Compiling new java files...
[INFO] 


[ERROR] BUILD ERROR
[INFO] 


[INFO] Errors found during compilation.
[INFO] 


[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Errors found 
during compilation.
   at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559) 

   at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java 
:475)
   at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454) 

   at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java 
:306)
   at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273) 

   at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java 
:140)

   at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
   at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
   at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 

   at sun.reflect.DelegatingMethodAccessorImpl.invoke 
(DelegatingMethodAccessorImpl.java:25)

   at java.lang.reflect.Method.invoke(Method.java:324)
   at 
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)

   at org.codehaus.classworlds.Launcher.launch (Launcher.java:255)
   at 
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException : Errors found 
during compilation.
   at 
org.codehaus.mojo.jspc.AbstractJspcMojo.execute(AbstractJspcMojo.java:257)
   at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412) 

   at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534) 


   ... 16 more
[INFO] 


[INFO] Total time: 6 minutes 6 seconds
[INFO] Finished at: Fri Aug 25 10:55:50 EDT 2006
[INFO] Final Memory: 43M/63M
[INFO] 


[EMAIL PROTECTED] 1.2]$


Jeff Genender wrote:


I just released a new version 1.4.5-SNAPSHOT of the jspc plugin (just
now).  

Re: Strange build error on trunk

2006-08-25 Thread Jason Dillon
Jeff, do you have any idea why some folks don't see this problem?   
And more so why it just started?


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










Re: Strange build error on trunk

2006-08-25 Thread Jeff Genender
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
> 
 
>>
>>   


Re: Strange build error on trunk

2006-08-25 Thread Rick McGuire

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


  
  


  




Re: Strange build error on trunk

2006-08-25 Thread Jeff Genender
And what happens when you use 1.4.4 and you add the jasper-compiler-jdt
as a dependency to the pom?

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


Re: Strange build error on trunk

2006-08-25 Thread Rick McGuire

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



  




Re: Strange build error on trunk

2006-08-25 Thread Jeff Genender
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.

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


Re: Strange build error on trunk

2006-08-25 Thread Jeff Genender
Ok...so now the compiler is reporting errors.  Please use the -X flag
when compiling, so we can see the detail.

Rick McGuire wrote:
> Well, the result is different, but still a build failure:
> 
> [INFO] [jspc:compile {execution: jspc}]
> [INFO] Compiling new java files...
> [INFO]
> 
> [ERROR] BUILD ERROR
> [INFO]
> 
> [INFO] Errors found during compilation.
> [INFO]
> 
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: Errors found
> during compilation.
>at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559)
> 
>at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java
> :475)
>at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454)
> 
>at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java
> :306)
>at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
> 
>at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java
> :140)
>at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
>at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
>at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 
>at sun.reflect.DelegatingMethodAccessorImpl.invoke
> (DelegatingMethodAccessorImpl.java:25)
>at java.lang.reflect.Method.invoke(Method.java:324)
>at
> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>at org.codehaus.classworlds.Launcher.launch (Launcher.java:255)
>at
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)   
> at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: org.apache.maven.plugin.MojoExecutionException : Errors found
> during compilation.
>at
> org.codehaus.mojo.jspc.AbstractJspcMojo.execute(AbstractJspcMojo.java:257)
>at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)
> 
>at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
> 
>... 16 more
> [INFO]
> 
> [INFO] Total time: 6 minutes 6 seconds
> [INFO] Finished at: Fri Aug 25 10:55:50 EDT 2006
> [INFO] Final Memory: 43M/63M
> [INFO]
> 
> [EMAIL PROTECTED] 1.2]$
> 
> 
> Jeff Genender wrote:
>> I just released a new version 1.4.5-SNAPSHOT of the jspc plugin (just
>> now).  I added the jasper-compiler-jdt.  Please try this version and let
>> me know if all works.  If so I will start a vote at Mojo to release
>> 1.4.5.
>>
>> Thanks,
>>
>> Jeff
>>
>> Sergey Elin wrote:
>>  
>>> It seems there is the wrong configuration for jspc-maven-plugin 1.4.4 in
>>> maven 2: required dependency to jasper-compiler-jdt is missing.
>>> I just add dependency to plugin's jspc-maven-plugin-1.4.4.pom   and
>>> successfully build geronimo-jsp-examples.
>>>
>>>
>>> 2006/8/25, Jason Dillon <[EMAIL PROTECTED]
>>> >:
>>>
>>> Can you send me to full `mvn -X` from the
>>> applications/geronimo-examples/geronimo-jsp-examples plz.
>>>
>>> --jason
>>>
>>>
>>> On Aug 25, 2006, at 12:32 AM, Sergey Elin wrote:
>>>
>>>
 Yes


 2006/8/25, Jason Dillon < [EMAIL PROTECTED]
 >:

 Does this file actually have that class
 (org/eclipse/jdt/internal/compiler/env/INameEnvironment):

   
 /home/cruz/.m2/repository/tomcat/jasper-compiler-jdt/5.5.15/jasper-
 compiler-jdt-5.5.15.jar

 --jason


 On Aug 25, 2006, at 12:13 AM, Sergey Elin wrote:

  
> Here is a bit more info:
>
> [INFO] [jspc:compile {execution: jspc}]
> [DEBUG] execute() starting for 0 pages.
> [DEBUG] Parent class loader is:
> [EMAIL PROTECTED]
> [DEBUG] Compilation classpath initialized:
>
> /usr/home/cruz/java/geronimo/applications/geronimo-examples/geronimo-jsp-examples/
>
>
>
> target/jsp-source:/usr/home/cruz/java/geronimo/applications/geronimo-examples/geronimo-jsp-examples/target/classes:/home/cruz
>
>
>
> 

Re: Strange build error on trunk

2006-08-25 Thread Rick McGuire

Well, the result is different, but still a build failure:

[INFO] [jspc:compile {execution: jspc}]
[INFO] Compiling new java files...
[INFO] 


[ERROR] BUILD ERROR
[INFO] 


[INFO] Errors found during compilation.
[INFO] 


[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Errors found 
during compilation.
   at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559)
   at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java 
:475)
   at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454)
   at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java 
:306)
   at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
   at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java 
:140)

   at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
   at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
   at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke 
(DelegatingMethodAccessorImpl.java:25)

   at java.lang.reflect.Method.invoke(Method.java:324)
   at 
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)

   at org.codehaus.classworlds.Launcher.launch (Launcher.java:255)
   at 
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException : Errors found 
during compilation.
   at 
org.codehaus.mojo.jspc.AbstractJspcMojo.execute(AbstractJspcMojo.java:257)
   at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412) 

   at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)

   ... 16 more
[INFO] 


[INFO] Total time: 6 minutes 6 seconds
[INFO] Finished at: Fri Aug 25 10:55:50 EDT 2006
[INFO] Final Memory: 43M/63M
[INFO] 


[EMAIL PROTECTED] 1.2]$


Jeff Genender wrote:

I just released a new version 1.4.5-SNAPSHOT of the jspc plugin (just
now).  I added the jasper-compiler-jdt.  Please try this version and let
me know if all works.  If so I will start a vote at Mojo to release 1.4.5.

Thanks,

Jeff

Sergey Elin wrote:
  

It seems there is the wrong configuration for jspc-maven-plugin 1.4.4 in
maven 2: required dependency to jasper-compiler-jdt is missing.
I just add dependency to plugin's jspc-maven-plugin-1.4.4.pom   and
successfully build geronimo-jsp-examples.


2006/8/25, Jason Dillon <[EMAIL PROTECTED] >:

Can you send me to full `mvn -X` from the
applications/geronimo-examples/geronimo-jsp-examples plz.

--jason


On Aug 25, 2006, at 12:32 AM, Sergey Elin wrote:



Yes


2006/8/25, Jason Dillon < [EMAIL PROTECTED]
>:

Does this file actually have that class
(org/eclipse/jdt/internal/compiler/env/INameEnvironment):

  
 /home/cruz/.m2/repository/tomcat/jasper-compiler-jdt/5.5.15/jasper-

compiler-jdt-5.5.15.jar

--jason


On Aug 25, 2006, at 12:13 AM, Sergey Elin wrote:

  

Here is a bit more info:

[INFO] [jspc:compile {execution: jspc}]
[DEBUG] execute() starting for 0 pages.
[DEBUG] Parent class loader is: [EMAIL PROTECTED]
[DEBUG] Compilation classpath initialized:

/usr/home/cruz/java/geronimo/applications/geronimo-examples/geronimo-jsp-examples/


target/jsp-source:/usr/home/cruz/java/geronimo/applications/geronimo-examples/geronimo-jsp-examples/target/classes:/home/cruz


/.m2/repository/javax/servlet/jstl/1.1.1/jstl-1.1.1.jar:/home/cruz/.m2/repository/taglibs/standard/1.1.1/standard-1.1.1.jar:/


home/cruz/.m2/repository/tomcat/jasper-compiler/5.5.15/jasper-compiler-5.5.15.jar:/home/cruz/.m2/repository/tomcat/jasper-com


piler-jdt/5.5.15/jasper-compiler-jdt-5.5.15.jar:/home/cruz/.m2/repository/org/apache/geronimo/specs/geronimo-jsp_2.0_spec/1.0


.1/geronimo-jsp_2.0_spec-1.0.1.jar:/home/cruz/.m2/repository/org/apache/geronimo/specs/geronimo-servlet_2.4_spec/1.0.1/geroni

Re: Strange build error on trunk

2006-08-25 Thread Jeff Genender
1.4.5-SNAPSHOT is an important one besides due to the forking problems
in Maven.  The jspc plugin in 1.4.5 now forces a second compile after
source generation.  Under normal circumstances, this is fine, but in
certain situations (i.e. complex mixture of plugins), if forces a full
build again.  I am recommending 1.4.5-SNAPSHOT and if works going to
1.4.5 to avoid any future issues.

Jeff

Bill Dudney wrote:
> FWIW, I just finished a fresh checkout and 'mvn install' without error.
> No modifications of anything (I did not run the bootstrap though to
> delete my ~/.m2/repo).
> 
> TTFN,
> 
> -bd-
> 
> On Aug 25, 2006, at 8:30 AM, Jeff Genender wrote:
> 
>> I just released a new version 1.4.5-SNAPSHOT of the jspc plugin (just
>> now).  I added the jasper-compiler-jdt.  Please try this version and let
>> me know if all works.  If so I will start a vote at Mojo to release
>> 1.4.5.
>>
>> Thanks,
>>
>> Jeff
>>
>> Sergey Elin wrote:
>>> It seems there is the wrong configuration for jspc-maven-plugin 1.4.4 in
>>> maven 2: required dependency to jasper-compiler-jdt is missing.
>>> I just add dependency to plugin's jspc-maven-plugin-1.4.4.pom   and
>>> successfully build geronimo-jsp-examples.
>>>
>>>
>>> 2006/8/25, Jason Dillon <[EMAIL PROTECTED]
>>> >:
>>>
>>> Can you send me to full `mvn -X` from the
>>> applications/geronimo-examples/geronimo-jsp-examples plz.
>>>
>>> --jason
>>>
>>>
>>> On Aug 25, 2006, at 12:32 AM, Sergey Elin wrote:
>>>
 Yes


 2006/8/25, Jason Dillon < [EMAIL PROTECTED]
 >:

 Does this file actually have that class
 (org/eclipse/jdt/internal/compiler/env/INameEnvironment):


 
 /home/cruz/.m2/repository/tomcat/jasper-compiler-jdt/5.5.15/jasper-
 compiler-jdt-5.5.15.jar

 --jason


 On Aug 25, 2006, at 12:13 AM, Sergey Elin wrote:

> Here is a bit more info:
>
> [INFO] [jspc:compile {execution: jspc}]
> [DEBUG] execute() starting for 0 pages.
> [DEBUG] Parent class loader is:
> [EMAIL PROTECTED]
> [DEBUG] Compilation classpath initialized:
>
> /usr/home/cruz/java/geronimo/applications/geronimo-examples/geronimo-jsp-examples/
>
>
>
> target/jsp-source:/usr/home/cruz/java/geronimo/applications/geronimo-examples/geronimo-jsp-examples/target/classes:/home/cruz
>
>
>
> /.m2/repository/javax/servlet/jstl/1.1.1/jstl-1.1.1.jar:/home/cruz/.m2/repository/taglibs/standard/1.1.1/standard-1.1.1.jar:/
>
>
>
> home/cruz/.m2/repository/tomcat/jasper-compiler/5.5.15/jasper-compiler-5.5.15.jar:/home/cruz/.m2/repository/tomcat/jasper-com
>
>
>
> piler-jdt/5.5.15/jasper-compiler-jdt-5.5.15.jar:/home/cruz/.m2/repository/org/apache/geronimo/specs/geronimo-jsp_2.0_spec/1.0
>
>
>
> .1/geronimo-jsp_2.0_spec-1.0.1.jar:/home/cruz/.m2/repository/org/apache/geronimo/specs/geronimo-servlet_2.4_spec/1.0.1/geroni
>
>
> mo-servlet_2.4_spec-1.0.1.jar:
> [DEBUG] No Java compiler available
> java.lang.NoClassDefFoundError :
> org/eclipse/jdt/internal/compiler/env/INameEnvironment
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:141)
> at
> org.apache.jasper.JspCompilationContext.createCompiler
> (JspCompilationContext.java:233)
> at
> org.apache.jasper.JspCompilationContext.createCompiler
> (JspCompilationContext.java:213)
> at org.apache.jasper.JspC.processFile(JspC.java:979)
> at org.apache.jasper.JspC.execute (JspC.java:1135)
> at org.codehaus.mojo.jspc.AbstractJspcMojo.execute(
> AbstractJspcMojo.java:180)
> at
>
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)
>
> at
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java
>
> :534)
> at
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java
>
> :475)
> at
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java
>
> :454)
> at
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java
>
> :306
> )
> at
>
> 

Re: Strange build error on trunk

2006-08-25 Thread Bill Dudney
FWIW, I just finished a fresh checkout and 'mvn install' without  
error. No modifications of anything (I did not run the bootstrap  
though to delete my ~/.m2/repo).


TTFN,

-bd-

On Aug 25, 2006, at 8:30 AM, Jeff Genender wrote:


I just released a new version 1.4.5-SNAPSHOT of the jspc plugin (just
now).  I added the jasper-compiler-jdt.  Please try this version  
and let
me know if all works.  If so I will start a vote at Mojo to release  
1.4.5.


Thanks,

Jeff

Sergey Elin wrote:
It seems there is the wrong configuration for jspc-maven-plugin  
1.4.4 in

maven 2: required dependency to jasper-compiler-jdt is missing.
I just add dependency to plugin's jspc-maven-plugin-1.4.4.pom   and
successfully build geronimo-jsp-examples.


2006/8/25, Jason Dillon <[EMAIL PROTECTED]  
>:


Can you send me to full `mvn -X` from the
applications/geronimo-examples/geronimo-jsp-examples plz.

--jason


On Aug 25, 2006, at 12:32 AM, Sergey Elin wrote:


Yes


2006/8/25, Jason Dillon < [EMAIL PROTECTED]
>:

Does this file actually have that class
(org/eclipse/jdt/internal/compiler/env/INameEnvironment):


 /home/cruz/.m2/repository/tomcat/jasper-compiler-jdt/ 
5.5.15/jasper-

compiler-jdt-5.5.15.jar

--jason


On Aug 25, 2006, at 12:13 AM, Sergey Elin wrote:


Here is a bit more info:

[INFO] [jspc:compile {execution: jspc}]
[DEBUG] execute() starting for 0 pages.
[DEBUG] Parent class loader is:  
[EMAIL PROTECTED]

[DEBUG] Compilation classpath initialized:
/usr/home/cruz/java/geronimo/applications/geronimo- 
examples/geronimo-jsp-examples/


target/jsp-source:/usr/home/cruz/java/geronimo/ 
applications/geronimo-examples/geronimo-jsp-examples/target/ 
classes:/home/cruz


/.m2/repository/javax/servlet/jstl/1.1.1/jstl-1.1.1.jar:/ 
home/cruz/.m2/repository/taglibs/standard/1.1.1/ 
standard-1.1.1.jar:/


home/cruz/.m2/repository/tomcat/jasper-compiler/5.5.15/ 
jasper-compiler-5.5.15.jar:/home/cruz/.m2/repository/tomcat/ 
jasper-com


piler-jdt/5.5.15/jasper-compiler-jdt-5.5.15.jar:/home/ 
cruz/.m2/repository/org/apache/geronimo/specs/geronimo- 
jsp_2.0_spec/1.0


.1/geronimo-jsp_2.0_spec-1.0.1.jar:/home/cruz/.m2/ 
repository/org/apache/geronimo/specs/geronimo-servlet_2.4_spec/ 
1.0.1/geroni


mo-servlet_2.4_spec-1.0.1.jar:
[DEBUG] No Java compiler available
java.lang.NoClassDefFoundError :
org/eclipse/jdt/internal/compiler/env/INameEnvironment
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at
org.apache.jasper.JspCompilationContext.createCompiler
(JspCompilationContext.java:233)
at
org.apache.jasper.JspCompilationContext.createCompiler
(JspCompilationContext.java:213)
at org.apache.jasper.JspC.processFile(JspC.java: 
979)

at org.apache.jasper.JspC.execute (JspC.java:1135)
at org.codehaus.mojo.jspc.AbstractJspcMojo.execute(
AbstractJspcMojo.java:180)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo 
(DefaultPluginManager.java:412)

at
 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals 
(DefaultLifecycleExecutor.java

:534)
at
 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWith 
Lifecycle(DefaultLifecycleExecutor.java

:475)
at
 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal 
(DefaultLifecycleExecutor.java

:454)
at
 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndH 
andleFailures(DefaultLifecycleExecutor.java

:306
)
at
 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegm 
ents

(DefaultLifecycleExecutor.java:273)
at
 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute 
(DefaultLifecycleExecutor.java

:140)
at
org.apache.maven.DefaultMaven.doExecute 
(DefaultMaven.java:322)

at
org.apache.maven.DefaultMaven.execute(DefaultMaven.java: 
115)

at org.apache.maven.cli.MavenCli.main(MavenCli.java
:256)
at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke 
(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke (Method.java: 
324)

at
org.codehaus.classworlds.Launcher.launchEnhanced 
(Launcher.java:315)

at 

Re: Strange build error on trunk

2006-08-25 Thread Jeff Genender
I just released a new version 1.4.5-SNAPSHOT of the jspc plugin (just
now).  I added the jasper-compiler-jdt.  Please try this version and let
me know if all works.  If so I will start a vote at Mojo to release 1.4.5.

Thanks,

Jeff

Sergey Elin wrote:
> It seems there is the wrong configuration for jspc-maven-plugin 1.4.4 in
> maven 2: required dependency to jasper-compiler-jdt is missing.
> I just add dependency to plugin's jspc-maven-plugin-1.4.4.pom   and
> successfully build geronimo-jsp-examples.
> 
> 
> 2006/8/25, Jason Dillon <[EMAIL PROTECTED] >:
> 
> Can you send me to full `mvn -X` from the
> applications/geronimo-examples/geronimo-jsp-examples plz.
> 
> --jason
> 
> 
> On Aug 25, 2006, at 12:32 AM, Sergey Elin wrote:
> 
>> Yes
>>
>>
>> 2006/8/25, Jason Dillon < [EMAIL PROTECTED]
>> >:
>>
>> Does this file actually have that class
>> (org/eclipse/jdt/internal/compiler/env/INameEnvironment):
>>
>>   
>>  /home/cruz/.m2/repository/tomcat/jasper-compiler-jdt/5.5.15/jasper-
>> compiler-jdt-5.5.15.jar
>>
>> --jason
>>
>>
>> On Aug 25, 2006, at 12:13 AM, Sergey Elin wrote:
>>
>>> Here is a bit more info:
>>>
>>> [INFO] [jspc:compile {execution: jspc}]
>>> [DEBUG] execute() starting for 0 pages.
>>> [DEBUG] Parent class loader is: [EMAIL PROTECTED]
>>> [DEBUG] Compilation classpath initialized:
>>> 
>>> /usr/home/cruz/java/geronimo/applications/geronimo-examples/geronimo-jsp-examples/
>>>
>>> 
>>> target/jsp-source:/usr/home/cruz/java/geronimo/applications/geronimo-examples/geronimo-jsp-examples/target/classes:/home/cruz
>>>
>>> 
>>> /.m2/repository/javax/servlet/jstl/1.1.1/jstl-1.1.1.jar:/home/cruz/.m2/repository/taglibs/standard/1.1.1/standard-1.1.1.jar:/
>>>
>>> 
>>> home/cruz/.m2/repository/tomcat/jasper-compiler/5.5.15/jasper-compiler-5.5.15.jar:/home/cruz/.m2/repository/tomcat/jasper-com
>>>
>>> 
>>> piler-jdt/5.5.15/jasper-compiler-jdt-5.5.15.jar:/home/cruz/.m2/repository/org/apache/geronimo/specs/geronimo-jsp_2.0_spec/1.0
>>>
>>> 
>>> .1/geronimo-jsp_2.0_spec-1.0.1.jar:/home/cruz/.m2/repository/org/apache/geronimo/specs/geronimo-servlet_2.4_spec/1.0.1/geroni
>>>
>>> mo-servlet_2.4_spec-1.0.1.jar:
>>> [DEBUG] No Java compiler available
>>> java.lang.NoClassDefFoundError :
>>> org/eclipse/jdt/internal/compiler/env/INameEnvironment
>>> at java.lang.Class.forName0(Native Method)
>>> at java.lang.Class.forName(Class.java:141)
>>> at
>>> org.apache.jasper.JspCompilationContext.createCompiler
>>> (JspCompilationContext.java:233)
>>> at
>>> org.apache.jasper.JspCompilationContext.createCompiler
>>> (JspCompilationContext.java:213)
>>> at org.apache.jasper.JspC.processFile(JspC.java:979)
>>> at org.apache.jasper.JspC.execute (JspC.java:1135)
>>> at org.codehaus.mojo.jspc.AbstractJspcMojo.execute(
>>> AbstractJspcMojo.java:180)
>>> at
>>> 
>>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)
>>> at
>>> 
>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java
>>> :534)
>>> at
>>> 
>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java
>>> :475)
>>> at
>>> 
>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java
>>> :454)
>>> at
>>> 
>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java
>>> :306
>>> )
>>> at
>>> 
>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments
>>> (DefaultLifecycleExecutor.java:273)
>>> at
>>> 
>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java
>>> :140)
>>> at
>>> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
>>> at
>>> org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
>>> at org.apache.maven.cli.MavenCli.main(MavenCli.java
>>> :256)
>>> at
>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> at
>>> 
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>> at sun.reflect.DelegatingMethodAccessorImpl.invoke
>>> (DelegatingMethodAccessorImpl.java:25)
>>> at java.lang.reflect.Method.invoke (Method.java:324)
>>> at
>>> 

Re: Strange build error on trunk

2006-08-25 Thread Rick McGuire

Joe Bohn wrote:

For me it's

Maven version: 2.0.4

java version "1.4.2_08"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_08-b03)
Java HotSpot(TM) Client VM (build 1.4.2_08-b03, mixed mode)

I didn't compile any maven plugins locally.

Anything else?  I'm running on windows XP and most folks I know 
with this problem are also on windows.  However, as with Sergey, there 
are a few folks seeing it on *nix.
I'm seeing this on both Windows XP and Linux (Fedora Core 4).  Problem 
showed up initially after doing a svn switch to the new repository + 
update.  I then did a fresh checkout to see if that fixed the problem 
(it didn't).  Did a fresh checkout on Linux also and it had the problem 
too.


My maven/jvm version is the same as yours.


Joe


Sergey Elin wrote:

In my case it's:
[EMAIL PROTECTED]:/home/cruz/java/geronimo/applications/geronimo-examples/geronimo-jsp-examples(1)$ 
mvn -v

Maven version: 2.0.4
[EMAIL PROTECTED]:/home/cruz/java/geronimo/applications/geronimo-examples/geronimo-jsp-examples(0)$ 
java -version

java version "1.4.2-p7"
Java(TM) 2 Runtime Environment, Standard Edition (build 
1.4.2-p7-_17_may_2006_11_07)
Java HotSpot(TM) Client VM (build 1.4.2-p7-_17_may_2006_11_07, mixed 
mode)
[EMAIL PROTECTED]:/home/cruz/java/geronimo/applications/geronimo-examples/geronimo-jsp-examples(0)$ 
uname -sr

OpenBSD 4.0

I just got sources from svn and try to build it according BUILDING.txt
First try was 08/23/06 and it was success
Second - yesterday (after switching subversion and update) and it 
finished with this error.



2006/8/25, Jason Dillon <[EMAIL PROTECTED] 
>:


I have never seen this error.

What version of Maven are you using?  What version of Java?  Did you
compile any Maven plugins locally?  Anything else that could be odd
about your environment?

--jason


On Aug 24, 2006, at 9:17 PM, Joe Bohn wrote:

 >
 > Is there any new news on this (or a work around)?  It seems that
 > Sergey had success with the 1.4.3 version of the jspc plugin.
 > However, when I tried that I just get a different error (see 
below
 > [1] ). The demo target includes just a web-fragment.xml file 
rather

 > that a jsp-source directory.
 >
 > BDudney then recommended I try with the jsp compilation removed
 > from demo.  I gave that a shot this evening and got the next 
error
 > ([2] below).  I only removed the reference to the 
jspc-maven-plugin

 > in the demo pom ... perhaps I needed to change something else?
 >
 > Seems like using 1.4.3 is causing more problems than it's fixing
 > for me.  Any other ideas?
 >
 > Joe
 >
 >
 > [1]
 > [INFO]
 >

--

 > --
 > [INFO] Building Geronimo Applications :: Demo
 > [INFO]task-segment: [clean, install]
 > [INFO]
 >

--

 > --
 > [INFO] [clean:clean]
 > [INFO] Deleting directory C:\g\applications\demo\target
 > [INFO] Deleting directory C:\g\applications\demo\target\classes
 > [INFO] Deleting directory 
C:\g\applications\demo\target\test-classes

 > [INFO] [tools:require-java-version {execution: default}]
 > [INFO] [resources:resources]
 > [INFO] Using default encoding to copy filtered resources.
 > [INFO] [compiler:compile]
 > [INFO] No sources to compile
 > [INFO] [jspc:compile {execution: jspc}]
 > [INFO] Compiling new java files...
 > [INFO]
 >

--

 > --
 > [ERROR] BUILD ERROR
 > [INFO]
 >

--

 > --
 > [INFO] Error
 >
 > Embedded error: basedir 
C:\g\applications\demo\target\jsp-source is

 > not a directory
 > [INFO]
 >

--

 > --
 > [INFO] For more information, run Maven with the -e switch
 > [INFO]
 >

--

 > --
 > [INFO] Total time: 6 minutes 25 seconds
 > [INFO] Finished at: Thu Aug 24 16:29:58 EDT 2006
 > [INFO] Final Memory: 43M/63M
 > [INFO]
 >

--

 > --
 >
 >
 >
 >
 > [2]
 > [INFO]
 >

--

 > --
 > [INFO] Building Geronimo Applications :: Demo
 > [INFO]task-segment: [install]
 > [INFO]
 >

--

 > --
 > [INFO] [tools:require-java-version {execution: default}]
 > [INFO] [resources:resources]
 > [INFO] Using default encoding to 

Re: Strange build error on trunk

2006-08-25 Thread Joe Bohn

in-line

Jason Dillon wrote:

Can you check to see what is in jasper-compiler-jdt-5.5.15.jar?
I think this jar looks fine in my repo.It contains the 
INameEnvironment.class.




Also, not that I think it matters, but you might try to svn co server/trunk.
I did a fresh checkout.  Actually, I had to do a fresh checkout because 
the switch command failed for me (on two different windows machines).




Let me know, I would like to understand why this failure just started... 
and more so why only some folks see it,


--jason


On Aug 25, 2006, at 12:26 AM, Sergey Elin wrote:


In my case it's:
[EMAIL PROTECTED]:/home/cruz/java/geronimo/applications/geronimo-examples/geronimo-jsp-examples(1)$ 
mvn -v

Maven version: 2.0.4
[EMAIL PROTECTED]:/home/cruz/java/geronimo/applications/geronimo-examples/geronimo-jsp-examples(0)$ 
java -version

java version "1.4.2-p7"
Java(TM) 2 Runtime Environment, Standard Edition (build 
1.4.2-p7-_17_may_2006_11_07)

Java HotSpot(TM) Client VM (build 1.4.2-p7-_17_may_2006_11_07, mixed mode)
[EMAIL PROTECTED]:/home/cruz/java/geronimo/applications/geronimo-examples/geronimo-jsp-examples(0)$ 
uname -sr

OpenBSD 4.0

I just got sources from svn and try to build it according BUILDING.txt
First try was 08/23/06 and it was success
Second - yesterday (after switching subversion and update) and it 
finished with this error.



2006/8/25, Jason Dillon <[EMAIL PROTECTED] >:

I have never seen this error.

What version of Maven are you using?  What version of Java?  Did you
compile any Maven plugins locally?  Anything else that could be odd
about your environment?

--jason


On Aug 24, 2006, at 9:17 PM, Joe Bohn wrote:

>
> Is there any new news on this (or a work around)?  It seems that
> Sergey had success with the 1.4.3 version of the jspc plugin.
> However, when I tried that I just get a different error (see below
> [1] ). The demo target includes just a web-fragment.xml file rather
> that a jsp-source directory.
>
> BDudney then recommended I try with the jsp compilation removed
> from demo.  I gave that a shot this evening and got the next error
> ([2] below).  I only removed the reference to the jspc-maven-plugin
> in the demo pom ... perhaps I needed to change something else?
>
> Seems like using 1.4.3 is causing more problems than it's fixing
> for me.  Any other ideas?
>
> Joe
>
>
> [1]
> [INFO]
>
--
> --
> [INFO] Building Geronimo Applications :: Demo
> [INFO]task-segment: [clean, install]
> [INFO]
>
--
> --
> [INFO] [clean:clean]
> [INFO] Deleting directory C:\g\applications\demo\target
> [INFO] Deleting directory C:\g\applications\demo\target\classes
> [INFO] Deleting directory C:\g\applications\demo\target\test-classes
> [INFO] [tools:require-java-version {execution: default}]
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:compile]
> [INFO] No sources to compile
> [INFO] [jspc:compile {execution: jspc}]
> [INFO] Compiling new java files...
> [INFO]
>
--
> --
> [ERROR] BUILD ERROR
> [INFO]
>
--

> --
> [INFO] Error
>
> Embedded error: basedir C:\g\applications\demo\target\jsp-source is
> not a directory
> [INFO]
>
--

> --
> [INFO] For more information, run Maven with the -e switch
> [INFO]
>
--
> --
> [INFO] Total time: 6 minutes 25 seconds
> [INFO] Finished at: Thu Aug 24 16:29:58 EDT 2006
> [INFO] Final Memory: 43M/63M
> [INFO]
>
--
> --
>
>
>
>
> [2]
> [INFO]
>
--
> --
> [INFO] Building Geronimo Applications :: Demo
> [INFO]task-segment: [install]
> [INFO]
>
--
> --
> [INFO] [tools:require-java-version {execution: default}]
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:compile]
> [INFO] No sources to compile
> [INFO] [resources:testResources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:testCompile]
> [INFO] No sources to compile
> [INFO] [surefire:test]
> [INFO] No 

Re: Strange build error on trunk

2006-08-25 Thread Sergey Elin
The same result...2006/8/25, Jason Dillon <[EMAIL PROTECTED]>:

                    repo.mergere.com
            http://repo.mergere.com/maven2            central
            --jason
On Aug 25, 2006, at 2:08 AM, Sergey Elin wrote:Hmm..Can you show your mirrors section from maven's settings.xml?2006/8/25, Jason Dillon <

[EMAIL PROTECTED]>: This still all builds fine for me w/o any modifications to the jspc plugin.
Something else going on...--jason On Aug 25, 2006, at 1:00 AM, Sergey Elin wrote:

It seems there is the wrong configuration for jspc-maven-plugin 1.4.4 in maven 2: required dependency to jasper-compiler-jdt is missing.I just add dependency to plugin's jspc-maven-plugin-1.4.4.pom   and successfully build geronimo-jsp-examples.
 2006/8/25, Jason Dillon <[EMAIL PROTECTED]>:

 Can you send me to full `mvn -X` from the applications/geronimo-examples/geronimo-jsp-examples plz.--jason On Aug 25, 2006, at 12:32 AM, Sergey Elin wrote: 
Yes2006/8/25, Jason Dillon < [EMAIL PROTECTED] 
>: Does this file actually have that class (org/eclipse/jdt/internal/compiler/env/INameEnvironment): 
    /home/cruz/.m2/repository/tomcat/jasper-compiler-jdt/5.5.15/jasper- compiler-jdt-5.5.15.jar

 --jason On Aug 25, 2006, at 12:13 AM, Sergey Elin wrote:Here is a bit more info: 
 [INFO] [jspc:compile {execution: jspc}][DEBUG] execute() starting for 0 pages.[DEBUG] Parent class loader is: [EMAIL PROTECTED][DEBUG] Compilation classpath initialized: /usr/home/cruz/java/geronimo/applications/geronimo-examples/geronimo-jsp-examples/ 
target/jsp-source:/usr/home/cruz/java/geronimo/applications/geronimo-examples/geronimo-jsp-examples/target/classes:/home/cruz /.m2/repository/javax/servlet/jstl/1.1.1/jstl-1.1.1.jar:/home/cruz/.m2/repository/taglibs/standard/1.1.1/standard-1.1.1.jar:/

 home/cruz/.m2/repository/tomcat/jasper-compiler/5.5.15/jasper-compiler-5.5.15.jar:/home/cruz/.m2/repository/tomcat/jasper-com piler-jdt/5.5.15/jasper-compiler-jdt-5.5.15.jar:/home/cruz/.m2/repository/org/apache/geronimo/specs/geronimo-jsp_2.0_spec/1.0

 .1/geronimo-jsp_2.0_spec-1.0.1.jar:/home/cruz/.m2/repository/org/apache/geronimo/specs/geronimo-servlet_2.4_spec/1.0.1/geroni mo-servlet_2.4_spec-1.0.1.jar:[DEBUG] No Java compiler availablejava.lang.NoClassDefFoundError

 : org/eclipse/jdt/internal/compiler/env/INameEnvironment    at java.lang.Class.forName0(Native Method)     at java.lang.Class.forName(Class.java:141)    at org.apache.jasper.JspCompilationContext.createCompiler

 (JspCompilationContext.java:233)    at org.apache.jasper.JspCompilationContext.createCompiler (JspCompilationContext.java:213)    at org.apache.jasper.JspC.processFile(JspC.java:979)    at org.apache.jasper.JspC.execute

 (JspC.java:1135)    at org.codehaus.mojo.jspc.AbstractJspcMojo.execute( AbstractJspcMojo.java:180)    at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)    at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java :534)    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java

 :475)     at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java :454)    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java

 :306)    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments (DefaultLifecycleExecutor.java:273)    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java

 :140)    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)    at org.apache.maven.cli.MavenCli.main(MavenCli.java

 :256)     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)    at sun.reflect.DelegatingMethodAccessorImpl.invoke

 (DelegatingMethodAccessorImpl.java:25)    at java.lang.reflect.Method.invoke (Method.java:324)    at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)    at org.codehaus.classworlds.Launcher.launch

 (Launcher.java:255)    at org.codehaus.classworlds.Launcher.mainWithExitCode (Launcher.java:430)    at org.codehaus.classworlds.Launcher.main(Launcher.java:375)[DEBUG] Generated /usr/home/cruz/java/geronimo/applications/geronimo-examples/geronimo-jsp-examples/target/jsp-source/jsp/sou 
rce_jsp.java total=1401 generate=125 validate=1238[INFO] Built File: /source.jsp[DEBUG] No Java compiler availablejava.lang.NoClassDefFoundError: org/eclipse/jdt/internal/compiler/env/INameEnvironment
    at 
java.lang.Class.forName0(Native Method)    at java.lang.Class.forName(Class.java:141)    at org.apache.jasper.JspCompilationContext.createCompiler(JspCompilationContext.java:233)    at 

Re: Strange build error on trunk

2006-08-25 Thread Joe Bohn

For me it's

Maven version: 2.0.4

java version "1.4.2_08"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_08-b03)
Java HotSpot(TM) Client VM (build 1.4.2_08-b03, mixed mode)

I didn't compile any maven plugins locally.

Anything else?  I'm running on windows XP and most folks I know with 
this problem are also on windows.  However, as with Sergey, there are a 
few folks seeing it on *nix.


Joe


Sergey Elin wrote:

In my case it's:
[EMAIL PROTECTED]:/home/cruz/java/geronimo/applications/geronimo-examples/geronimo-jsp-examples(1)$ 
mvn -v

Maven version: 2.0.4
[EMAIL PROTECTED]:/home/cruz/java/geronimo/applications/geronimo-examples/geronimo-jsp-examples(0)$ 
java -version

java version "1.4.2-p7"
Java(TM) 2 Runtime Environment, Standard Edition (build 
1.4.2-p7-_17_may_2006_11_07)

Java HotSpot(TM) Client VM (build 1.4.2-p7-_17_may_2006_11_07, mixed mode)
[EMAIL PROTECTED]:/home/cruz/java/geronimo/applications/geronimo-examples/geronimo-jsp-examples(0)$ 
uname -sr

OpenBSD 4.0

I just got sources from svn and try to build it according BUILDING.txt
First try was 08/23/06 and it was success
Second - yesterday (after switching subversion and update) and it 
finished with this error.



2006/8/25, Jason Dillon <[EMAIL PROTECTED] >:

I have never seen this error.

What version of Maven are you using?  What version of Java?  Did you
compile any Maven plugins locally?  Anything else that could be odd
about your environment?

--jason


On Aug 24, 2006, at 9:17 PM, Joe Bohn wrote:

 >
 > Is there any new news on this (or a work around)?  It seems that
 > Sergey had success with the 1.4.3 version of the jspc plugin.
 > However, when I tried that I just get a different error (see below
 > [1] ). The demo target includes just a web-fragment.xml file rather
 > that a jsp-source directory.
 >
 > BDudney then recommended I try with the jsp compilation removed
 > from demo.  I gave that a shot this evening and got the next error
 > ([2] below).  I only removed the reference to the jspc-maven-plugin
 > in the demo pom ... perhaps I needed to change something else?
 >
 > Seems like using 1.4.3 is causing more problems than it's fixing
 > for me.  Any other ideas?
 >
 > Joe
 >
 >
 > [1]
 > [INFO]
 >
--
 > --
 > [INFO] Building Geronimo Applications :: Demo
 > [INFO]task-segment: [clean, install]
 > [INFO]
 >
--
 > --
 > [INFO] [clean:clean]
 > [INFO] Deleting directory C:\g\applications\demo\target
 > [INFO] Deleting directory C:\g\applications\demo\target\classes
 > [INFO] Deleting directory C:\g\applications\demo\target\test-classes
 > [INFO] [tools:require-java-version {execution: default}]
 > [INFO] [resources:resources]
 > [INFO] Using default encoding to copy filtered resources.
 > [INFO] [compiler:compile]
 > [INFO] No sources to compile
 > [INFO] [jspc:compile {execution: jspc}]
 > [INFO] Compiling new java files...
 > [INFO]
 >
--
 > --
 > [ERROR] BUILD ERROR
 > [INFO]
 >
--
 > --
 > [INFO] Error
 >
 > Embedded error: basedir C:\g\applications\demo\target\jsp-source is
 > not a directory
 > [INFO]
 >
--
 > --
 > [INFO] For more information, run Maven with the -e switch
 > [INFO]
 >
--
 > --
 > [INFO] Total time: 6 minutes 25 seconds
 > [INFO] Finished at: Thu Aug 24 16:29:58 EDT 2006
 > [INFO] Final Memory: 43M/63M
 > [INFO]
 >
--
 > --
 >
 >
 >
 >
 > [2]
 > [INFO]
 >
--
 > --
 > [INFO] Building Geronimo Applications :: Demo
 > [INFO]task-segment: [install]
 > [INFO]
 >
--
 > --
 > [INFO] [tools:require-java-version {execution: default}]
 > [INFO] [resources:resources]
 > [INFO] Using default encoding to copy filtered resources.
 > [INFO] [compiler:compile]
 > [INFO] No sources to compile
 > [INFO] [resources:testResources]
 > [INFO] Using default encoding to copy filtered resources.
 > [INFO] [compiler:testCompile]
 > [INFO] No sources to compile
 > [INFO] [surefire:test]
 > [INFO] No tests to run.
 > [INFO] [war:war]
 > [INFO] Exploding 

Re: Strange build error on trunk

2006-08-25 Thread Jason Dillon
                    repo.mergere.com            http://repo.mergere.com/maven2            central            --jasonOn Aug 25, 2006, at 2:08 AM, Sergey Elin wrote:Hmm..Can you show your mirrors section from maven's settings.xml?2006/8/25, Jason Dillon <[EMAIL PROTECTED]>: This still all builds fine for me w/o any modifications to the jspc plugin.Something else going on...--jason On Aug 25, 2006, at 1:00 AM, Sergey Elin wrote:It seems there is the wrong configuration for jspc-maven-plugin 1.4.4 in maven 2: required dependency to jasper-compiler-jdt is missing.I just add dependency to plugin's jspc-maven-plugin-1.4.4.pom   and successfully build geronimo-jsp-examples. 2006/8/25, Jason Dillon <[EMAIL PROTECTED]>: Can you send me to full `mvn -X` from the applications/geronimo-examples/geronimo-jsp-examples plz.--jason On Aug 25, 2006, at 12:32 AM, Sergey Elin wrote: Yes2006/8/25, Jason Dillon < [EMAIL PROTECTED] >: Does this file actually have that class (org/eclipse/jdt/internal/compiler/env/INameEnvironment):     /home/cruz/.m2/repository/tomcat/jasper-compiler-jdt/5.5.15/jasper- compiler-jdt-5.5.15.jar --jason On Aug 25, 2006, at 12:13 AM, Sergey Elin wrote:Here is a bit more info:  [INFO] [jspc:compile {execution: jspc}][DEBUG] execute() starting for 0 pages.[DEBUG] Parent class loader is: [EMAIL PROTECTED][DEBUG] Compilation classpath initialized: /usr/home/cruz/java/geronimo/applications/geronimo-examples/geronimo-jsp-examples/ target/jsp-source:/usr/home/cruz/java/geronimo/applications/geronimo-examples/geronimo-jsp-examples/target/classes:/home/cruz /.m2/repository/javax/servlet/jstl/1.1.1/jstl-1.1.1.jar:/home/cruz/.m2/repository/taglibs/standard/1.1.1/standard-1.1.1.jar:/ home/cruz/.m2/repository/tomcat/jasper-compiler/5.5.15/jasper-compiler-5.5.15.jar:/home/cruz/.m2/repository/tomcat/jasper-com piler-jdt/5.5.15/jasper-compiler-jdt-5.5.15.jar:/home/cruz/.m2/repository/org/apache/geronimo/specs/geronimo-jsp_2.0_spec/1.0 .1/geronimo-jsp_2.0_spec-1.0.1.jar:/home/cruz/.m2/repository/org/apache/geronimo/specs/geronimo-servlet_2.4_spec/1.0.1/geroni mo-servlet_2.4_spec-1.0.1.jar:[DEBUG] No Java compiler availablejava.lang.NoClassDefFoundError : org/eclipse/jdt/internal/compiler/env/INameEnvironment    at java.lang.Class.forName0(Native Method)     at java.lang.Class.forName(Class.java:141)    at org.apache.jasper.JspCompilationContext.createCompiler (JspCompilationContext.java:233)    at org.apache.jasper.JspCompilationContext.createCompiler (JspCompilationContext.java:213)    at org.apache.jasper.JspC.processFile(JspC.java:979)    at org.apache.jasper.JspC.execute (JspC.java:1135)    at org.codehaus.mojo.jspc.AbstractJspcMojo.execute( AbstractJspcMojo.java:180)    at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java :534)    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java :475)     at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java :454)    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java :306)    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments (DefaultLifecycleExecutor.java:273)    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java :140)    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)    at org.apache.maven.cli.MavenCli.main(MavenCli.java :256)     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25)    at java.lang.reflect.Method.invoke (Method.java:324)    at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)    at org.codehaus.classworlds.Launcher.launch (Launcher.java:255)    at org.codehaus.classworlds.Launcher.mainWithExitCode (Launcher.java:430)    at org.codehaus.classworlds.Launcher.main(Launcher.java:375)[DEBUG] Generated /usr/home/cruz/java/geronimo/applications/geronimo-examples/geronimo-jsp-examples/target/jsp-source/jsp/sou rce_jsp.java total=1401 generate=125 validate=1238[INFO] Built File: /source.jsp[DEBUG] No Java compiler availablejava.lang.NoClassDefFoundError: org/eclipse/jdt/internal/compiler/env/INameEnvironment    at java.lang.Class.forName0(Native Method)    at java.lang.Class.forName(Class.java:141)    at org.apache.jasper.JspCompilationContext.createCompiler(JspCompilationContext.java:233)    at org.apache.jasper.JspCompilationContext.createCompiler (JspCompilationContext.java:213)    at 

Re: Strange build error on trunk

2006-08-25 Thread Sergey Elin
Hmm..Can you show your mirrors section from maven's settings.xml?2006/8/25, Jason Dillon <[EMAIL PROTECTED]>:
This still all builds fine for me w/o any modifications to the jspc plugin.Something else going on...--jason
On Aug 25, 2006, at 1:00 AM, Sergey Elin wrote:It seems there is the wrong configuration for jspc-maven-plugin 
1.4.4 in maven 2: required dependency to jasper-compiler-jdt is missing.I just add dependency to plugin's jspc-maven-plugin-1.4.4.pom   and successfully build geronimo-jsp-examples.
2006/8/25, Jason Dillon <[EMAIL PROTECTED]>:
 Can you send me to full `mvn -X` from the applications/geronimo-examples/geronimo-jsp-examples plz.--jason On Aug 25, 2006, at 12:32 AM, Sergey Elin wrote:
Yes2006/8/25, Jason Dillon < [EMAIL PROTECTED]
>: Does this file actually have that class (org/eclipse/jdt/internal/compiler/env/INameEnvironment): 
    /home/cruz/.m2/repository/tomcat/jasper-compiler-jdt/5.5.15/jasper- compiler-jdt-5.5.15.jar
 --jason On Aug 25, 2006, at 12:13 AM, Sergey Elin wrote:Here is a bit more info:
 [INFO] [jspc:compile {execution: jspc}][DEBUG] execute() starting for 0 pages.[DEBUG] Parent class loader is: [EMAIL PROTECTED][DEBUG] Compilation classpath initialized: /usr/home/cruz/java/geronimo/applications/geronimo-examples/geronimo-jsp-examples/ 
target/jsp-source:/usr/home/cruz/java/geronimo/applications/geronimo-examples/geronimo-jsp-examples/target/classes:/home/cruz /.m2/repository/javax/servlet/jstl/1.1.1/jstl-1.1.1.jar:/home/cruz/.m2/repository/taglibs/standard/1.1.1/standard-1.1.1.jar:/
 home/cruz/.m2/repository/tomcat/jasper-compiler/5.5.15/jasper-compiler-5.5.15.jar:/home/cruz/.m2/repository/tomcat/jasper-com piler-jdt/5.5.15/jasper-compiler-jdt-5.5.15.jar:/home/cruz/.m2/repository/org/apache/geronimo/specs/geronimo-jsp_2.0_spec/1.0
 .1/geronimo-jsp_2.0_spec-1.0.1.jar:/home/cruz/.m2/repository/org/apache/geronimo/specs/geronimo-servlet_2.4_spec/1.0.1/geroni mo-servlet_2.4_spec-1.0.1.jar:[DEBUG] No Java compiler availablejava.lang.NoClassDefFoundError
 : org/eclipse/jdt/internal/compiler/env/INameEnvironment    at java.lang.Class.forName0(Native Method)     at java.lang.Class.forName(Class.java:141)    at org.apache.jasper.JspCompilationContext.createCompiler
 (JspCompilationContext.java:233)    at org.apache.jasper.JspCompilationContext.createCompiler (JspCompilationContext.java:213)    at org.apache.jasper.JspC.processFile(JspC.java:979)    at org.apache.jasper.JspC.execute
 (JspC.java:1135)    at org.codehaus.mojo.jspc.AbstractJspcMojo.execute( AbstractJspcMojo.java:180)    at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)    at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java :534)    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java
 :475)     at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java :454)    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java
 :306)    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments (DefaultLifecycleExecutor.java:273)    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java
 :140)    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)    at org.apache.maven.cli.MavenCli.main(MavenCli.java
 :256)     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)    at sun.reflect.DelegatingMethodAccessorImpl.invoke
 (DelegatingMethodAccessorImpl.java:25)    at java.lang.reflect.Method.invoke (Method.java:324)    at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)    at org.codehaus.classworlds.Launcher.launch
 (Launcher.java:255)    at org.codehaus.classworlds.Launcher.mainWithExitCode (Launcher.java:430)    at org.codehaus.classworlds.Launcher.main(Launcher.java:375)[DEBUG] Generated /usr/home/cruz/java/geronimo/applications/geronimo-examples/geronimo-jsp-examples/target/jsp-source/jsp/sou 
rce_jsp.java total=1401 generate=125 validate=1238[INFO] Built File: /source.jsp[DEBUG] No Java compiler availablejava.lang.NoClassDefFoundError: org/eclipse/jdt/internal/compiler/env/INameEnvironment    at 
java.lang.Class.forName0(Native Method)    at java.lang.Class.forName(Class.java:141)    at org.apache.jasper.JspCompilationContext.createCompiler(JspCompilationContext.java:233)    at org.apache.jasper.JspCompilationContext.createCompiler
 (JspCompilationContext.java:213)    at org.apache.jasper.JspC.processFile(JspC.java:979)    at org.apache.jasper.JspC.execute(JspC.java:1135)2006/8/25, Joe Bohn < 
[EMAIL PROTECTED]>:
 Is 

Re: Strange build error on trunk

2006-08-25 Thread Jason Dillon
This still all builds fine for me w/o any modifications to the jspc plugin.Something else going on...--jasonOn Aug 25, 2006, at 1:00 AM, Sergey Elin wrote:It seems there is the wrong configuration for jspc-maven-plugin 1.4.4 in maven 2: required dependency to jasper-compiler-jdt is missing.I just add dependency to plugin's jspc-maven-plugin-1.4.4.pom   and successfully build geronimo-jsp-examples.2006/8/25, Jason Dillon <[EMAIL PROTECTED]>: Can you send me to full `mvn -X` from the applications/geronimo-examples/geronimo-jsp-examples plz.--jason On Aug 25, 2006, at 12:32 AM, Sergey Elin wrote:Yes2006/8/25, Jason Dillon < [EMAIL PROTECTED]>: Does this file actually have that class (org/eclipse/jdt/internal/compiler/env/INameEnvironment):     /home/cruz/.m2/repository/tomcat/jasper-compiler-jdt/5.5.15/jasper- compiler-jdt-5.5.15.jar --jason On Aug 25, 2006, at 12:13 AM, Sergey Elin wrote:Here is a bit more info: [INFO] [jspc:compile {execution: jspc}][DEBUG] execute() starting for 0 pages.[DEBUG] Parent class loader is: [EMAIL PROTECTED][DEBUG] Compilation classpath initialized: /usr/home/cruz/java/geronimo/applications/geronimo-examples/geronimo-jsp-examples/ target/jsp-source:/usr/home/cruz/java/geronimo/applications/geronimo-examples/geronimo-jsp-examples/target/classes:/home/cruz /.m2/repository/javax/servlet/jstl/1.1.1/jstl-1.1.1.jar:/home/cruz/.m2/repository/taglibs/standard/1.1.1/standard-1.1.1.jar:/ home/cruz/.m2/repository/tomcat/jasper-compiler/5.5.15/jasper-compiler-5.5.15.jar:/home/cruz/.m2/repository/tomcat/jasper-com piler-jdt/5.5.15/jasper-compiler-jdt-5.5.15.jar:/home/cruz/.m2/repository/org/apache/geronimo/specs/geronimo-jsp_2.0_spec/1.0 .1/geronimo-jsp_2.0_spec-1.0.1.jar:/home/cruz/.m2/repository/org/apache/geronimo/specs/geronimo-servlet_2.4_spec/1.0.1/geroni mo-servlet_2.4_spec-1.0.1.jar:[DEBUG] No Java compiler availablejava.lang.NoClassDefFoundError : org/eclipse/jdt/internal/compiler/env/INameEnvironment    at java.lang.Class.forName0(Native Method)     at java.lang.Class.forName(Class.java:141)    at org.apache.jasper.JspCompilationContext.createCompiler (JspCompilationContext.java:233)    at org.apache.jasper.JspCompilationContext.createCompiler (JspCompilationContext.java:213)    at org.apache.jasper.JspC.processFile(JspC.java:979)    at org.apache.jasper.JspC.execute (JspC.java:1135)    at org.codehaus.mojo.jspc.AbstractJspcMojo.execute( AbstractJspcMojo.java:180)    at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java :534)    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java :475)     at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java :454)    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java :306)    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments (DefaultLifecycleExecutor.java:273)    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java :140)    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)    at org.apache.maven.cli.MavenCli.main(MavenCli.java :256)     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25)    at java.lang.reflect.Method.invoke (Method.java:324)    at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)    at org.codehaus.classworlds.Launcher.launch (Launcher.java:255)    at org.codehaus.classworlds.Launcher.mainWithExitCode (Launcher.java:430)    at org.codehaus.classworlds.Launcher.main(Launcher.java:375)[DEBUG] Generated /usr/home/cruz/java/geronimo/applications/geronimo-examples/geronimo-jsp-examples/target/jsp-source/jsp/sou rce_jsp.java total=1401 generate=125 validate=1238[INFO] Built File: /source.jsp[DEBUG] No Java compiler availablejava.lang.NoClassDefFoundError: org/eclipse/jdt/internal/compiler/env/INameEnvironment    at java.lang.Class.forName0(Native Method)    at java.lang.Class.forName(Class.java:141)    at org.apache.jasper.JspCompilationContext.createCompiler(JspCompilationContext.java:233)    at org.apache.jasper.JspCompilationContext.createCompiler (JspCompilationContext.java:213)    at org.apache.jasper.JspC.processFile(JspC.java:979)    at org.apache.jasper.JspC.execute(JspC.java:1135)2006/8/25, Joe Bohn < [EMAIL PROTECTED]>: Is there any new news on this (or a work around)?  It seems that Sergey had success with the 1.4.3 version of the jspc plugin.  However, 

Re: Strange build error on trunk

2006-08-25 Thread Sergey Elin
It seems there is the wrong configuration for jspc-maven-plugin 1.4.4 in maven 2: required dependency to jasper-compiler-jdt is missing.I just add dependency to plugin's jspc-maven-plugin-1.4.4.pom
  and successfully build geronimo-jsp-examples.2006/8/25, Jason Dillon <[EMAIL PROTECTED]>:
Can you send me to full `mvn -X` from the applications/geronimo-examples/geronimo-jsp-examples plz.--jason
On Aug 25, 2006, at 12:32 AM, Sergey Elin wrote:Yes2006/8/25, Jason Dillon <
[EMAIL PROTECTED]>: Does this file actually have that class (org/eclipse/jdt/internal/compiler/env/INameEnvironment):
    /home/cruz/.m2/repository/tomcat/jasper-compiler-jdt/5.5.15/jasper- compiler-jdt-5.5.15.jar
--jason On Aug 25, 2006, at 12:13 AM, Sergey Elin wrote:Here is a bit more info:
[INFO] [jspc:compile {execution: jspc}][DEBUG] execute() starting for 0 pages.[DEBUG] Parent class loader is: [EMAIL PROTECTED][DEBUG] Compilation classpath initialized: /usr/home/cruz/java/geronimo/applications/geronimo-examples/geronimo-jsp-examples/ 
target/jsp-source:/usr/home/cruz/java/geronimo/applications/geronimo-examples/geronimo-jsp-examples/target/classes:/home/cruz /.m2/repository/javax/servlet/jstl/1.1.1/jstl-1.1.1.jar:/home/cruz/.m2/repository/taglibs/standard/1.1.1/standard-1.1.1.jar:/
 home/cruz/.m2/repository/tomcat/jasper-compiler/5.5.15/jasper-compiler-5.5.15.jar:/home/cruz/.m2/repository/tomcat/jasper-com piler-jdt/5.5.15/jasper-compiler-jdt-5.5.15.jar:/home/cruz/.m2/repository/org/apache/geronimo/specs/geronimo-jsp_2.0_spec/1.0
 .1/geronimo-jsp_2.0_spec-1.0.1.jar:/home/cruz/.m2/repository/org/apache/geronimo/specs/geronimo-servlet_2.4_spec/1.0.1/geroni mo-servlet_2.4_spec-1.0.1.jar:[DEBUG] No Java compiler availablejava.lang.NoClassDefFoundError
 : org/eclipse/jdt/internal/compiler/env/INameEnvironment    at java.lang.Class.forName0(Native Method)     at java.lang.Class.forName(Class.java:141)    at org.apache.jasper.JspCompilationContext.createCompiler
 (JspCompilationContext.java:233)    at org.apache.jasper.JspCompilationContext.createCompiler (JspCompilationContext.java:213)    at org.apache.jasper.JspC.processFile(JspC.java:979)    at org.apache.jasper.JspC.execute
 (JspC.java:1135)    at org.codehaus.mojo.jspc.AbstractJspcMojo.execute( AbstractJspcMojo.java:180)    at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)    at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java :534)    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java
:475)     at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java :454)    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java
 :306)    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments (DefaultLifecycleExecutor.java:273)    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java
 :140)    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)    at org.apache.maven.cli.MavenCli.main(MavenCli.java
:256)     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)    at sun.reflect.DelegatingMethodAccessorImpl.invoke
 (DelegatingMethodAccessorImpl.java:25)    at java.lang.reflect.Method.invoke (Method.java:324)    at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)    at org.codehaus.classworlds.Launcher.launch
 (Launcher.java:255)    at org.codehaus.classworlds.Launcher.mainWithExitCode (Launcher.java:430)    at org.codehaus.classworlds.Launcher.main(Launcher.java:375)[DEBUG] Generated /usr/home/cruz/java/geronimo/applications/geronimo-examples/geronimo-jsp-examples/target/jsp-source/jsp/sou 
rce_jsp.java total=1401 generate=125 validate=1238[INFO] Built File: /source.jsp[DEBUG] No Java compiler availablejava.lang.NoClassDefFoundError: org/eclipse/jdt/internal/compiler/env/INameEnvironment    at 
java.lang.Class.forName0(Native Method)    at java.lang.Class.forName(Class.java:141)    at org.apache.jasper.JspCompilationContext.createCompiler(JspCompilationContext.java:233)    at org.apache.jasper.JspCompilationContext.createCompiler
 (JspCompilationContext.java:213)    at org.apache.jasper.JspC.processFile(JspC.java:979)    at org.apache.jasper.JspC.execute(JspC.java:1135)2006/8/25, Joe Bohn < 
[EMAIL PROTECTED]>:
 Is there any new news on this (or a work around)?  It seems that Sergey had success with the 1.4.3 version of the jspc plugin.  However, when Itried that I just get a different error (see below [1] ). The demo 
target includes just a web-fragment.xml file rather that a 

Re: Strange build error on trunk

2006-08-25 Thread Jason Dillon
Can you send me to full `mvn -X` from the applications/geronimo-examples/geronimo-jsp-examples plz.--jasonOn Aug 25, 2006, at 12:32 AM, Sergey Elin wrote:Yes2006/8/25, Jason Dillon <[EMAIL PROTECTED]>: Does this file actually have that class (org/eclipse/jdt/internal/compiler/env/INameEnvironment):    /home/cruz/.m2/repository/tomcat/jasper-compiler-jdt/5.5.15/jasper- compiler-jdt-5.5.15.jar--jason On Aug 25, 2006, at 12:13 AM, Sergey Elin wrote:Here is a bit more info:[INFO] [jspc:compile {execution: jspc}][DEBUG] execute() starting for 0 pages.[DEBUG] Parent class loader is: [EMAIL PROTECTED][DEBUG] Compilation classpath initialized: /usr/home/cruz/java/geronimo/applications/geronimo-examples/geronimo-jsp-examples/ target/jsp-source:/usr/home/cruz/java/geronimo/applications/geronimo-examples/geronimo-jsp-examples/target/classes:/home/cruz /.m2/repository/javax/servlet/jstl/1.1.1/jstl-1.1.1.jar:/home/cruz/.m2/repository/taglibs/standard/1.1.1/standard-1.1.1.jar:/ home/cruz/.m2/repository/tomcat/jasper-compiler/5.5.15/jasper-compiler-5.5.15.jar:/home/cruz/.m2/repository/tomcat/jasper-com piler-jdt/5.5.15/jasper-compiler-jdt-5.5.15.jar:/home/cruz/.m2/repository/org/apache/geronimo/specs/geronimo-jsp_2.0_spec/1.0 .1/geronimo-jsp_2.0_spec-1.0.1.jar:/home/cruz/.m2/repository/org/apache/geronimo/specs/geronimo-servlet_2.4_spec/1.0.1/geroni mo-servlet_2.4_spec-1.0.1.jar:[DEBUG] No Java compiler availablejava.lang.NoClassDefFoundError : org/eclipse/jdt/internal/compiler/env/INameEnvironment    at java.lang.Class.forName0(Native Method)     at java.lang.Class.forName(Class.java:141)    at org.apache.jasper.JspCompilationContext.createCompiler (JspCompilationContext.java:233)    at org.apache.jasper.JspCompilationContext.createCompiler (JspCompilationContext.java:213)    at org.apache.jasper.JspC.processFile(JspC.java:979)    at org.apache.jasper.JspC.execute (JspC.java:1135)    at org.codehaus.mojo.jspc.AbstractJspcMojo.execute( AbstractJspcMojo.java:180)    at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java :534)    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:475)     at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java :454)    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java :306)    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments (DefaultLifecycleExecutor.java:273)    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java :140)    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)    at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25)    at java.lang.reflect.Method.invoke (Method.java:324)    at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)    at org.codehaus.classworlds.Launcher.launch (Launcher.java:255)    at org.codehaus.classworlds.Launcher.mainWithExitCode (Launcher.java:430)    at org.codehaus.classworlds.Launcher.main(Launcher.java:375)[DEBUG] Generated /usr/home/cruz/java/geronimo/applications/geronimo-examples/geronimo-jsp-examples/target/jsp-source/jsp/sou rce_jsp.java total=1401 generate=125 validate=1238[INFO] Built File: /source.jsp[DEBUG] No Java compiler availablejava.lang.NoClassDefFoundError: org/eclipse/jdt/internal/compiler/env/INameEnvironment    at java.lang.Class.forName0(Native Method)    at java.lang.Class.forName(Class.java:141)    at org.apache.jasper.JspCompilationContext.createCompiler(JspCompilationContext.java:233)    at org.apache.jasper.JspCompilationContext.createCompiler (JspCompilationContext.java:213)    at org.apache.jasper.JspC.processFile(JspC.java:979)    at org.apache.jasper.JspC.execute(JspC.java:1135)2006/8/25, Joe Bohn < [EMAIL PROTECTED]>: Is there any new news on this (or a work around)?  It seems that Sergey had success with the 1.4.3 version of the jspc plugin.  However, when Itried that I just get a different error (see below [1] ). The demo target includes just a web-fragment.xml file rather that a jsp-source directory.BDudney then recommended I try with the jsp compilation removed fromdemo.  I gave that a shot this evening and got the next error ([2] below).  I only removed the reference to the jspc-maven-plugin in the demo pom ... perhaps I needed to change something else?Seems like using 1.4.3 is causing more 

Re: Strange build error on trunk

2006-08-25 Thread Jason Dillon
Can you check to see what is in jasper-compiler-jdt-5.5.15.jar?Also, not that I think it matters, but you might try to svn co server/trunk.Let me know, I would like to understand why this failure just started... and more so why only some folks see it,--jasonOn Aug 25, 2006, at 12:26 AM, Sergey Elin wrote:In my case it's:[EMAIL PROTECTED]:/home/cruz/java/geronimo/applications/geronimo-examples/geronimo-jsp-examples(1)$ mvn -vMaven version: 2.0.4[EMAIL PROTECTED]:/home/cruz/java/geronimo/applications/geronimo-examples/geronimo-jsp-examples(0)$ java -version java version "1.4.2-p7"Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-p7-_17_may_2006_11_07)Java HotSpot(TM) Client VM (build 1.4.2-p7-_17_may_2006_11_07, mixed mode)[EMAIL PROTECTED]:/home/cruz/java/geronimo/applications/geronimo-examples/geronimo-jsp-examples(0)$ uname -sr OpenBSD 4.0I just got sources from svn and try to build it according BUILDING.txtFirst try was 08/23/06 and it was successSecond - yesterday (after switching subversion and update) and it finished with this error. 2006/8/25, Jason Dillon <[EMAIL PROTECTED]>: I have never seen this error.What version of Maven are you using?  What version of Java?  Did youcompile any Maven plugins locally?  Anything else that could be oddabout your environment?--jason On Aug 24, 2006, at 9:17 PM, Joe Bohn wrote:>> Is there any new news on this (or a work around)?  It seems that> Sergey had success with the 1.4.3 version of the jspc plugin.> However, when I tried that I just get a different error (see below > [1] ). The demo target includes just a web-fragment.xml file rather> that a jsp-source directory.>> BDudney then recommended I try with the jsp compilation removed> from demo.  I gave that a shot this evening and got the next error > ([2] below).  I only removed the reference to the jspc-maven-plugin> in the demo pom ... perhaps I needed to change something else?>> Seems like using 1.4.3 is causing more problems than it's fixing > for me.  Any other ideas?>> Joe>>> [1]> [INFO]> --> --> [INFO] Building Geronimo Applications :: Demo > [INFO]task-segment: [clean, install]> [INFO]> --> --> [INFO] [clean:clean]> [INFO] Deleting directory C:\g\applications\demo\target > [INFO] Deleting directory C:\g\applications\demo\target\classes> [INFO] Deleting directory C:\g\applications\demo\target\test-classes> [INFO] [tools:require-java-version {execution: default}]> [INFO] [resources:resources] > [INFO] Using default encoding to copy filtered resources.> [INFO] [compiler:compile]> [INFO] No sources to compile> [INFO] [jspc:compile {execution: jspc}]> [INFO] Compiling new java files... > [INFO]> --> --> [ERROR] BUILD ERROR> [INFO]> -- > --> [INFO] Error>> Embedded error: basedir C:\g\applications\demo\target\jsp-source is> not a directory> [INFO]> -- > --> [INFO] For more information, run Maven with the -e switch> [INFO]> --> --> [INFO] Total time: 6 minutes 25 seconds > [INFO] Finished at: Thu Aug 24 16:29:58 EDT 2006> [INFO] Final Memory: 43M/63M> [INFO]> --> -->>> >> [2]> [INFO]> --> --> [INFO] Building Geronimo Applications :: Demo> [INFO]task-segment: [install] > [INFO]> --> --> [INFO] [tools:require-java-version {execution: default}]> [INFO] [resources:resources]> [INFO] Using default encoding to copy filtered resources. > [INFO] [compiler:compile]> [INFO] No sources to compile> [INFO] [resources:testResources]> [INFO] Using default encoding to copy filtered resources.> [INFO] [compiler:testCompile]> [INFO] No sources to compile > [INFO] [surefire:test]> [INFO] No tests to run.> [INFO] [war:war]> [INFO] Exploding webapp...> [INFO] Copy webapp webResources to C:\g\applications\demo\target> \demo-1.2-SNAPSHOT > [INFO]> --> --> [ERROR] BUILD FAILURE> [INFO]> -- > --> [INFO] The specified web.xml file 'C:\g\applications\demo\target> \jspweb.xml' does not exist> [INFO]> --> -- > [INFO] For more information, run Maven with the -e switch> [INFO]> --> --> [INFO] Total time: 53 seconds> [INFO] Finished at: Thu Aug 24 23:53:18 EDT 2006 > [INFO] Final Memory: 23M/46M> [INFO]> 

Re: Strange build error on trunk

2006-08-25 Thread Sergey Elin
Yes2006/8/25, Jason Dillon <[EMAIL PROTECTED]>:
Does this file actually have that class (org/eclipse/jdt/internal/compiler/env/INameEnvironment):    /home/cruz/.m2/repository/tomcat/jasper-compiler-jdt/5.5.15/jasper-
compiler-jdt-5.5.15.jar--jason
On Aug 25, 2006, at 12:13 AM, Sergey Elin wrote:Here is a bit more info:[INFO] [jspc:compile {execution: jspc}][DEBUG] execute() starting for 0 pages.[DEBUG] Parent class loader is: 
[EMAIL PROTECTED][DEBUG] Compilation classpath initialized: /usr/home/cruz/java/geronimo/applications/geronimo-examples/geronimo-jsp-examples/ target/jsp-source:/usr/home/cruz/java/geronimo/applications/geronimo-examples/geronimo-jsp-examples/target/classes:/home/cruz
/.m2/repository/javax/servlet/jstl/1.1.1/jstl-1.1.1.jar:/home/cruz/.m2/repository/taglibs/standard/1.1.1/standard-1.1.1.jar:/ home/cruz/.m2/repository/tomcat/jasper-compiler/5.5.15/jasper-compiler-5.5.15.jar:/home/cruz/.m2/repository/tomcat/jasper-com
piler-jdt/5.5.15/jasper-compiler-jdt-5.5.15.jar:/home/cruz/.m2/repository/org/apache/geronimo/specs/geronimo-jsp_2.0_spec/1.0 .1/geronimo-jsp_2.0_spec-1.0.1.jar:/home/cruz/.m2/repository/org/apache/geronimo/specs/geronimo-servlet_2.4_spec/1.0.1/geroni
mo-servlet_2.4_spec-1.0.1.jar:[DEBUG] No Java compiler availablejava.lang.NoClassDefFoundError : org/eclipse/jdt/internal/compiler/env/INameEnvironment    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:141)    at org.apache.jasper.JspCompilationContext.createCompiler (JspCompilationContext.java:233)    at org.apache.jasper.JspCompilationContext.createCompiler
(JspCompilationContext.java:213)    at org.apache.jasper.JspC.processFile(JspC.java:979)    at org.apache.jasper.JspC.execute (JspC.java:1135)    at org.codehaus.mojo.jspc.AbstractJspcMojo.execute(
AbstractJspcMojo.java:180)    at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java
:534)    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:475)     at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java
:454)    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java :306)    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments
(DefaultLifecycleExecutor.java:273)    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java :140)    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)    at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25)    at java.lang.reflect.Method.invoke
(Method.java:324)    at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)    at org.codehaus.classworlds.Launcher.launch (Launcher.java:255)    at org.codehaus.classworlds.Launcher.mainWithExitCode
(Launcher.java:430)    at org.codehaus.classworlds.Launcher.main(Launcher.java:375)[DEBUG] Generated /usr/home/cruz/java/geronimo/applications/geronimo-examples/geronimo-jsp-examples/target/jsp-source/jsp/sou 
rce_jsp.java total=1401 generate=125 validate=1238[INFO] Built File: /source.jsp[DEBUG] No Java compiler availablejava.lang.NoClassDefFoundError: org/eclipse/jdt/internal/compiler/env/INameEnvironment    at 
java.lang.Class.forName0(Native Method)    at java.lang.Class.forName(Class.java:141)    at org.apache.jasper.JspCompilationContext.createCompiler(JspCompilationContext.java:233)    at org.apache.jasper.JspCompilationContext.createCompiler
 (JspCompilationContext.java:213)    at org.apache.jasper.JspC.processFile(JspC.java:979)    at org.apache.jasper.JspC.execute(JspC.java:1135)2006/8/25, Joe Bohn < 
[EMAIL PROTECTED]>:
Is there any new news on this (or a work around)?  It seems that Sergey had success with the 1.4.3 version of the jspc plugin.  However, when Itried that I just get a different error (see below [1] ). The demo
target includes just a web-fragment.xml file rather that a jsp-source directory.BDudney then recommended I try with the jsp compilation removed fromdemo.  I gave that a shot this evening and got the next error ([2]
below).  I only removed the reference to the jspc-maven-plugin in the demo pom ... perhaps I needed to change something else?Seems like using 1.4.3 is causing more problems than it's fixing for me.  Any other ideas?
Joe[1][INFO] [INFO] 

Re: Strange build error on trunk

2006-08-25 Thread Jason Dillon
Does this file actually have that class (org/eclipse/jdt/internal/compiler/env/INameEnvironment):    /home/cruz/.m2/repository/tomcat/jasper-compiler-jdt/5.5.15/jasper-compiler-jdt-5.5.15.jar--jasonOn Aug 25, 2006, at 12:13 AM, Sergey Elin wrote:Here is a bit more info:[INFO] [jspc:compile {execution: jspc}][DEBUG] execute() starting for 0 pages.[DEBUG] Parent class loader is: [EMAIL PROTECTED][DEBUG] Compilation classpath initialized: /usr/home/cruz/java/geronimo/applications/geronimo-examples/geronimo-jsp-examples/ target/jsp-source:/usr/home/cruz/java/geronimo/applications/geronimo-examples/geronimo-jsp-examples/target/classes:/home/cruz/.m2/repository/javax/servlet/jstl/1.1.1/jstl-1.1.1.jar:/home/cruz/.m2/repository/taglibs/standard/1.1.1/standard-1.1.1.jar:/ home/cruz/.m2/repository/tomcat/jasper-compiler/5.5.15/jasper-compiler-5.5.15.jar:/home/cruz/.m2/repository/tomcat/jasper-compiler-jdt/5.5.15/jasper-compiler-jdt-5.5.15.jar:/home/cruz/.m2/repository/org/apache/geronimo/specs/geronimo-jsp_2.0_spec/1.0 .1/geronimo-jsp_2.0_spec-1.0.1.jar:/home/cruz/.m2/repository/org/apache/geronimo/specs/geronimo-servlet_2.4_spec/1.0.1/geronimo-servlet_2.4_spec-1.0.1.jar:[DEBUG] No Java compiler availablejava.lang.NoClassDefFoundError : org/eclipse/jdt/internal/compiler/env/INameEnvironment    at java.lang.Class.forName0(Native Method)    at java.lang.Class.forName(Class.java:141)    at org.apache.jasper.JspCompilationContext.createCompiler (JspCompilationContext.java:233)    at org.apache.jasper.JspCompilationContext.createCompiler(JspCompilationContext.java:213)    at org.apache.jasper.JspC.processFile(JspC.java:979)    at org.apache.jasper.JspC.execute (JspC.java:1135)    at org.codehaus.mojo.jspc.AbstractJspcMojo.execute(AbstractJspcMojo.java:180)    at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:475)     at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454)    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java :306)    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java :140)    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)    at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25)    at java.lang.reflect.Method.invoke(Method.java:324)    at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)    at org.codehaus.classworlds.Launcher.launch (Launcher.java:255)    at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)    at org.codehaus.classworlds.Launcher.main(Launcher.java:375)[DEBUG] Generated /usr/home/cruz/java/geronimo/applications/geronimo-examples/geronimo-jsp-examples/target/jsp-source/jsp/sou rce_jsp.java total=1401 generate=125 validate=1238[INFO] Built File: /source.jsp[DEBUG] No Java compiler availablejava.lang.NoClassDefFoundError: org/eclipse/jdt/internal/compiler/env/INameEnvironment    at java.lang.Class.forName0(Native Method)    at java.lang.Class.forName(Class.java:141)    at org.apache.jasper.JspCompilationContext.createCompiler(JspCompilationContext.java:233)    at org.apache.jasper.JspCompilationContext.createCompiler (JspCompilationContext.java:213)    at org.apache.jasper.JspC.processFile(JspC.java:979)    at org.apache.jasper.JspC.execute(JspC.java:1135)2006/8/25, Joe Bohn < [EMAIL PROTECTED]>:Is there any new news on this (or a work around)?  It seems that Sergey had success with the 1.4.3 version of the jspc plugin.  However, when Itried that I just get a different error (see below [1] ). The demotarget includes just a web-fragment.xml file rather that a jsp-source directory.BDudney then recommended I try with the jsp compilation removed fromdemo.  I gave that a shot this evening and got the next error ([2]below).  I only removed the reference to the jspc-maven-plugin in the demo pom ... perhaps I needed to change something else?Seems like using 1.4.3 is causing more problems than it's fixing for me.  Any other ideas?Joe[1][INFO] [INFO] Building Geronimo Applications :: Demo[INFO]task-segment: [clean, 

Re: Strange build error on trunk

2006-08-25 Thread Sergey Elin
In my case it's:[EMAIL PROTECTED]:/home/cruz/java/geronimo/applications/geronimo-examples/geronimo-jsp-examples(1)$ mvn -vMaven version: 2.0.4[EMAIL PROTECTED]:/home/cruz/java/geronimo/applications/geronimo-examples/geronimo-jsp-examples(0)$ java -version
java version "1.4.2-p7"Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-p7-_17_may_2006_11_07)Java HotSpot(TM) Client VM (build 1.4.2-p7-_17_may_2006_11_07, mixed mode)[EMAIL PROTECTED]:/home/cruz/java/geronimo/applications/geronimo-examples/geronimo-jsp-examples(0)$ uname -sr
OpenBSD 4.0I just got sources from svn and try to build it according BUILDING.txtFirst try was 08/23/06 and it was successSecond - yesterday (after switching subversion and update) and it finished with this error.
2006/8/25, Jason Dillon <[EMAIL PROTECTED]>:
I have never seen this error.What version of Maven are you using?  What version of Java?  Did youcompile any Maven plugins locally?  Anything else that could be oddabout your environment?--jason
On Aug 24, 2006, at 9:17 PM, Joe Bohn wrote:>> Is there any new news on this (or a work around)?  It seems that> Sergey had success with the 1.4.3 version of the jspc plugin.> However, when I tried that I just get a different error (see below
> [1] ). The demo target includes just a web-fragment.xml file rather> that a jsp-source directory.>> BDudney then recommended I try with the jsp compilation removed> from demo.  I gave that a shot this evening and got the next error
> ([2] below).  I only removed the reference to the jspc-maven-plugin> in the demo pom ... perhaps I needed to change something else?>> Seems like using 1.4.3 is causing more problems than it's fixing
> for me.  Any other ideas?>> Joe>>> [1]> [INFO]> --> --> [INFO] Building Geronimo Applications :: Demo
> [INFO]task-segment: [clean, install]> [INFO]> --> --> [INFO] [clean:clean]> [INFO] Deleting directory C:\g\applications\demo\target
> [INFO] Deleting directory C:\g\applications\demo\target\classes> [INFO] Deleting directory C:\g\applications\demo\target\test-classes> [INFO] [tools:require-java-version {execution: default}]> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.> [INFO] [compiler:compile]> [INFO] No sources to compile> [INFO] [jspc:compile {execution: jspc}]> [INFO] Compiling new java files...
> [INFO]> --> --> [ERROR] BUILD ERROR> [INFO]> --
> --> [INFO] Error>> Embedded error: basedir C:\g\applications\demo\target\jsp-source is> not a directory> [INFO]> --
> --> [INFO] For more information, run Maven with the -e switch> [INFO]> --> --> [INFO] Total time: 6 minutes 25 seconds
> [INFO] Finished at: Thu Aug 24 16:29:58 EDT 2006> [INFO] Final Memory: 43M/63M> [INFO]> --> -->>>
>> [2]> [INFO]> --> --> [INFO] Building Geronimo Applications :: Demo> [INFO]task-segment: [install]
> [INFO]> --> --> [INFO] [tools:require-java-version {execution: default}]> [INFO] [resources:resources]> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:compile]> [INFO] No sources to compile> [INFO] [resources:testResources]> [INFO] Using default encoding to copy filtered resources.> [INFO] [compiler:testCompile]> [INFO] No sources to compile
> [INFO] [surefire:test]> [INFO] No tests to run.> [INFO] [war:war]> [INFO] Exploding webapp...> [INFO] Copy webapp webResources to C:\g\applications\demo\target> \demo-1.2-SNAPSHOT
> [INFO]> --> --> [ERROR] BUILD FAILURE> [INFO]> --
> --> [INFO] The specified web.xml file 'C:\g\applications\demo\target> \jspweb.xml' does not exist> [INFO]> --> --
> [INFO] For more information, run Maven with the -e switch> [INFO]> --> --> [INFO] Total time: 53 seconds> [INFO] Finished at: Thu Aug 24 23:53:18 EDT 2006
> [INFO] Final Memory: 23M/46M> [INFO]> --> -- Jeff Genender wrote:>> Ok...let me have a crack at it and try to fix the plugin.
>> Jeff>> Rick McGuire wrote:>>> It still fails with 1.4.5-SNAPSHOT (at least on Linux).>> Rick>> Jeff Genender wrote:>>>
 Try upgrading the jspc maven plugin to 

Re: Strange build error on trunk

2006-08-25 Thread Jason Dillon

I have never seen this error.

What version of Maven are you using?  What version of Java?  Did you  
compile any Maven plugins locally?  Anything else that could be odd  
about your environment?


--jason


On Aug 24, 2006, at 9:17 PM, Joe Bohn wrote:



Is there any new news on this (or a work around)?  It seems that  
Sergey had success with the 1.4.3 version of the jspc plugin.   
However, when I tried that I just get a different error (see below  
[1] ). The demo target includes just a web-fragment.xml file rather  
that a jsp-source directory.


BDudney then recommended I try with the jsp compilation removed  
from demo.  I gave that a shot this evening and got the next error  
([2] below).  I only removed the reference to the jspc-maven-plugin  
in the demo pom ... perhaps I needed to change something else?


Seems like using 1.4.3 is causing more problems than it's fixing  
for me.  Any other ideas?


Joe


[1]
[INFO]  
-- 
--

[INFO] Building Geronimo Applications :: Demo
[INFO]task-segment: [clean, install]
[INFO]  
-- 
--

[INFO] [clean:clean]
[INFO] Deleting directory C:\g\applications\demo\target
[INFO] Deleting directory C:\g\applications\demo\target\classes
[INFO] Deleting directory C:\g\applications\demo\target\test-classes
[INFO] [tools:require-java-version {execution: default}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] No sources to compile
[INFO] [jspc:compile {execution: jspc}]
[INFO] Compiling new java files...
[INFO]  
-- 
--

[ERROR] BUILD ERROR
[INFO]  
-- 
--

[INFO] Error

Embedded error: basedir C:\g\applications\demo\target\jsp-source is  
not a directory
[INFO]  
-- 
--

[INFO] For more information, run Maven with the -e switch
[INFO]  
-- 
--

[INFO] Total time: 6 minutes 25 seconds
[INFO] Finished at: Thu Aug 24 16:29:58 EDT 2006
[INFO] Final Memory: 43M/63M
[INFO]  
-- 
--





[2]
[INFO]  
-- 
--

[INFO] Building Geronimo Applications :: Demo
[INFO]task-segment: [install]
[INFO]  
-- 
--

[INFO] [tools:require-java-version {execution: default}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] No sources to compile
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [surefire:test]
[INFO] No tests to run.
[INFO] [war:war]
[INFO] Exploding webapp...
[INFO] Copy webapp webResources to C:\g\applications\demo\target 
\demo-1.2-SNAPSHOT
[INFO]  
-- 
--

[ERROR] BUILD FAILURE
[INFO]  
-- 
--
[INFO] The specified web.xml file 'C:\g\applications\demo\target 
\jspweb.xml' does not exist
[INFO]  
-- 
--

[INFO] For more information, run Maven with the -e switch
[INFO]  
-- 
--

[INFO] Total time: 53 seconds
[INFO] Finished at: Thu Aug 24 23:53:18 EDT 2006
[INFO] Final Memory: 23M/46M
[INFO]  
-- 
--




Jeff Genender wrote:

Ok...let me have a crack at it and try to fix the plugin.
Jeff
Rick McGuire wrote:

It still fails with 1.4.5-SNAPSHOT (at least on Linux).

Rick

Jeff Genender wrote:

Try upgrading the jspc maven plugin to 1.4.5-SNAPSHOT and let me  
know if

that fixes the problem.

Rick McGuire wrote:

I'm getting a strange build error on the latest trunk this  
morning.  For
some reason, building the JSPs in the applications can no  
longer locate
the javac compiler.  At first, I thought I had some set up  
problem on my
Windows system, but when I moved over to my Linux box, I got  
the same
error.  This occurs both on my working build and fresh builds  
on both

platforms.

[INFO]
-- 
--

[ERROR] BUILD ERROR
[INFO]
-- 
--

[INFO] Error

Embedded error: Unable to compile class for JSP

Generated servlet error:
Aug 24, 2006 7:38:42 AM org.apache.jasper.compiler.AntCompiler
generateClass
SEVERE: Javac exception
Unable to find a javac 

Re: Strange build error on trunk

2006-08-25 Thread Sergey Elin
Here is a bit more info:[INFO] [jspc:compile {execution: jspc}][DEBUG] execute() starting for 0 pages.[DEBUG] Parent class loader is: [EMAIL PROTECTED][DEBUG] Compilation classpath initialized: /usr/home/cruz/java/geronimo/applications/geronimo-examples/geronimo-jsp-examples/
target/jsp-source:/usr/home/cruz/java/geronimo/applications/geronimo-examples/geronimo-jsp-examples/target/classes:/home/cruz/.m2/repository/javax/servlet/jstl/1.1.1/jstl-1.1.1.jar:/home/cruz/.m2/repository/taglibs/standard/1.1.1/standard-1.1.1.jar:/
home/cruz/.m2/repository/tomcat/jasper-compiler/5.5.15/jasper-compiler-5.5.15.jar:/home/cruz/.m2/repository/tomcat/jasper-compiler-jdt/5.5.15/jasper-compiler-jdt-5.5.15.jar:/home/cruz/.m2/repository/org/apache/geronimo/specs/geronimo-jsp_2.0_spec/1.0
.1/geronimo-jsp_2.0_spec-1.0.1.jar:/home/cruz/.m2/repository/org/apache/geronimo/specs/geronimo-servlet_2.4_spec/1.0.1/geronimo-servlet_2.4_spec-1.0.1.jar:[DEBUG] No Java compiler availablejava.lang.NoClassDefFoundError
: org/eclipse/jdt/internal/compiler/env/INameEnvironment    at java.lang.Class.forName0(Native Method)    at java.lang.Class.forName(Class.java:141)    at org.apache.jasper.JspCompilationContext.createCompiler
(JspCompilationContext.java:233)    at org.apache.jasper.JspCompilationContext.createCompiler(JspCompilationContext.java:213)    at org.apache.jasper.JspC.processFile(JspC.java:979)    at org.apache.jasper.JspC.execute
(JspC.java:1135)    at org.codehaus.mojo.jspc.AbstractJspcMojo.execute(AbstractJspcMojo.java:180)    at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)    at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:475)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454)    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java
:306)    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java
:140)    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)    at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)    at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)    at java.lang.reflect.Method.invoke(Method.java:324)    at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)    at org.codehaus.classworlds.Launcher.launch
(Launcher.java:255)    at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)    at org.codehaus.classworlds.Launcher.main(Launcher.java:375)[DEBUG] Generated /usr/home/cruz/java/geronimo/applications/geronimo-examples/geronimo-jsp-examples/target/jsp-source/jsp/sou
rce_jsp.java total=1401 generate=125 validate=1238[INFO] Built File: /source.jsp[DEBUG] No Java compiler availablejava.lang.NoClassDefFoundError: org/eclipse/jdt/internal/compiler/env/INameEnvironment    at 
java.lang.Class.forName0(Native Method)    at java.lang.Class.forName(Class.java:141)    at org.apache.jasper.JspCompilationContext.createCompiler(JspCompilationContext.java:233)    at org.apache.jasper.JspCompilationContext.createCompiler
(JspCompilationContext.java:213)    at org.apache.jasper.JspC.processFile(JspC.java:979)    at org.apache.jasper.JspC.execute(JspC.java:1135)2006/8/25, Joe Bohn <
[EMAIL PROTECTED]>:Is there any new news on this (or a work around)?  It seems that Sergey
had success with the 1.4.3 version of the jspc plugin.  However, when Itried that I just get a different error (see below [1] ). The demotarget includes just a web-fragment.xml file rather that a jsp-source
directory.BDudney then recommended I try with the jsp compilation removed fromdemo.  I gave that a shot this evening and got the next error ([2]below).  I only removed the reference to the jspc-maven-plugin in the
demo pom ... perhaps I needed to change something else?Seems like using 1.4.3 is causing more problems than it's fixing for me.  Any other ideas?Joe[1][INFO]
[INFO] Building Geronimo Applications :: Demo[INFO]task-segment: [clean, install][INFO][INFO] [clean:clean][INFO] Deleting directory C:\g\applications\demo\target
[INFO] Deleting directory C:\g\applications\demo\target\classes[INFO] Deleting 

Re: Strange build error on trunk

2006-08-24 Thread Joe Bohn


Is there any new news on this (or a work around)?  It seems that Sergey 
had success with the 1.4.3 version of the jspc plugin.  However, when I 
tried that I just get a different error (see below [1] ). The demo 
target includes just a web-fragment.xml file rather that a jsp-source 
directory.


BDudney then recommended I try with the jsp compilation removed from 
demo.  I gave that a shot this evening and got the next error ([2] 
below).  I only removed the reference to the jspc-maven-plugin in the 
demo pom ... perhaps I needed to change something else?


Seems like using 1.4.3 is causing more problems than it's fixing for me. 
 Any other ideas?


Joe


[1]
[INFO] 


[INFO] Building Geronimo Applications :: Demo
[INFO]task-segment: [clean, install]
[INFO] 


[INFO] [clean:clean]
[INFO] Deleting directory C:\g\applications\demo\target
[INFO] Deleting directory C:\g\applications\demo\target\classes
[INFO] Deleting directory C:\g\applications\demo\target\test-classes
[INFO] [tools:require-java-version {execution: default}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] No sources to compile
[INFO] [jspc:compile {execution: jspc}]
[INFO] Compiling new java files...
[INFO] 


[ERROR] BUILD ERROR
[INFO] 


[INFO] Error

Embedded error: basedir C:\g\applications\demo\target\jsp-source is not 
a directory
[INFO] 


[INFO] For more information, run Maven with the -e switch
[INFO] 


[INFO] Total time: 6 minutes 25 seconds
[INFO] Finished at: Thu Aug 24 16:29:58 EDT 2006
[INFO] Final Memory: 43M/63M
[INFO] 






[2]
[INFO] 


[INFO] Building Geronimo Applications :: Demo
[INFO]task-segment: [install]
[INFO] 


[INFO] [tools:require-java-version {execution: default}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] No sources to compile
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [surefire:test]
[INFO] No tests to run.
[INFO] [war:war]
[INFO] Exploding webapp...
[INFO] Copy webapp webResources to 
C:\g\applications\demo\target\demo-1.2-SNAPSHOT
[INFO] 


[ERROR] BUILD FAILURE
[INFO] 

[INFO] The specified web.xml file 
'C:\g\applications\demo\target\jspweb.xml' does not exist
[INFO] 


[INFO] For more information, run Maven with the -e switch
[INFO] 


[INFO] Total time: 53 seconds
[INFO] Finished at: Thu Aug 24 23:53:18 EDT 2006
[INFO] Final Memory: 23M/46M
[INFO] 





Jeff Genender wrote:

Ok...let me have a crack at it and try to fix the plugin.

Jeff

Rick McGuire wrote:


It still fails with 1.4.5-SNAPSHOT (at least on Linux).

Rick

Jeff Genender wrote:


Try upgrading the jspc maven plugin to 1.4.5-SNAPSHOT and let me know if
that fixes the problem.

Rick McGuire wrote:



I'm getting a strange build error on the latest trunk this morning.  For
some reason, building the JSPs in the applications can no longer locate
the javac compiler.  At first, I thought I had some set up problem on my
Windows system, but when I moved over to my Linux box, I got the same
error.  This occurs both on my working build and fresh builds on both
platforms.

[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Error

Embedded error: Unable to compile class for JSP

Generated servlet error:
Aug 24, 2006 7:38:42 AM org.apache.jasper.compiler.AntCompiler
generateClass
SEVERE: Javac exception
Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK
  at
org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCom
piler(CompilerAdapterFactory.java:105)
  at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:924)
  at 

Re: Strange build error on trunk

2006-08-24 Thread Jeff Genender
Ok...let me have a crack at it and try to fix the plugin.

Jeff

Rick McGuire wrote:
> It still fails with 1.4.5-SNAPSHOT (at least on Linux).
> 
> Rick
> 
> Jeff Genender wrote:
>> Try upgrading the jspc maven plugin to 1.4.5-SNAPSHOT and let me know if
>> that fixes the problem.
>>
>> Rick McGuire wrote:
>>  
>>> I'm getting a strange build error on the latest trunk this morning.  For
>>> some reason, building the JSPs in the applications can no longer locate
>>> the javac compiler.  At first, I thought I had some set up problem on my
>>> Windows system, but when I moved over to my Linux box, I got the same
>>> error.  This occurs both on my working build and fresh builds on both
>>> platforms.
>>>
>>> [INFO]
>>> 
>>> [ERROR] BUILD ERROR
>>> [INFO]
>>> 
>>> [INFO] Error
>>>
>>> Embedded error: Unable to compile class for JSP
>>>
>>> Generated servlet error:
>>> Aug 24, 2006 7:38:42 AM org.apache.jasper.compiler.AntCompiler
>>> generateClass
>>> SEVERE: Javac exception
>>> Unable to find a javac compiler;
>>> com.sun.tools.javac.Main is not on the classpath.
>>> Perhaps JAVA_HOME does not point to the JDK
>>>at
>>> org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCom
>>> piler(CompilerAdapterFactory.java:105)
>>>at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:924)
>>>at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:757)
>>>at
>>> org.apache.jasper.compiler.AntCompiler.generateClass(AntCompiler.java
>>> :219)
>>>at org.apache.jasper.compiler.Compiler.compile(Compiler.java:297)
>>>at org.apache.jasper.compiler.Compiler.compile(Compiler.java:276)
>>>at org.apache.jasper.compiler.Compiler.compile(Compiler.java:264)
>>>at
>>> org.apache.jasper.JspCompilationContext.compile(JspCompilationContext
>>> .java:563)
>>>at
>>> org.apache.jasper.servlet.JspServletWrapper.loadTagFile(JspServletWra
>>> pper.java:210)
>>>at
>>> org.apache.jasper.compiler.TagFileProcessor.loadTagFile(TagFileProces
>>> sor.java:515)
>>>at
>>> org.apache.jasper.compiler.TagFileProcessor.access$000(TagFileProcess
>>> or.java:48)
>>>at
>>> org.apache.jasper.compiler.TagFileProcessor$TagFileLoaderVisitor.visi
>>> t(TagFileProcessor.java:566)
>>>at
>>> org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1441)
>>>at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
>>>at
>>> org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2213)
>>>at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2219)
>>>at org.apache.jasper.compiler.Node$Root.accept(Node.java:456)
>>>at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
>>>at
>>> org.apache.jasper.compiler.TagFileProcessor.loadTagFiles(TagFileProce
>>> ssor.java:584)
>>>at
>>> org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:178)
>>>at org.apache.jasper.compiler.Compiler.compile(Compiler.java:295)
>>>at org.apache.jasper.JspC.processFile(JspC.java:986)
>>>at org.apache.jasper.JspC.execute(JspC.java:1135)
>>>at
>>> org.codehaus.mojo.jspc.AbstractJspcMojo.execute(AbstractJspcMojo.java
>>> :180)
>>>at
>>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
>>> nManager.java:412)
>>>at
>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
>>> ultLifecycleExecutor.java:534)
>>>at
>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
>>> fecycle(DefaultLifecycleExecutor.java:475)
>>>at
>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
>>> ltLifecycleExecutor.java:454)
>>>at
>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
>>> dleFailures(DefaultLifecycleExecutor.java:306)
>>>at
>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
>>> ts(DefaultLifecycleExecutor.java:273)
>>>at
>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
>>> fecycleExecutor.java:140)
>>>at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
>>>at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
>>>at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
>>>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
>>> java:39)
>>>at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
>>> sorImpl.java:25)
>>>at java.lang.reflect.Method.invoke(Method.java:324)
>>>at
>>> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>>>at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>>>at
>>> 

Re: Strange build error on trunk

2006-08-24 Thread Rick McGuire

It still fails with 1.4.5-SNAPSHOT (at least on Linux).

Rick

Jeff Genender wrote:

Try upgrading the jspc maven plugin to 1.4.5-SNAPSHOT and let me know if
that fixes the problem.

Rick McGuire wrote:
  

I'm getting a strange build error on the latest trunk this morning.  For
some reason, building the JSPs in the applications can no longer locate
the javac compiler.  At first, I thought I had some set up problem on my
Windows system, but when I moved over to my Linux box, I got the same
error.  This occurs both on my working build and fresh builds on both
platforms.

[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Error

Embedded error: Unable to compile class for JSP

Generated servlet error:
Aug 24, 2006 7:38:42 AM org.apache.jasper.compiler.AntCompiler
generateClass
SEVERE: Javac exception
Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK
   at
org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCom
piler(CompilerAdapterFactory.java:105)
   at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:924)
   at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:757)
   at
org.apache.jasper.compiler.AntCompiler.generateClass(AntCompiler.java
:219)
   at org.apache.jasper.compiler.Compiler.compile(Compiler.java:297)
   at org.apache.jasper.compiler.Compiler.compile(Compiler.java:276)
   at org.apache.jasper.compiler.Compiler.compile(Compiler.java:264)
   at
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext
.java:563)
   at
org.apache.jasper.servlet.JspServletWrapper.loadTagFile(JspServletWra
pper.java:210)
   at
org.apache.jasper.compiler.TagFileProcessor.loadTagFile(TagFileProces
sor.java:515)
   at
org.apache.jasper.compiler.TagFileProcessor.access$000(TagFileProcess
or.java:48)
   at
org.apache.jasper.compiler.TagFileProcessor$TagFileLoaderVisitor.visi
t(TagFileProcessor.java:566)
   at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1441)
   at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
   at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2213)
   at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2219)
   at org.apache.jasper.compiler.Node$Root.accept(Node.java:456)
   at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
   at
org.apache.jasper.compiler.TagFileProcessor.loadTagFiles(TagFileProce
ssor.java:584)
   at
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:178)
   at org.apache.jasper.compiler.Compiler.compile(Compiler.java:295)
   at org.apache.jasper.JspC.processFile(JspC.java:986)
   at org.apache.jasper.JspC.execute(JspC.java:1135)
   at
org.codehaus.mojo.jspc.AbstractJspcMojo.execute(AbstractJspcMojo.java
:180)
   at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:412)
   at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:534)
   at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
fecycle(DefaultLifecycleExecutor.java:475)
   at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:454)
   at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:306)
   at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:273)
   at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:140)
   at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
   at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
   at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
   at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:324)
   at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
   at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
   at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

   at org.codehaus.classworlds.Launcher.main(Launcher.java:375)


Generated servlet error:
Aug 24, 2006 7:38:42 AM org.apache.jasper.compiler.AntCompiler
generateClass


Generated servlet error:
SEVERE: Env: Compile:
javaFileName=/C:/Geronimo/builds/1.2b/applications/geronim
o-examples/geronimo-jsp-examples/target/jsp-source//org/apache/jsp/tag/web\hello

World_tag.java


Generated servlet error:



  




Re: Strange build error on trunk

2006-08-24 Thread Sergey Elin
Just tried to build with:- 1.4.5-SNAPSHOT - FAIL- 1.4.4 - FAIL- 1.4.3 - SUCCESS2006/8/24, Jeff Genender <[EMAIL PROTECTED]
>:Try upgrading the jspc maven plugin to 1.4.5-SNAPSHOT and let me know ifthat fixes the problem.
Rick McGuire wrote:> I'm getting a strange build error on the latest trunk this morning.  For> some reason, building the JSPs in the applications can no longer locate> the javac compiler.  At first, I thought I had some set up problem on my
> Windows system, but when I moved over to my Linux box, I got the same> error.  This occurs both on my working build and fresh builds on both> platforms.>> [INFO]> 
> [ERROR] BUILD ERROR> [INFO]> > [INFO] Error>> Embedded error: Unable to compile class for JSP>
> Generated servlet error:> Aug 24, 2006 7:38:42 AM org.apache.jasper.compiler.AntCompiler> generateClass> SEVERE: Javac exception> Unable to find a javac compiler;> com.sun.tools.javac.Main
 is not on the classpath.> Perhaps JAVA_HOME does not point to the JDK>at> org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCom> piler(CompilerAdapterFactory.java:105)
>at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:924)>at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:757)>at> org.apache.jasper.compiler.AntCompiler.generateClass
(AntCompiler.java> :219)>at org.apache.jasper.compiler.Compiler.compile(Compiler.java:297)>at org.apache.jasper.compiler.Compiler.compile(Compiler.java:276)>at org.apache.jasper.compiler.Compiler.compile
(Compiler.java:264)>at> org.apache.jasper.JspCompilationContext.compile(JspCompilationContext> .java:563)>at> org.apache.jasper.servlet.JspServletWrapper.loadTagFile(JspServletWra
> pper.java:210)>at> org.apache.jasper.compiler.TagFileProcessor.loadTagFile(TagFileProces> sor.java:515)>at> org.apache.jasper.compiler.TagFileProcessor.access$000
(TagFileProcess> or.java:48)>at> org.apache.jasper.compiler.TagFileProcessor$TagFileLoaderVisitor.visi> t(TagFileProcessor.java:566)>at org.apache.jasper.compiler.Node$CustomTag.accept
(Node.java:1441)>at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)>at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2213)>at org.apache.jasper.compiler.Node$Visitor.visit
(Node.java:2219)>at org.apache.jasper.compiler.Node$Root.accept(Node.java:456)>at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)>at> org.apache.jasper.compiler.TagFileProcessor.loadTagFiles
(TagFileProce> ssor.java:584)>at> org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:178)>at org.apache.jasper.compiler.Compiler.compile(Compiler.java:295)>at 
org.apache.jasper.JspC.processFile(JspC.java:986)>at org.apache.jasper.JspC.execute(JspC.java:1135)>at> org.codehaus.mojo.jspc.AbstractJspcMojo.execute(AbstractJspcMojo.java> :180)
>at> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi> nManager.java:412)>at> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
> ultLifecycleExecutor.java:534)>at> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi> fecycle(DefaultLifecycleExecutor.java:475)>at> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal
(Defau> ltLifecycleExecutor.java:454)>at> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan> dleFailures(DefaultLifecycleExecutor.java:306)>at> 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen> ts(DefaultLifecycleExecutor.java:273)>at> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi> fecycleExecutor.java
:140)>at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)>at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)>at org.apache.maven.cli.MavenCli.main(MavenCli.java
:256)>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)>at> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.> java:39)>at> 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces> sorImpl.java:25)>at java.lang.reflect.Method.invoke(Method.java:324)>at> org.codehaus.classworlds.Launcher.launchEnhanced
(Launcher.java:315)>at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)>at> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)>>at org.codehaus.classworlds.Launcher.main
(Launcher.java:375)>>> Generated servlet error:> Aug 24, 2006 7:38:42 AM org.apache.jasper.compiler.AntCompiler> generateClass>>> Generated servlet error:> SEVERE: Env: Compile:
> javaFileName=/C:/Geronimo/builds/1.2b/applications/geronim> 

Re: Strange build error on trunk

2006-08-24 Thread Jeff Genender
Try upgrading the jspc maven plugin to 1.4.5-SNAPSHOT and let me know if
that fixes the problem.

Rick McGuire wrote:
> I'm getting a strange build error on the latest trunk this morning.  For
> some reason, building the JSPs in the applications can no longer locate
> the javac compiler.  At first, I thought I had some set up problem on my
> Windows system, but when I moved over to my Linux box, I got the same
> error.  This occurs both on my working build and fresh builds on both
> platforms.
> 
> [INFO]
> 
> [ERROR] BUILD ERROR
> [INFO]
> 
> [INFO] Error
> 
> Embedded error: Unable to compile class for JSP
> 
> Generated servlet error:
> Aug 24, 2006 7:38:42 AM org.apache.jasper.compiler.AntCompiler
> generateClass
> SEVERE: Javac exception
> Unable to find a javac compiler;
> com.sun.tools.javac.Main is not on the classpath.
> Perhaps JAVA_HOME does not point to the JDK
>at
> org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCom
> piler(CompilerAdapterFactory.java:105)
>at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:924)
>at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:757)
>at
> org.apache.jasper.compiler.AntCompiler.generateClass(AntCompiler.java
> :219)
>at org.apache.jasper.compiler.Compiler.compile(Compiler.java:297)
>at org.apache.jasper.compiler.Compiler.compile(Compiler.java:276)
>at org.apache.jasper.compiler.Compiler.compile(Compiler.java:264)
>at
> org.apache.jasper.JspCompilationContext.compile(JspCompilationContext
> .java:563)
>at
> org.apache.jasper.servlet.JspServletWrapper.loadTagFile(JspServletWra
> pper.java:210)
>at
> org.apache.jasper.compiler.TagFileProcessor.loadTagFile(TagFileProces
> sor.java:515)
>at
> org.apache.jasper.compiler.TagFileProcessor.access$000(TagFileProcess
> or.java:48)
>at
> org.apache.jasper.compiler.TagFileProcessor$TagFileLoaderVisitor.visi
> t(TagFileProcessor.java:566)
>at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1441)
>at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
>at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2213)
>at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2219)
>at org.apache.jasper.compiler.Node$Root.accept(Node.java:456)
>at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
>at
> org.apache.jasper.compiler.TagFileProcessor.loadTagFiles(TagFileProce
> ssor.java:584)
>at
> org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:178)
>at org.apache.jasper.compiler.Compiler.compile(Compiler.java:295)
>at org.apache.jasper.JspC.processFile(JspC.java:986)
>at org.apache.jasper.JspC.execute(JspC.java:1135)
>at
> org.codehaus.mojo.jspc.AbstractJspcMojo.execute(AbstractJspcMojo.java
> :180)
>at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
> nManager.java:412)
>at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
> ultLifecycleExecutor.java:534)
>at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
> fecycle(DefaultLifecycleExecutor.java:475)
>at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
> ltLifecycleExecutor.java:454)
>at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
> dleFailures(DefaultLifecycleExecutor.java:306)
>at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
> ts(DefaultLifecycleExecutor.java:273)
>at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
> fecycleExecutor.java:140)
>at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
>at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
>at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
>at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
>at java.lang.reflect.Method.invoke(Method.java:324)
>at
> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>at
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> 
>at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> 
> 
> Generated servlet error:
> Aug 24, 2006 7:38:42 AM org.apache.jasper.compiler.AntCompiler
> generateClass
> 
> 
> Generated servlet error:
> SEVERE: Env: Compile:
> javaFileName=/C:/Geronimo/builds/1.2b/applications/geronim
> 

Re: Strange build error on trunk

2006-08-24 Thread Sergey Elin
I have this error too (on my w2k3 and... OpenBSD ;) )2006/8/24, Rick McGuire <[EMAIL PROTECTED]>:
I'm getting a strange build error on the latest trunk this morning.  Forsome reason, building the JSPs in the applications can no longer locatethe javac compiler.  At first, I thought I had some set up problem on my
Windows system, but when I moved over to my Linux box, I got the sameerror.  This occurs both on my working build and fresh builds on bothplatforms.[INFO]
[ERROR] BUILD ERROR[INFO][INFO] ErrorEmbedded error: Unable to compile class for JSPGenerated servlet error:Aug 24, 2006 7:38:42 AM 
org.apache.jasper.compiler.AntCompiler generateClassSEVERE: Javac exceptionUnable to find a javac compiler;com.sun.tools.javac.Main is not on the classpath.Perhaps JAVA_HOME does not point to the JDKat
org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCompiler(CompilerAdapterFactory.java:105)at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:924)at org.apache.tools.ant.taskdefs.Javac.execute
(Javac.java:757)atorg.apache.jasper.compiler.AntCompiler.generateClass(AntCompiler.java:219)at org.apache.jasper.compiler.Compiler.compile(Compiler.java:297)at org.apache.jasper.compiler.Compiler.compile
(Compiler.java:276)at org.apache.jasper.compiler.Compiler.compile(Compiler.java:264)atorg.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563)atorg.apache.jasper.servlet.JspServletWrapper.loadTagFile
(JspServletWrapper.java:210)atorg.apache.jasper.compiler.TagFileProcessor.loadTagFile(TagFileProcessor.java:515)atorg.apache.jasper.compiler.TagFileProcessor.access$000(TagFileProcess
or.java:48)atorg.apache.jasper.compiler.TagFileProcessor$TagFileLoaderVisitor.visit(TagFileProcessor.java:566)at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1441)at 
org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2213)at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2219)at 
org.apache.jasper.compiler.Node$Root.accept(Node.java:456)at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)atorg.apache.jasper.compiler.TagFileProcessor.loadTagFiles(TagFileProce
ssor.java:584)atorg.apache.jasper.compiler.Compiler.generateJava(Compiler.java:178)at org.apache.jasper.compiler.Compiler.compile(Compiler.java:295)at org.apache.jasper.JspC.processFile
(JspC.java:986)at org.apache.jasper.JspC.execute(JspC.java:1135)atorg.codehaus.mojo.jspc.AbstractJspcMojo.execute(AbstractJspcMojo.java:180)atorg.apache.maven.plugin.DefaultPluginManager.executeMojo
(DefaultPluginManager.java:412)atorg.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)atorg.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
fecycle(DefaultLifecycleExecutor.java:475)atorg.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454)atorg.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:306)atorg.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)atorg.apache.maven.lifecycle.DefaultLifecycleExecutor.execute
(DefaultLifecycleExecutor.java:140)at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)at org.apache.maven.cli.MavenCli.main
(MavenCli.java:256)at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)atsun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)at java.lang.reflect.Method.invoke(Method.java:324)atorg.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)at org.codehaus.classworlds.Launcher.launch
(Launcher.java:255)atorg.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)at org.codehaus.classworlds.Launcher.main(Launcher.java:375)Generated servlet error:
Aug 24, 2006 7:38:42 AM org.apache.jasper.compiler.AntCompiler generateClassGenerated servlet error:SEVERE: Env: Compile:javaFileName=/C:/Geronimo/builds/1.2b/applications/geronimo-examples/geronimo-jsp-examples/target/jsp-source//org/apache/jsp/tag/web\hello
World_tag.javaGenerated servlet error: