Hi,

AFAIR there was an issue with SecVerifier.aar being copied from 3.2.0
distribution. (Not sure if its the same issue you facing). Try building
core/distribution/3.2.0 first.

thanks,

On Fri, May 4, 2012 at 2:42 PM, Ramith Jayasinghe <[email protected]> wrote:

> HI Achala,
>  Im trying to build the source pack (e.g.
> wso2brs-1.2.0-SNAPSHOT-src.zip, wso2csg-1.0.0-alpha-src.zip ). So
> maven can't find the SecVerifier.aar,  which is configured using a
> property in pom.xml ( i.e. sec.verifier.dir).
> So there needs to be a way to ship this file with the packs?
>
> Regards,
> Ramith
>
>
> On Fri, May 4, 2012 at 2:36 PM, Achala Aponso <[email protected]> wrote:
> > Hi,
> >
> > I think SecVerifier.aar is produced at products/integration. You have to
> > build it too.
> >
> > On Fri, May 4, 2012 at 2:29 PM, Ramith Jayasinghe <[email protected]>
> wrote:
> >>
> >> HI Guys,
> >>  I built the Esb and CSG source packs from the trunk and unzipped them
> >> checked weather they are build-able.
> >>  Apparently there are not. Both packs fails to build because of test
> >> failures/skips and the reason for  failures is tests are unable to
> >> find 'SecVerifier.aar'
> >>  I'm guessing this may be problem that will appear in all our products?
> >>  Any ideas on how we can solve this?
> >>
> >> Here's the stack trace from ESB source pack.
> >>
> >>
> >> Caused by:
> >> org.testng.internal.InvokeMethodRunnable$TestNGRuntimeException:
> >> java.lang.AssertionError:
> >>
> >>
> /home/recover/svn/platform/products/esb/modules/distribution/product/target/wso2esb-4.5.0-SNAPSHOT-src/modules/integration/endpoints/../../../../integration/security-verifier/target/SecVerifier.aar
> >> does not exist
> >>        at
> >>
> org.testng.internal.InvokeMethodRunnable.runOne(InvokeMethodRunnable.java:49)
> >>        at
> >>
> org.testng.internal.InvokeMethodRunnable.run(InvokeMethodRunnable.java:37)
> >>        at
> >> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
> >>        at
> >> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> >>        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> >>        at
> >>
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> >>        at
> >>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> >>        at java.lang.Thread.run(Thread.java:662)
> >> Caused by: java.lang.AssertionError:
> >>
> >>
> /home/recover/svn/platform/products/esb/modules/distribution/product/target/wso2esb-4.5.0-SNAPSHOT-src/modules/integration/endpoints/../../../../integration/security-verifier/target/SecVerifier.aar
> >> does not exist
> >>        at
> >>
> org.wso2.carbon.integration.framework.utils.TestUtil.copySecurityVerificationService(TestUtil.java:47)
> >>        at
> >>
> org.wso2.carbon.integration.framework.TestServerManager.startServer(TestServerManager.java:77)
> >>        at
> >>
> org.wso2.esb.integration.ESBTestServerManager.startServer(ESBTestServerManager.java:24)
> >>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >>        at
> >>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> >>        at
> >>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> >>        at java.lang.reflect.Method.invoke(Method.java:597)
> >>        at
> >>
> org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
> >>        at
> >>
> org.testng.internal.InvokeMethodRunnable.runOne(InvokeMethodRunnable.java:46)
> >>        ... 7 more
> >>
> >>
> >> Out put from CSG:
> >>
> >> Failed tests:
> >> startServer(org.wso2.csg.integration.tests.CSGTestServerManager):
> >> org.testng.internal.InvokeMethodRunnable$TestNGRuntimeException:
> >> java.lang.AssertionError:
> >>
> >>
> /home/recover/svn/platform/products/csg/modules/distribution/product/target/wso2csg-1.0.0-alpha-src/modules/integration/product/../../../../integration/security-verifier/target/SecVerifier.aar
> >> does not exist
> >>
> >> Tests run: 20, Failures: 1, Errors: 0, Skipped: 19
> >>
> >>
> >> Output from BRS:
> >>
> >>
> >> org.testng.internal.thread.ThreadExecutionException:
> >> org.testng.internal.InvokeMethodRunnable$TestNGRuntimeException:
> >> java.lang.AssertionError:
> >>
> >>
> /home/recover/svn/platform/products/brs/modules/distribution/product/target/wso2brs-1.2.0-SNAPSHOT-src/modules/integration/org.wso2.carbon.brs.integration.sample.test/../../../../integration/security-verifier/target/SecVerifier.aar
> >> does not exist
> >>        at
> >>
> org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:76)
> >>        at
> >>
> org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:161)
> >>        at
> >>
> org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:101)
> >>        at
> >>
> org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:115)
> >>        at
> >>
> org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
> >>        at
> >>
> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
> >>        at
> >>
> org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
> >>        at
> >>
> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
> >>        at
> >> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
> >>        at
> >> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
> >>        at
> >> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> >>        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> >>        at
> >>
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> >>        at
> >>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> >>        at java.lang.Thread.run(Thread.java:662)
> >> Caused by: java.lang.AssertionError:
> >>
> >>
> /home/recover/svn/platform/products/brs/modules/distribution/product/target/wso2brs-1.2.0-SNAPSHOT-src/modules/integration/org.wso2.carbon.brs.integration.sample.test/../../../../integration/security-verifier/target/SecVerifier.aar
> >> does not exist
> >>        at
> >>
> org.wso2.carbon.integration.framework.utils.TestUtil.copySecurityVerificationService(TestUtil.java:47)
> >>        at
> >>
> org.wso2.carbon.integration.framework.TestServerManager.startServer(TestServerManager.java:77)
> >>        at
> >>
> org.wso2.carbon.samples.test.BRSTestServerManager.startServer(BRSTestServerManager.java:41)
> >>        ... 7 more
> >> ... Removed 26 stack frames
> >>
> >>
> >> Regards,
> >> Ramith
> >> _______________________________________________
> >> Dev mailing list
> >> [email protected]
> >> http://wso2.org/cgi-bin/mailman/listinfo/dev
> >
> >
> >
> >
> > --
> > Achala Aponso
> > Software Engineer; WSO2 Inc.; http://wso2.com,
> > Email: [email protected] Mobile: +94 (77) 5234925
> > Blog: http://achala11.blogspot.com/
> >
> >
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>



-- 
Supun Malinga,

Software Engineer,
WSO2 Inc.
http://wso2.com
http://wso2.org
email - [email protected] <[email protected]>
mobile - 071 56 91 321
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to