Hi Diego,

We have not tested the build on the jdk1.6 version before the release and I
have just now checked it and it is failing exactly in the same way as you
described.

I will look in to this. In the mean time you can get rid of this if you can
switch to jdk1.5

Thanks for helping us to figure this out.

Thanks,
Ruwan.

On 8/6/07, Diego <[EMAIL PROTECTED]> wrote:
>
> Hi,
> I'm using the source distribution of the 1.0 release, maven 2.0.6 and the
> jdk version is:
>
> java version "1.6.0_02"
> Java(TM) SE Runtime Environment (build 1.6.0_02-b06)
>
> When I execute 'mvn clean install -U' there is test failure:
>
> Running org.apache.synapse.config.xml.RegistrySerializationTest
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec
> <<< FAILURE!
>
> If I skip the tests (-Dmaven.test.skip=true) gave the error:
>
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Compilation failure
>
> C:\Documents and Settings\Diego\My
> Documents\Tesi\synapse-
> 1.0-src\modules\extensions\src\main\java\org\apache\s
> ynapse\mediators\bsf\ScriptMediator.java:[216,45]
> unreported exception java.lang.NoSuchMethodException; must be caught or
> declared to be thrown
>
> Thanks
>
> -----Messaggio originale-----
> Da: Ruwan Linton [mailto:[EMAIL PROTECTED]
> Inviato: domenica 5 agosto 2007 17.16
> A: [email protected]
> Oggetto: Re: Build synapse
>
> Hi Diego,
>
> Are you using the source distribution of the 1.0 release? also what is the
> jdk version?
>
> This should be working if you do an online build. (mvn clean install -U).
>
> If you are still unable to get the build working please specify the exact
> environment that you are using so that I can try? I can not reproduce this
> in my machine.
>
> Thanks,
> Ruwan.
>
>
> On 8/4/07, Diego <[EMAIL PROTECTED]> wrote:
> >
> > Hi,
> >
> > i use
> >
> >
> >
> > mvn clean install
> >
> >
> >
> > to build synapse,  but that didnt work. Gave the following error:
> >
> >
> >
> > [INFO]
> >
> > ----------------------------------------------------------------------
> > ------ [INFO] Building Apache Synapse - Extensions
> > [INFO]    task-segment: [install]
> > [INFO]
> >
> > ----------------------------------------------------------------------
> > ------
> > [INFO] [resources:resources]
> > [INFO] Using default encoding to copy filtered resources.
> > [INFO] Copying 4 resources
> > [INFO] [compiler:compile]
> > Compiling 13 source files to C:\Documents and Settings\Diego\My
> > Documents\Tesi\synapse-1.0-src\modules\extensions\target\classes
> > [INFO]
> > ----------------------------------------------------------------------
> > --
> > [ERROR] BUILD FAILURE
> > [INFO]
> > ----------------------------------------------------------------------
> > --
> > [INFO] Compilation failure
> >
> > C:\Documents and Settings\Diego\My
> > Documents\Tesi\synapse-
> > 1.0-src\modules\extensions\src\main\java\org\apache\s
> > ynapse\mediators\bsf\ScriptMediator.java:[216,45]
> > unreported exception java.lang.NoSuchMethodException; must be caught
> > or declared to be thrown
> >
> >
> > Can you please help me, on how to build the source.
> >
> > Thanks in advance.
> >
> >
>
>
> --
> Ruwan Linton
> http://www.wso2.org - "Oxygenating the Web Services Platform"
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Ruwan Linton
http://www.wso2.org - "Oxygenating the Web Services Platform"

Reply via email to