You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@synapse.apache.org by Diego <di...@hotmail.com> on 2007/08/04 16:54:31 UTC

Build synapse

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.


Re: Build synapse

Posted by Paul Fremantle <pz...@gmail.com>.
The normal build is

mvn clean install
mvn assembly:assembly -Drelease

I don't understand what happened there. Try -U to update your repo?

Paul

On 8/4/07, Diego <di...@hotmail.com> 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.
>
>


-- 
Paul Fremantle
Co-Founder and VP of Technical Sales, WSO2
OASIS WS-RX TC Co-chair

blog: http://pzf.fremantle.org
paul@wso2.com

"Oxygenating the Web Service Platform", www.wso2.com

---------------------------------------------------------------------
To unsubscribe, e-mail: synapse-user-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-user-help@ws.apache.org


Re: R: Build synapse

Posted by Ruwan Linton <ru...@gmail.com>.
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 <di...@hotmail.com> 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:ruwan.linton@gmail.com]
> Inviato: domenica 5 agosto 2007 17.16
> A: synapse-user@ws.apache.org
> 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 <di...@hotmail.com> 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: synapse-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: synapse-user-help@ws.apache.org
>
>


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

R: Build synapse

Posted by Diego <di...@hotmail.com>.
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:ruwan.linton@gmail.com] 
Inviato: domenica 5 agosto 2007 17.16
A: synapse-user@ws.apache.org
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 <di...@hotmail.com> 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: synapse-user-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-user-help@ws.apache.org


Re: Build synapse

Posted by Ruwan Linton <ru...@gmail.com>.
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 <di...@hotmail.com> 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"