Hi Asela.

I just did a checkout from svn URL [1], and it compiles ok, but I get a unit 
test failure:

SEVERE: Error while reading expected response from file
java.io.FileNotFoundException: 
/Users/scott/tmp/balana-trunk/balana/modules/balana-core/src/test/resources/advance/3/requests/request_0002_01.xml
 (No such file or directory)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:120)
        at java.io.FileInputStream.<init>(FileInputStream.java:79)
        at org.wso2.balana.TestUtil.createRequest(TestUtil.java:292)
        at 
org.wso2.balana.advance.AdvanceTestV3.testAdvanceTest0001(AdvanceTestV3.java:69)
        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 junit.framework.TestCase.runTest(TestCase.java:168)
        at junit.framework.TestCase.runBare(TestCase.java:134)
        at junit.framework.TestResult$1.protect(TestResult.java:110)
        at junit.framework.TestResult.runProtected(TestResult.java:128)
        at junit.framework.TestResult.run(TestResult.java:113)
        at junit.framework.TestCase.run(TestCase.java:124)
        at junit.framework.TestSuite.runTest(TestSuite.java:243)
        at junit.framework.TestSuite.run(TestSuite.java:238)
        at junit.framework.TestSuite.runTest(TestSuite.java:243)
        at junit.framework.TestSuite.run(TestSuite.java:238)
        at 
org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
        at 
org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119)
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101)
        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.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
        at com.sun.proxy.$Proxy0.invoke(Unknown Source)
        at 
org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
        at 
org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
        at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)

Looks like maybe a test request file, needed to support this test, hasn't been 
checked in?

Other ideas?

Thanks.
--Scott

From: Asela Pathberiya [mailto:[email protected]]
Sent: Tuesday, July 30, 2013 7:07 PM
To: Scott Came
Cc: [email protected]
Subject: Re: [Dev] Latest version of balana

Hi Scott,

Thanks for interesting in WSO2 Balana.....  Correct link for Balana 
implementation is this [1].  This is maintained under WSO2 commons projects [2] 
which basically can be used as independent libraries.   Balana is used by WSO2 
Identity server. Therefore when we are releasing a product,  Balana is branched 
in to carbon svn.  But both in carbon trunk [3] and commons trunk [1] Balana 
sources are in sync (normally svn externals are used)

There is no some thing called  "asela" version... Actually it is some older 
Balana source that i have personally branched for some testing purpose under 
the svn of my name. Sorry for confusion,  i will remove it.  Still Balana is 
created as OSGI bundle. Actually, if you look through svn [1] more carefully, 
you can find that the actually pom files that are inside the sub directories of 
module directory.

[1] https://svn.wso2.org/repos/wso2/trunk/commons/balana/
[2] https://svn.wso2.org/repos/wso2/trunk/commons/
[3] 
http://svn.wso2.org/repos/wso2/carbon/platform/trunk/dependencies/commons/balana/1.0.0-wso2v6/

Thanks,
Asela.

On Wed, Jul 31, 2013 at 6:54 AM, Scott Came 
<[email protected]<mailto:[email protected]>> wrote:
Hello...

Is the current source for balana maintained at 
http://svn.wso2.org/repos/wso2/people/asela/balana/ or 
http://svn.wso2.org/repos/wso2/carbon/platform/trunk/dependencies/commons/balana/1.0.0-wso2v6/
 ?  It appears that the source under the first link hasn't been updated in a 
year or so, while the second link (and the other wso2v's) has more recent 
updates.  But I wanted to ask to be sure.

Also, in the "asela" version (first link above), the pom supports building 
balana as a standalone OSGi bundle.  However, the pom under the platform trunk 
no longer supports that.  Is there any reason, though, why the 
balana/1.0.0-wso2v6 version wouldn't build as an OSGi bundle (assuming I made 
the appropriate changes to the pom)?

Thanks.
--Scott

_______________________________________________
Dev mailing list
[email protected]<mailto:[email protected]>
http://wso2.org/cgi-bin/mailman/listinfo/dev



--
Thanks & Regards,
Asela

Mobile : +94 777 625 933
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to