Return-Path: Delivered-To: apmail-ws-synapse-dev-archive@www.apache.org Received: (qmail 63786 invoked from network); 2 Jan 2008 19:18:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Jan 2008 19:18:58 -0000 Received: (qmail 36338 invoked by uid 500); 2 Jan 2008 19:18:46 -0000 Delivered-To: apmail-ws-synapse-dev-archive@ws.apache.org Received: (qmail 36292 invoked by uid 500); 2 Jan 2008 19:18:46 -0000 Mailing-List: contact synapse-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: synapse-dev@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list synapse-dev@ws.apache.org Received: (qmail 36281 invoked by uid 99); 2 Jan 2008 19:18:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jan 2008 11:18:46 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [195.238.6.176] (HELO mailrelay009.isp.belgacom.be) (195.238.6.176) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jan 2008 19:18:33 +0000 X-Belgacom-Dynamic: yes Received: from 74.165-200-80.adsl-dyn.isp.belgacom.be (HELO gate.veithen.net) ([80.200.165.74]) by relay.skynet.be with ESMTP; 02 Jan 2008 20:18:25 +0100 Received: from [192.168.2.5] (unknown [192.168.2.5]) by gate.veithen.net (Postfix) with ESMTP id E824D68593 for ; Wed, 2 Jan 2008 20:18:24 +0100 (CET) Message-Id: <8F32BB82-4A3B-4365-A8B7-27FF58C08FE6@skynet.be> From: Andreas Veithen To: synapse-dev@ws.apache.org In-Reply-To: Content-Type: text/plain; charset=WINDOWS-1252; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v915) Subject: Re: Adding STOMP transport protocol in synapse Date: Wed, 2 Jan 2008 20:18:24 +0100 References: X-Mailer: Apple Mail (2.915) X-Virus-Checked: Checked by ClamAV on apache.org I just noticed that the file wso2caching-core-0.1.jar in the Synapse =20 1.1 binary distribution is not the same as the one from the =20 dist.wso2.org repository. Can somebody explain this? Mehdi, you will be able to compile Synapse 1.1 if you take wso2caching-=20= core-0.1.jar from the binary distribution and put it into your local =20 Maven repository. Andreas On 02 Jan 2008, at 17:55, mehdi ait oufkir wrote: > > Thank you ant but I still have some trouble to build synapse 1.1. > Here is some more information: > I=92m using JDK 1.5 and maven 2.0.6 (I=92ll try to upgrade if it still = =20 > doesn=92t work). I fee like I won=92t be able to build synapse inside =20= > eclipse because the mvn plugin is not precise enough. However when I =20= > try to build it from the command line (mvn clean install) here is =20 > the error I have: > > Compiling 222 source files to /Users/mehdi/ysi/workspace/ysb/modules/=20= > core/target/classes > [INFO] =20 > = ------------------------------------------------------------------------ > [ERROR] BUILD FAILURE > [INFO] =20 > = ------------------------------------------------------------------------ > [INFO] Compilation failure > > /Users/mehdi/ysi/workspace/ysb/modules/core/src/main/java/org/apache/=20= > synapse/mediators/builtin/CacheMediator.java:[151,25] =20 > setResponseEnvelope(byte[]) in org.wso2.caching.CachedObject cannot =20= > be applied to (org.apache.axiom.soap.SOAPEnvelope) > > /Users/mehdi/ysi/workspace/ysb/modules/core/src/main/java/org/apache/=20= > synapse/mediators/builtin/CacheMediator.java:[212,26] =20 > setEnvelope(org.apache.axiom.soap.SOAPEnvelope) in =20 > org.apache.synapse.MessageContext cannot be applied to (byte[]) > > /Users/mehdi/ysi/workspace/ysb/modules/core/src/main/java/org/apache/=20= > synapse/mediators/builtin/CacheMediator.java:[283,17] =20 > setRequestEnvelope(byte[]) in org.wso2.caching.CachedObject cannot =20 > be applied to (org.apache.axiom.soap.SOAPEnvelope) > > /Users/mehdi/ysi/workspace/ysb/modules/core/src/main/java/org/apache/=20= > synapse/mediators/builtin/CacheMediator.java:[284,17] =20 > setRequestHash(java.lang.String) in org.wso2.caching.CachedObject =20 > cannot be applied to (java.lang.Object) > > Let me know what you think. > mehdi > > On 1/2/08 3:55 AM, "ant elder" wrote: > >> In case you've not got past this yet here's some info and Maven =20 >> commands which I find useful, we should add this to the Synapse =20 >> website: >> >> Building Synapse: >> >> Synapse requires JDK 1.5 or later and Maven 2.0.7 or later = (http://maven.apache.org/download.html=20 >> ). >> >> To build, in the top level Synapse folder do: >> >> mvn clean install >> >> Or to build the distribution archive packages do (the distribution =20= >> archives are created in new folder named target): >> >> mvn assembly:assembly -Drelease >> >> The first time you build Maven downloads all the required =20 >> dependency jars to your local repository, after there has been a =20 >> successful build you can add the "-o" parameter to the above =20 >> commands to run in offline mode which avoids going out to remote =20 >> Maven repositories so the build runs faster. Eg >> >> mvn clean install -o >> or >> mvn assembly:assembly -Drelease -o >> >> If you don't want to have all the Synapse test cases run during the =20= >> build you can add the parameter "-Dmaven.test.skip=3Dtrue", eg: >> >> mvn clean install -o -Dmaven.test.skip=3Dtrue >> or >> mvn assembly:assembly -Drelease -o -Dmaven.test.skip=3Dtrue >> >> Sometimes the trunk build uses snapshot versions of some dependency =20= >> jars which can go out of date but may not get refreshed in your =20 >> local Maven repository even when the "-o" parameter is not used. So =20= >> if you get build failures you can try refreshing any snapshot =20 >> dependencys with the "-U" parameter, eg: >> >> mvn clean install -U >> >> By default the Maven local repository is in your home directory, =20 >> you can change this so the build uses use a different local =20 >> repository with the parameter "-Dmaven.repo.local=3D", eg: >> >> mvn clean install -Dmaven.repo.local=3D\Synapse\MyRepo >> >> HTH, >> >> ...ant >> >> On Dec 31, 2007 8:29 PM, mehdi ait oufkir > > > wrote: >>> Hi, >>> So I have issues with maven under eclipse. I guess the =20 >>> installation didn't >>> work properly. When I want to build, it's complaining about:=20 >>> [ERROR] BUILD >>> [INFO] The PluginDescriptor for the plugin >>> org.apache.maven.plugins:maven-resources-plugin was not found >>> >>> I don't know how to solve that. >>> >>> Also, I have a lot of type that cannot be resolved. It seems that =20= >>> I'm >>> missing a lot of apache packages (org.apache.axis2, =20 >>> org.apache.log...) >>> >>> Let me know what I should do to fix those issues. >>> Mehdi. >>> >>> >>> On 12/30/07 7:51 AM, "Paul Fremantle" wrote: >>> >>> > Yes it works fine for me.... let me know if you have any problems. >>> > >>> > Paul >>> > >>> > On Dec 30, 2007 2:38 PM, Asankha C. Perera =20 >>> wrote: >>> >> mehdi ait oufkir wrote: >>> >>> Concerning the build of synapse. Do you have some =20 >>> documentation somewhere or >>> >>> can I build it from eclipse. I have heard about maven but I'm =20= >>> not familiar >>> >>> at all with it, I know more about ant. >>> >>> >>> >> If you have Maven 2.0.6 or later installed on your system, you =20= >>> should be >>> >> able to type "mvn eclipse:eclipse" and it should download any/all >>> >> dependencies and create your Eclipse project correctly.. >>> >> >>> >> If this does not work for any unknown reason, we have a few =20 >>> committers >>> >> like Upul and Ant, who uses Eclipse and they would be able to =20 >>> help you.. >>> >> >>> >> asankha >>> >> >>> >> >>> >> =20 >>> = --------------------------------------------------------------------- >>> >> To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org >>> >> For additional commands, e-mail: synapse-dev-help@ws.apache.org >>> >> >>> >> >>> > >>> > >>> >>> Mehdi Ait Oufkir >>> Webapp lead >>> O: 408.879.9118 x222 | F: 408.879.9117 >>> >>> yousendit >>> 1919 S. Bascom Ave, 3rd Floor | Campbell | CA 95008 >>> Send, Receive, Track. . . www.YouSendIt.com = >> > >>> >>> >>> = --------------------------------------------------------------------- >>> To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org >>> For additional commands, e-mail: synapse-dev-help@ws.apache.org = >> > >>> >> >> > > > Mehdi Ait Oufkir > Webapp lead > O: 408.879.9118 x222 | F: 408.879.9117 > > yousendit > 1919 S. Bascom Ave, 3rd Floor | Campbell | CA 95008 > Send, Receive, Track. . . www.YouSendIt.com --------------------------------------------------------------------- To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org For additional commands, e-mail: synapse-dev-help@ws.apache.org