You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Scott Warren <ap...@gmail.com> on 2006/06/27 08:16:10 UTC

Cocoon 2.1.9 Compile Error

Hi,

I am getting a compile error with Cocoon 2.1.9 (I Just downloaded the
snapshot)
Here is the message

Compiling 448 source files to C:\Java\Lib\cocoon-2.1.9\build\cocoon\classes
C:\Java\Lib\cocoon-
2.1.9\src\java\org\apache\cocoon\components\flow\javascript\f
om\FOM_JavaScriptInterpreter.java:664: unreported exception
org.apache.regexp.RE
SyntaxException; must be caught or declared to be thrown
    REProgram encodingRE = new
RECompiler().compile("^.*encoding\\s*=\\s*([^\\s]
*)");
                                                   ^

I am also using the following version of java on windows xp
java version "1.5.0_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing)

I found some clues that suggest maybe it's a JDK problem ? Any Ideas?

Regards

Scott Warren

Re: Cocoon 2.1.9 Compile Error

Posted by Bertrand Delacretaz <bd...@apache.org>.
On 6/28/06, Scott Warren <ap...@gmail.com> wrote:

> ...Turns out that it's the JDK (Version 1.5.0_06-b05) that has issues with
> compiling the code..

thanks for the info,
-Bertrand

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Cocoon 2.1.9 Compile Error

Posted by Antonio Gallardo <ag...@agssa.net>.
Scott Warren escribió:
> Solved!
>
> Turns out that it's the JDK (Version 1.5.0_06-b05) that has issues 
> with compiling the code. So I went back to 1.5.0_02 and it compiled 
> successfully.
Or go to build 1.5.0_07-b03 ;-)

Best Regards,

Antonio Gallardo.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Cocoon 2.1.9 Compile Error

Posted by Scott Warren <ap...@gmail.com>.
Solved!

Turns out that it's the JDK (Version 1.5.0_06-b05) that has issues with
compiling the code. So I went back to 1.5.0_02 and it compiled successfully.

Regards


Scott Warren

On 6/27/06, Scott Warren <ap...@gmail.com> wrote:
>
> Thanks I will download from SVN. I think there maybe another problem
> somewhere else though.
>
> Regards
>
> Scott Warren
>
>
> On 6/27/06, Bertrand Delacretaz <bd...@apache.org> wrote:
> >
> > On 6/27/06, Scott Warren <ap...@gmail.com> wrote:
> >
> > ...> I am getting a compile error with Cocoon 2.1.9 (I Just downloaded
> > the
> > > snapshot) ...
> >
> > FWIW, I just did a successful full build of the current SVN code using
> > JDK 1.5.0_06 on MacOSX.
> >
> > -Bertrand
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> > For additional commands, e-mail: users-help@cocoon.apache.org
> >
> >
>

Re: Cocoon 2.1.9 Compile Error

Posted by Scott Warren <ap...@gmail.com>.
Thanks I will download from SVN. I think there maybe another problem
somewhere else though.

Regards

Scott Warren

On 6/27/06, Bertrand Delacretaz <bd...@apache.org> wrote:
>
> On 6/27/06, Scott Warren <ap...@gmail.com> wrote:
>
> ...> I am getting a compile error with Cocoon 2.1.9 (I Just downloaded the
> > snapshot) ...
>
> FWIW, I just did a successful full build of the current SVN code using
> JDK 1.5.0_06 on MacOSX.
>
> -Bertrand
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>

Re: Cocoon 2.1.9 Compile Error

Posted by Bertrand Delacretaz <bd...@apache.org>.
On 6/27/06, Scott Warren <ap...@gmail.com> wrote:

...> I am getting a compile error with Cocoon 2.1.9 (I Just downloaded the
> snapshot) ...

FWIW, I just did a successful full build of the current SVN code using
JDK 1.5.0_06 on MacOSX.

-Bertrand

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org