Hi Ajith,

You don't need the carbon version (4.1.0) in the directory structure. Refer
[1]. Please remove it and add you component without the 4.1.0 directory.

Thanks,
Kishanthan.
[1]
https://docs.google.com/a/wso2.com/document/d/1Kz6vINXA1j74sM8vb8BE0BSIAUnYJH0BERbJxwxi2xQ/edit


On Fri, Apr 26, 2013 at 5:56 PM, <[email protected]> wrote:

> Author: [email protected]
> Date: Fri Apr 26 17:56:48 2013
> New Revision: 171111
> URL: http://wso2.org/svn/browse/wso2?view=rev&revision=171111
>
> Log:
> Fixed test failure
>
> Modified:
>
>  
> carbon/kernel/branches/4.1.0/patches/patch0001/org.wso2.carbon.registry.core/4.1.0/src/test/java/org/wso2/carbon/registry/core/test/utils/BaseTestCase.java
>
> Modified:
> carbon/kernel/branches/4.1.0/patches/patch0001/org.wso2.carbon.registry.core/4.1.0/src/test/java/org/wso2/carbon/registry/core/test/utils/BaseTestCase.java
> URL:
> http://wso2.org/svn/browse/wso2/carbon/kernel/branches/4.1.0/patches/patch0001/org.wso2.carbon.registry.core/4.1.0/src/test/java/org/wso2/carbon/registry/core/test/utils/BaseTestCase.java?rev=171111&r1=171110&r2=171111&view=diff
>
> ==============================================================================
> ---
> carbon/kernel/branches/4.1.0/patches/patch0001/org.wso2.carbon.registry.core/4.1.0/src/test/java/org/wso2/carbon/registry/core/test/utils/BaseTestCase.java
> (original)
> +++
> carbon/kernel/branches/4.1.0/patches/patch0001/org.wso2.carbon.registry.core/4.1.0/src/test/java/org/wso2/carbon/registry/core/test/utils/BaseTestCase.java
> Fri Apr 26 17:56:48 2013
> @@ -50,11 +50,11 @@
>
>      protected void setupCarbonHome() {
>          if (System.getProperty("carbon.home") == null) {
> -            File file = new
> File("../../distribution/kernel/4.0.0/carbon-home");
> +            File file = new
> File("../../../../distribution/kernel/4.1.0/carbon-home");
>              if (file.exists()) {
>                  System.setProperty("carbon.home", file.getAbsolutePath());
>              }
> -            file = new
> File("../../../distribution/kernel/4.0.0/carbon-home");
> +            file = new
> File("../../../../distribution/kernel/4.1.0/carbon-home");
>              if (file.exists()) {
>                  System.setProperty("carbon.home", file.getAbsolutePath());
>              }
> _______________________________________________
> Commits mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/commits
>



-- 
*Kishanthan Thangarajah*
Software Engineer,
Development Technologies Team,
WSO2, Inc.
lean.enterprise.middleware

Mobile - +94773426635
Blog - *http://kishanthan.wordpress.com*
Twitter - *http://twitter.com/kishanthan*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to