I was unable to find any issue with our build and hence over writing the addressing mar is not an issue I have committed the change.
Ruwan. On 12/17/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Thanks Ruwan, it does work now. I am using a Windows XP professional environment. Thanks, Tijs > > van: "Ruwan Linton" <[EMAIL PROTECTED]> > datum: 2006/12/17 Sun PM 05:34:21 MET > aan: [email protected] > onderwerp: Re: Re: built Synapse 0.90 src distribution > > This should work. > > BTW: can I know about your env. (OS that U are using for this build)? > > Ruwan. > > On 12/17/06, Ruwan Linton <[EMAIL PROTECTED]> wrote: > > > > Ok Tijs, > > > > This source distribution is working on Ubuntu and Windows but I found the > > same problem when I used a fresh Debian machine. There is something wrong. > > Till I figure out what's wrong with the build I will provide a workaround > > for you. > > > > In the src distribution you will be able to find a pom.xml file in > > modules/core/pom.xml..... > > In that file you can find the following ant task somwhere in the begining > > of the build. > > > > - <#10f913fec124dd5e_> <executions> > > - <#10f913fec124dd5e_> <execution> > > <id>copy</ id> > > <phase>generate-test-resources </phase> > > - <#10f913fec124dd5e_> <goals> > > <goal>copy</ goal> > > </goals> > > - <#10f913fec124dd5e_> <configuration> > > - <#10f913fec124dd5e_> <artifactItems> > > - <#10f913fec124dd5e_> <artifactItem> > > <groupId>org.apache.axis2</ groupId> > > <artifactId>addressing</ artifactId> > > <version>${addressing.version} </version> > > <type>mar</ type> > > <overWrite>false</ overWrite> > > <outputDirectory>target/lib</ outputDirectory> > > </artifactItem> > > </artifactItems> > > </configuration> > > </execution> > > </executions> > > > > It says <overWrite> false</overWrite> when copying addressing mar. You can > > chane it to true so that < overWrite>true</overWrite>. > > > > This should not be the solution for the issue but it is just an > > workaround. > > > > I will attach the modified pom so that You can replace it with the > > existing one. > > > > Thanks, > > Ruwan > > > > > > On 12/17/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > > Hi Ruwan, > > > > > > To be clear, I am using the source distribution of the 0.90 version that > > > I downloaded from the Synapse website. I found out that the problem is that > > > the ws-addressing mar does not get installed in the test-repos. It actually > > > the mar is not available in any place in the Synapse source tree. The > > > strange thing is that in the maven log the following print is given: > > > > > > [INFO] org.apache.axis2:addressing:1.1.051:mar already exists in > > > C:\book\distributions\synapse-0.90-src\modules\core\target\lib > > > > > > Well it doesn't. I run maven with the "mvn clean install" command. > > > I have attached the text file you asked for. > > > > > > Tijs > > > > > > > > > > > van: "Ruwan Linton" <[EMAIL PROTECTED]> > > > > datum: 2006/12/17 Sun AM 12:41:47 MET > > > > aan: [email protected] > > > > onderwerp: Re: built Synapse 0.90 src distribution > > > > > > > > Hi Tijs, > > > > > > > > Can You please attach the test report for the corresponding test case, > > > which > > > > is placed in > > > > > > > $SYNAPSE_SRC/trunk/java/modules/core/target/surfire-reports/org.apache.synapse.core.n2n.SynapseCommodityServiceTest.txt > > > > > > > > Thanks, > > > > Ruwan. > > > > > > > > On 12/17/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > > > > > > > The wso2 maven repository seems to be working now. But I get a test > > > > > failure when building the 0.90 source distribution. The > > > > > SynapseCommodityServiceTest is failing. Does anybody else get this > > > test > > > > > failure? > > > > > > > > > > > > > > > > > van: < [EMAIL PROTECTED]> > > > > > > datum: 2006/12/16 Sat PM 04:29:39 MET > > > > > > aan: <[email protected]> > > > > > > onderwerp: built Synapse 0.90 src distribution > > > > > > > > > > > > Hi all, > > > > > > > > > > > > I am not able to built the Synapse 0.90 src distribution. > > > > > > A lot of poms and jars can not be found like for example > > > > > axis2-rahas/1.1.051 and sandesha2-policy-1.1. > > > > > > Also the dist.wso2.org/maven repository seems to be not > > > responding. > > > > > > > > > > > > Tijs > > > > > > > > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------- > > > > > > Test set: org.apache.synapse.n2n.SynapseCommodityServiceTest > > > > > > ------------------------------------------------------------------------------- > > > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.359sec <<< FAILURE! > > > testN2N(org.apache.synapse.n2n.SynapseCommodityServiceTest) Time > > > elapsed: 0.359 sec <<< ERROR! > > > org.apache.axis2.AxisFault: Trying to engage a module which is not > > > available : addressing > > > at org.apache.axis2.engine.AxisConfiguration.engageModule ( > > > AxisConfiguration.java:356) > > > at org.apache.axis2.deployment.DeploymentEngine.engageModules( > > > DeploymentEngine.java:664) > > > at > > > org.apache.axis2.deployment.FileSystemConfigurator.engageGlobalModules( > > > FileSystemConfigurator.java :124) > > > at > > > org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext > > > (ConfigurationContextFactory.java:71) > > > at > > > org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem ( > > > ConfigurationContextFactory.java:180) > > > at org.apache.synapse.n2n.SynapseCommodityServiceTest.setUp( > > > SynapseCommodityServiceTest.java:53) > > > at junit.framework.TestCase.runBare(TestCase.java:128) > > > at junit.framework.TestResult$1.protect(TestResult.java:106) > > > at junit.framework.TestResult.runProtected(TestResult.java :124) > > > at junit.framework.TestResult.run(TestResult.java:109) > > > at junit.framework.TestCase.run (TestCase.java:120) > > > at junit.framework.TestSuite.runTest(TestSuite.java:230) > > > at junit.framework.TestSuite.run(TestSuite.java:225) > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) > > > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown > > > Source) > > > at java.lang.reflect.Method.invoke(Unknown Source) > > > 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 (Unknown Source) > > > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown > > > Source) > > > at java.lang.reflect.Method.invoke(Unknown Source) > > > at > > > org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess ( > > > SurefireBooter.java:225) > > > at org.apache.maven.surefire.booter.SurefireBooter.main( > > > SurefireBooter.java:747) > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
