Re: [Dev] Build error /carbon/kernel/branches/4.0.0/patch-releases/4.0.5

2012-11-21 Thread Jeewantha Dharmaparakrama
when
dependency
groupIdorg.apache.ws.commons.axiom/groupId
artifactIdaxiom/artifactId
version1.2.11-wso2v3/version
/dependency
is added to a pom , maven downloads version1.2.11-wso2v2/version
Therefor the kernal cannot be built with a clean local repository.

The ant-run-plugin in
kernel/4.0.0/service-stubs/org.wso2.carbon.user.mgt.stub/4.0.5/pom.xmlneeds
pathelement
location=${settings.localRepository}/org/apache/ws/commons/axiom/wso2/axiom/1.2.11.wso2
v3/axiom-1.2.11.wso2v3.jar/

This is why this build error occurs. Can somebody please check if this can
be resolved?
Thanks,
Jeewantha.



On Tue, Nov 20, 2012 at 9:58 PM, Nuwan Dias nuw...@wso2.com wrote:

 This was fixed. Please update
 kernel/4.0.0/service-stubs/org.wso2.carbon.user.mgt.stub and re-build.

 Thanks,
 NuwanD.


 On Tue, Nov 20, 2012 at 7:21 PM, Jeewantha Dharmaparakrama 
 jeewan...@wso2.com wrote:

 $subject pls. The error message:

 [INFO] -
 [ERROR] COMPILATION ERROR :
 [INFO] -
 [ERROR]
 /media/Development/Work/kernel/4.0.0/core/org.wso2.carbon.user.mgt.ui/4.0.5/src/main/java/org/wso2/carbon/user/mgt/ui/UserAdminClient.java:[31,0]
 error: package org.wso2.carbon.user.mgt.stub does not exist
 [ERROR]
 /media/Development/Work/kernel/4.0.0/core/org.wso2.carbon.user.mgt.ui/4.0.5/src/main/java/org/wso2/carbon/user/mgt/ui/UserAdminClient.java:[42,14]
 error: cannot find symbol
 [ERROR]  class UserAdminClient
 /media/Development/Work/kernel/4.0.0/core/org.wso2.carbon.user.mgt.ui/4.0.5/src/main/java/org/wso2/carbon/user/mgt/ui/Util.java:[20,49]
 error: package org.wso2.carbon.user.mgt.stub.types.carbon does not exist
 [ERROR]
 /media/Development/Work/kernel/4.0.0/core/org.wso2.carbon.user.mgt.ui/4.0.5/src/main/java/org/wso2/carbon/user/mgt/ui/Util.java:[21,49]
 error: package org.wso2.carbon.user.mgt.stub.types.carbon does not exist
 [ERROR]
 /media/Development/Work/kernel/4.0.0/core/org.wso2.carbon.user.mgt.ui/4.0.5/src/main/java/org/wso2/carbon/user/mgt/ui/Util.java:[22,49]
 error: package org.wso2.carbon.user.mgt.stub.types.carbon does not exist
 [ERROR]
 /media/Development/Work/kernel/4.0.0/core/org.wso2.carbon.user.mgt.ui/4.0.5/src/main/java/org/wso2/carbon/user/mgt/ui/Util.java:[23,49]
 error: package org.wso2.carbon.user.mgt.stub.types.carbon does not exist
 [ERROR]
 /media/Development/Work/kernel/4.0.0/core/org.wso2.carbon.user.mgt.ui/4.0.5/src/main/java/org/wso2/carbon/user/mgt/ui/Util.java:[34,18]
 error: cannot find symbol
 [ERROR]  class Util
 /media/Development/Work/kernel/4.0.0/core/org.wso2.carbon.user.mgt.ui/4.0.5/src/main/java/org/wso2/carbon/user/mgt/ui/Util.java:[53,12]
 error: cannot find symbol
 [ERROR]  class Util

 ..
 .
 [INFO] -
 [INFO]
 
 [INFO] Reactor Summary:
 [INFO]
 [INFO] WSO2 Carbon - User Management Stub  SUCCESS
 [2.083s]
 [INFO] WSO2 Carbon - Aggregate Pom ... SUCCESS
 [0.062s]
 [INFO] WSO2 Carbon - Patch releases - service-stubs - Aggregator Module
 SUCCESS [0.004s]
 [INFO] WSO2 Carbon - Utilities ... SUCCESS
 [4.387s]
 [INFO] WSO2 Carbon - User Manager Kernel . SUCCESS
 [3.687s]
 [INFO] WSO2 Carbon - Registry Kernel . SUCCESS
 [26.638s]
 [INFO] WSO2 Carbon - Kernel .. SUCCESS
 [4.879s]
 [INFO] WSO2 Carbon - User Management Common .. SUCCESS
 [0.684s]
 [INFO] WSO2 Carbon - User Management . SUCCESS
 [1.469s]
 [INFO] WSO2 Carbon - User Management UI .. FAILURE
 [0.631s]
 [INFO] WSO2 Carbon - Patch releases - core - Aggregator Module  SKIPPED
 [INFO] WSO2 Carbon - Carbon Common Feature ... SKIPPED
 [INFO] WSO2 Carbon - Carbon UI Feature ... SKIPPED
 [INFO] WSO2 Carbon - Carbon Server Feature ... SKIPPED
 [INFO] WSO2 Carbon - Carbon Feature .. SKIPPED
 [INFO] WSO2 Carbon - Patch releases - features - Aggregator Module
 SKIPPED
 [INFO] WSO2 Carbon Core - Distribution ... SKIPPED
 [INFO] WSO2 Carbon - Integration . SKIPPED
 [INFO] WSO2 Carbon - Security Verification Service ... SKIPPED
 [INFO] WSO2 Carbon - Integration Core  SKIPPED
 [INFO] WSO2 Carbon - Integration Testing Framework ... SKIPPED
 [INFO] WSO2 Carbon - Integration Tests ... SKIPPED
 [INFO] WSO2 Carbon - Patch releases - distribution - Aggregator Module
 SKIPPED
 [INFO]
 
 [INFO] BUILD FAILURE
 [INFO]
 
 [INFO] Total time: 45.607s
 [INFO] Finished at: Tue Nov 20 19:18:01 IST 2012
 [INFO] 

Re: [Dev] G Reg goveranance dashboard does not have gadgets.

2012-11-21 Thread Shelan Perera
Hi all,

Any idea on this error please.

Thanks

On Fri, Nov 9, 2012 at 11:47 AM, Shelan Perera she...@wso2.com wrote:

 Hi

 $Subject was observed. This is there only in the latest pack. [1]. I could
 observe the following exception with Firebug.

 NS_ERROR_ILLEGAL_VALUE: Component returned failure code: 0x80070057 
 (NS_ERROR_ILLEGAL_VALUE) [nsIDOMXPathEvaluator.evaluate]

 request = new ActiveXObject(Msxml2.XMLHTTP);




 [1] http://builder1.us1.wso2.org/~lakmali/4.0.4-2012-11-09-1/


 --
 *Shelan Perera*

 Software Engineer
 **
 *WSO2, Inc. : wso2.com*
 lean.enterprise.middleware.

 *Home Page*  :shelan.org
 *Blog* : blog.shelan.org
 *Linked-i*n  :http://www.linkedin.com/pub/shelan-perera/a/194/465
 *Twitter* :https://twitter.com/#!/shelan

 *Mobile*  : +94 772 604 402





-- 
*Shelan Perera*

Software Engineer
**
*WSO2, Inc. : wso2.com*
lean.enterprise.middleware.

*Home Page*  :shelan.org
*Blog* : blog.shelan.org
*Linked-i*n  :http://www.linkedin.com/pub/shelan-perera/a/194/465
*Twitter* :https://twitter.com/#!/shelan

*Mobile*  : +94 772 604 402
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [Bamboo-Build] WSO2 Carbon 4.0.x Platform 4.0.4 #55 was SUCCESSFUL (with 973 tests). Change made by 21 authors.

2012-11-21 Thread Bamboo

---
WSO2 Carbon 4.0.x  Platform 4.0.4  #55 was successful.
---
This build was manually triggered by Maheshika Goonetilleke.
973 tests in total.

http://wso2.org/bamboo/browse/WCB001-PLA004-55/




--
Code Changes
--
janaka (148613):

Adding new versions to the build and to the product


nuwanw (148635):

used admin user for the test cases

sinthuja (148651):

fixing issue in the tenant id retrieval



--
This message is automatically generated by Atlassian Bamboo___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Refactoring CarbonContext#getRegistry() to be tenant aware. {[Commits] [Carbon-kernel] svn commit r148829 - carbon/kernel/branches/4.0.0/core/org.wso2.carbon.utils/4.0.5/src/main/java/org/wso2/c

2012-11-21 Thread Muhammed Shariq
Hi folks,

While debugging some CC related issue, we figured that the CarbonContext
was not setting the Registry in a tenant aware manner, it was simple
returning the ST registry as follows,

- carbonContextDataHolder.getConfigSystemRegistry();
- carbonContextDataHolder.getConfigUserRegistry();

I have modified it to return the particular tenant's registries. However I
couldn't find appropriate methods to in the registryService to obtain
UserConfig registry and UserGovernance registry, so after a chat with Azeez
we decided to return null instead of returning the ST registry ..

GReg folks, how do we retrieve the tenant specific UserConfig and
UserGovernance registry ?!

Also please review the commit and holler if there are any concerns / issues
..

-- Forwarded message --
From: sha...@wso2.com
Date: Wed, Nov 21, 2012 at 11:21 PM
Subject: [Commits] [Carbon-kernel] svn commit r148829 -
carbon/kernel/branches/4.0.0/core/org.wso2.carbon.utils/4.0.5/src/main/java/org/wso2/carbon/context
To: comm...@wso2.org


Author: shariq
Date: Wed Nov 21 23:21:17 2012
New Revision: 148829
URL: http://wso2.org/svn/browse/wso2?view=revrevision=148829

Log:
Set the correct tenant's registry in CarbonContext.


Modified:

 
carbon/kernel/branches/4.0.0/core/org.wso2.carbon.utils/4.0.5/src/main/java/org/wso2/carbon/context/CarbonContext.java

Modified:
carbon/kernel/branches/4.0.0/core/org.wso2.carbon.utils/4.0.5/src/main/java/org/wso2/carbon/context/CarbonContext.java
URL:
http://wso2.org/svn/browse/wso2/carbon/kernel/branches/4.0.0/core/org.wso2.carbon.utils/4.0.5/src/main/java/org/wso2/carbon/context/CarbonContext.java?rev=148829r1=148828r2=148829view=diff
==
---
carbon/kernel/branches/4.0.0/core/org.wso2.carbon.utils/4.0.5/src/main/java/org/wso2/carbon/context/CarbonContext.java
 (original)
+++
carbon/kernel/branches/4.0.0/core/org.wso2.carbon.utils/4.0.5/src/main/java/org/wso2/carbon/context/CarbonContext.java
 Wed Nov 21 23:21:17 2012
@@ -22,10 +22,12 @@
 import net.sf.jsr107cache.CacheManager;
 import org.wso2.carbon.base.CarbonBaseUtils;
 import org.wso2.carbon.context.internal.CarbonContextDataHolder;
+import org.wso2.carbon.context.internal.OSGiDataHolder;
 import org.wso2.carbon.queuing.CarbonQueue;
 import org.wso2.carbon.queuing.CarbonQueueManager;
 import org.wso2.carbon.registry.api.Registry;
 import org.wso2.carbon.user.api.UserRealm;
+import org.wso2.carbon.utils.multitenancy.MultitenantConstants;

 import javax.naming.Context;
 import javax.naming.InitialContext;
@@ -49,6 +51,7 @@
 // cleaner and easy to use API around the CarbonContext holder.

 private CarbonContextDataHolder carbonContextHolder = null;
+private static OSGiDataHolder dataHolder =
OSGiDataHolder.getInstance();

 /**
  * Creates a CarbonContext using the given CarbonContext holder as its
backing instance.
@@ -127,18 +130,51 @@
  * @return the requested registry instance.
  */
 public Registry getRegistry(RegistryType type) {
+int tenantId = getTenantId();
 CarbonContextDataHolder carbonContextDataHolder =
getCarbonContextDataHolder();
+Registry registry;
 switch (type) {
 case USER_CONFIGURATION:
-return carbonContextDataHolder.getConfigUserRegistry();
+// No registry service method to obtain user config
registry by tenant id ?!
+return null;
+//return carbonContextDataHolder.getConfigUserRegistry();
 case SYSTEM_CONFIGURATION:
-return carbonContextDataHolder.getConfigSystemRegistry();
+if (tenantId != MultitenantConstants.INVALID_TENANT_ID) {
+try {
+registry =
dataHolder.getRegistryService().getConfigSystemRegistry(tenantId);
+return null;
+} catch (Exception e) {
+// If we can't obtain an instance of the registry,
we'll simply return null. The
+// errors that lead to this situation will be
logged by the Registry Kernel.
+}
+return null;
+}
 case USER_GOVERNANCE:
-return carbonContextDataHolder.getGovernanceUserRegistry();
+// No registry service method to obtain user governance
registry by tenant id ?!
+return null;
+//return
carbonContextDataHolder.getGovernanceUserRegistry();
 case SYSTEM_GOVERNANCE:
-return
carbonContextDataHolder.getGovernanceSystemRegistry();
+if (tenantId != MultitenantConstants.INVALID_TENANT_ID) {
+try {
+registry =
dataHolder.getRegistryService().getGovernanceSystemRegistry(tenantId);
+return registry;
+} catch (Exception e) {
+  

Re: [Dev] Refactoring CarbonContext#getRegistry() to be tenant aware. {[Commits] [Carbon-kernel] svn commit r148829 - carbon/kernel/branches/4.0.0/core/org.wso2.carbon.utils/4.0.5/src/main/java/org/ws

2012-11-21 Thread Senaka Fernando
Hi Shariq,

In the past, this code was written in a way, that some upstream code will
actually set stuff to the CarbonContext, but I think that practice. is no
longer followed. Anyway though we tried to mandate that sometime back, it
seems to be more natural to do what you've done, because what we have been
doing is not very maintainable.

Now, there is a method to retrieve a getConfigUserRegistry(), which will
return the registry instance of an anonymous user. This is an
unauthenticated user. When it comes to tenants, we don't quite have the
same concept and the user name must actually be passed when requesting for
a registry. Also, in the case of the ST, the anonymous user's registry is
not what we should be returning from that CarbonContext, but that of the
logged in user. If a user is not logged in, we can probably return null or
throw an exception if someone tries to use the CarbonContext. This fact is
briefly explained in the RegistryService Java API docs.

Thanks,
Senaka.

On Wed, Nov 21, 2012 at 11:57 PM, Muhammed Shariq sha...@wso2.com wrote:

 Hi folks,

 While debugging some CC related issue, we figured that the CarbonContext
 was not setting the Registry in a tenant aware manner, it was simple
 returning the ST registry as follows,

 - carbonContextDataHolder.getConfigSystemRegistry();
 - carbonContextDataHolder.getConfigUserRegistry();

 I have modified it to return the particular tenant's registries. However I
 couldn't find appropriate methods to in the registryService to obtain
 UserConfig registry and UserGovernance registry, so after a chat with Azeez
 we decided to return null instead of returning the ST registry ..

 GReg folks, how do we retrieve the tenant specific UserConfig and
 UserGovernance registry ?!

 Also please review the commit and holler if there are any concerns /
 issues ..

 -- Forwarded message --
 From: sha...@wso2.com
 Date: Wed, Nov 21, 2012 at 11:21 PM
 Subject: [Commits] [Carbon-kernel] svn commit r148829 -
 carbon/kernel/branches/4.0.0/core/org.wso2.carbon.utils/4.0.5/src/main/java/org/wso2/carbon/context
 To: comm...@wso2.org


 Author: shariq
 Date: Wed Nov 21 23:21:17 2012
 New Revision: 148829
 URL: http://wso2.org/svn/browse/wso2?view=revrevision=148829

 Log:
 Set the correct tenant's registry in CarbonContext.


 Modified:

  
 carbon/kernel/branches/4.0.0/core/org.wso2.carbon.utils/4.0.5/src/main/java/org/wso2/carbon/context/CarbonContext.java

 Modified:
 carbon/kernel/branches/4.0.0/core/org.wso2.carbon.utils/4.0.5/src/main/java/org/wso2/carbon/context/CarbonContext.java
 URL:
 http://wso2.org/svn/browse/wso2/carbon/kernel/branches/4.0.0/core/org.wso2.carbon.utils/4.0.5/src/main/java/org/wso2/carbon/context/CarbonContext.java?rev=148829r1=148828r2=148829view=diff

 ==
 ---
 carbon/kernel/branches/4.0.0/core/org.wso2.carbon.utils/4.0.5/src/main/java/org/wso2/carbon/context/CarbonContext.java
  (original)
 +++
 carbon/kernel/branches/4.0.0/core/org.wso2.carbon.utils/4.0.5/src/main/java/org/wso2/carbon/context/CarbonContext.java
  Wed Nov 21 23:21:17 2012
 @@ -22,10 +22,12 @@
  import net.sf.jsr107cache.CacheManager;
  import org.wso2.carbon.base.CarbonBaseUtils;
  import org.wso2.carbon.context.internal.CarbonContextDataHolder;
 +import org.wso2.carbon.context.internal.OSGiDataHolder;
  import org.wso2.carbon.queuing.CarbonQueue;
  import org.wso2.carbon.queuing.CarbonQueueManager;
  import org.wso2.carbon.registry.api.Registry;
  import org.wso2.carbon.user.api.UserRealm;
 +import org.wso2.carbon.utils.multitenancy.MultitenantConstants;

  import javax.naming.Context;
  import javax.naming.InitialContext;
 @@ -49,6 +51,7 @@
  // cleaner and easy to use API around the CarbonContext holder.

  private CarbonContextDataHolder carbonContextHolder = null;
 +private static OSGiDataHolder dataHolder =
 OSGiDataHolder.getInstance();

  /**
   * Creates a CarbonContext using the given CarbonContext holder as
 its backing instance.
 @@ -127,18 +130,51 @@
   * @return the requested registry instance.
   */
  public Registry getRegistry(RegistryType type) {
 +int tenantId = getTenantId();
  CarbonContextDataHolder carbonContextDataHolder =
 getCarbonContextDataHolder();
 +Registry registry;
  switch (type) {
  case USER_CONFIGURATION:
 -return carbonContextDataHolder.getConfigUserRegistry();
 +// No registry service method to obtain user config
 registry by tenant id ?!
 +return null;
 +//return carbonContextDataHolder.getConfigUserRegistry();
  case SYSTEM_CONFIGURATION:
 -return carbonContextDataHolder.getConfigSystemRegistry();
 +if (tenantId != MultitenantConstants.INVALID_TENANT_ID) {
 +try {
 +registry =
 

[Dev] [Bamboo-Build] WSO2 Carbon 4.0.x - Nightly Kernel_4.0.5 #5 has FAILED. Change made by 10 authors.

2012-11-21 Thread Bamboo

---
WSO2 Carbon 4.0.x - Nightly  Kernel_4.0.5  #5 failed.
---
This build was triggered at the scheduled time of 12:30 PM
No failed tests found, a possible compilation error.

http://wso2.org/bamboo/browse/WCB002-NKER003-5/

-
Currently Responsible
-

Nuwan Dias (Assigned by Maheshika Goonetilleke)
Pradeep Fernando (Assigned by Maheshika Goonetilleke)
Supun Malinga (Assigned by Maheshika Goonetilleke)



--
Failing Jobs
--
  - Default Job (Default Stage): No tests found.



--
Code Changes
--
nuwand (148361):

Creating 4.0.1 branch at revision 135771

nuwand (148395):

Fixing APIMANAGER-806

nuwand (148421):

Changing pom version to 4.0.5



--
This message is automatically generated by Atlassian Bamboo___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Build Failure in Load Balancer component

2012-11-21 Thread Andun Sameera
Still getting $Subject.

Thanks
AndunSLG

On Tue, Nov 20, 2012 at 6:18 PM, Tharindu Mathew thari...@wso2.com wrote:

 Hi,

 $subject!

 [INFO]
 
 [INFO] BUILD FAILURE
 [INFO]
 
 [INFO] Total time: 13.807s
 [INFO] Finished at: Tue Nov 20 18:16:59 IST 2012
 [INFO] Final Memory: 71M/139M
 [INFO]
 
 [ERROR] Failed to execute goal
 org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
 (default-compile) on project org.wso2.carbon.autoscaler.service:
 Compilation failure: Compilation failure:
 [ERROR]
 /Users/mackie/source-checkouts/carbon/platform/branches/4.0.0/components/load-balancer/autoscaler-service/org.wso2.carbon.autoscaler.service/1.0.0/src/main/java/org/wso2/carbon/autoscaler/service/util/ServiceTemplate.java:[32,44]
 cannot find symbol
 [ERROR] symbol  : variable DEFAULT_SUB_DOMAIN
 [ERROR] location: class org.wso2.carbon.lb.common.conf.util.Constants
 [ERROR]
 /Users/mackie/source-checkouts/carbon/platform/branches/4.0.0/components/load-balancer/autoscaler-service/org.wso2.carbon.autoscaler.service/1.0.0/src/main/java/org/wso2/carbon/autoscaler/service/impl/AutoscalerServiceImpl.java:[386,37]
 cannot find symbol
 [ERROR] symbol  : variable DEFAULT_SUB_DOMAIN
 [ERROR] location: class org.wso2.carbon.lb.common.conf.util.Constants
 [ERROR] - [Help 1]
 [ERROR]
 [ERROR] To see the full stack trace of the errors, re-run Maven with the
 -e switch.
 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [ERROR]
 [ERROR] For more information about the errors and possible solutions,
 please read the following articles:
 [ERROR] [Help 1]
 http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

 --
 Regards,

 Tharindu

 blog: http://mackiemathew.com/
 M: +9459908


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev


___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Build Failure in Load Balancer component

2012-11-21 Thread Andun Sameera
Hi,

I have fixed this by deleting the org.wso2.carbon.lb.common folder form my
m2 repo. Then it download the correct jar form nexues.

Thanks
AndunSLG

On Thu, Nov 22, 2012 at 9:49 AM, Andun Sameera an...@wso2.com wrote:

 Still getting $Subject.

 Thanks
 AndunSLG

 On Tue, Nov 20, 2012 at 6:18 PM, Tharindu Mathew thari...@wso2.comwrote:

 Hi,

 $subject!

 [INFO]
 
 [INFO] BUILD FAILURE
 [INFO]
 
 [INFO] Total time: 13.807s
 [INFO] Finished at: Tue Nov 20 18:16:59 IST 2012
 [INFO] Final Memory: 71M/139M
 [INFO]
 
 [ERROR] Failed to execute goal
 org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
 (default-compile) on project org.wso2.carbon.autoscaler.service:
 Compilation failure: Compilation failure:
 [ERROR]
 /Users/mackie/source-checkouts/carbon/platform/branches/4.0.0/components/load-balancer/autoscaler-service/org.wso2.carbon.autoscaler.service/1.0.0/src/main/java/org/wso2/carbon/autoscaler/service/util/ServiceTemplate.java:[32,44]
 cannot find symbol
 [ERROR] symbol  : variable DEFAULT_SUB_DOMAIN
 [ERROR] location: class org.wso2.carbon.lb.common.conf.util.Constants
 [ERROR]
 /Users/mackie/source-checkouts/carbon/platform/branches/4.0.0/components/load-balancer/autoscaler-service/org.wso2.carbon.autoscaler.service/1.0.0/src/main/java/org/wso2/carbon/autoscaler/service/impl/AutoscalerServiceImpl.java:[386,37]
 cannot find symbol
 [ERROR] symbol  : variable DEFAULT_SUB_DOMAIN
 [ERROR] location: class org.wso2.carbon.lb.common.conf.util.Constants
 [ERROR] - [Help 1]
 [ERROR]
 [ERROR] To see the full stack trace of the errors, re-run Maven with the
 -e switch.
 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [ERROR]
 [ERROR] For more information about the errors and possible solutions,
 please read the following articles:
 [ERROR] [Help 1]
 http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

 --
 Regards,

 Tharindu

 blog: http://mackiemathew.com/
 M: +9459908


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev



___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Build Failure in Load Balancer component

2012-11-21 Thread Nirmal Fernando
On Thu, Nov 22, 2012 at 10:05 AM, Andun Sameera an...@wso2.com wrote:

 Hi,

 I have fixed this by deleting the org.wso2.carbon.lb.common folder form my
 m2 repo. Then it download the correct jar form nexues.


Cool!


 Thanks
 AndunSLG


 On Thu, Nov 22, 2012 at 9:49 AM, Andun Sameera an...@wso2.com wrote:

 Still getting $Subject.

 Thanks
 AndunSLG

 On Tue, Nov 20, 2012 at 6:18 PM, Tharindu Mathew thari...@wso2.comwrote:

 Hi,

 $subject!

 [INFO]
 
 [INFO] BUILD FAILURE
 [INFO]
 
 [INFO] Total time: 13.807s
 [INFO] Finished at: Tue Nov 20 18:16:59 IST 2012
 [INFO] Final Memory: 71M/139M
 [INFO]
 
 [ERROR] Failed to execute goal
 org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
 (default-compile) on project org.wso2.carbon.autoscaler.service:
 Compilation failure: Compilation failure:
 [ERROR]
 /Users/mackie/source-checkouts/carbon/platform/branches/4.0.0/components/load-balancer/autoscaler-service/org.wso2.carbon.autoscaler.service/1.0.0/src/main/java/org/wso2/carbon/autoscaler/service/util/ServiceTemplate.java:[32,44]
 cannot find symbol
 [ERROR] symbol  : variable DEFAULT_SUB_DOMAIN
 [ERROR] location: class org.wso2.carbon.lb.common.conf.util.Constants
 [ERROR]
 /Users/mackie/source-checkouts/carbon/platform/branches/4.0.0/components/load-balancer/autoscaler-service/org.wso2.carbon.autoscaler.service/1.0.0/src/main/java/org/wso2/carbon/autoscaler/service/impl/AutoscalerServiceImpl.java:[386,37]
 cannot find symbol
 [ERROR] symbol  : variable DEFAULT_SUB_DOMAIN
 [ERROR] location: class org.wso2.carbon.lb.common.conf.util.Constants
 [ERROR] - [Help 1]
 [ERROR]
 [ERROR] To see the full stack trace of the errors, re-run Maven with the
 -e switch.
 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [ERROR]
 [ERROR] For more information about the errors and possible solutions,
 please read the following articles:
 [ERROR] [Help 1]
 http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

 --
 Regards,

 Tharindu

 blog: http://mackiemathew.com/
 M: +9459908


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 

Thanks  regards,
Nirmal

Software Engineer- Platform Technologies Team, WSO2 Inc.
Mobile: +94715779733
Blog: http://nirmalfdo.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Build failure in org.wso2.carbon.cassandra.cluster.mgt.ui

2012-11-21 Thread Andun Sameera
Still getting $Subject.

Thanks
AndunSLG

On Mon, Nov 19, 2012 at 10:09 PM, Deependra Ariyadewa d...@wso2.com wrote:



 On Mon, Nov 19, 2012 at 9:43 PM, Sinthuja Ragendran sinth...@wso2.comwrote:

 Hi,

 compilation failure in org.wso2.carbon.cassandra.cluster.mgt.ui/4.0.5. I
 believe service-stub is not updated properly.


 We will check the issue.

 Thanks,

 Deependra.


 [INFO] -
 [ERROR] COMPILATION ERROR :
 [INFO] -
 [ERROR]
 /home/sinthuja/projects/backup_trunk/platform/branches/4.0.0/components/cassandra/org.wso2.carbon.cassandra.cluster.mgt.ui/4.0.5/src/main/java/org/wso2/carbon/cassandra/cluster/mgt/ui/operation/ClusterNodeOperationsAdminClient.java:[30,60]
 cannot find symbol
 symbol  : class ProxyKeyspaceInitialInfo
 location: package org.wso2.carbon.cassandra.cluster.proxy.stub.data.xsd
 [ERROR]
 /home/sinthuja/projects/backup_trunk/platform/branches/4.0.0/components/cassandra/org.wso2.carbon.cassandra.cluster.mgt.ui/4.0.5/src/main/java/org/wso2/carbon/cassandra/cluster/mgt/ui/operation/ClusterNodeOperationsAdminClient.java:[31,60]
 cannot find symbol
 symbol  : class ProxyNodeInitialInfo
 location: package org.wso2.carbon.cassandra.cluster.proxy.stub.data.xsd
 [ERROR]
 /home/sinthuja/projects/backup_trunk/platform/branches/4.0.0/components/cassandra/org.wso2.carbon.cassandra.cluster.mgt.ui/4.0.5/src/main/java/org/wso2/carbon/cassandra/cluster/mgt/ui/operation/ClusterNodeOperationsAdminClient.java:[371,11]
 cannot find symbol
 symbol  : class ProxyNodeInitialInfo
 location: class
 org.wso2.carbon.cassandra.cluster.mgt.ui.operation.ClusterNodeOperationsAdminClient
 [ERROR]
 /home/sinthuja/projects/backup_trunk/platform/branches/4.0.0/components/cassandra/org.wso2.carbon.cassandra.cluster.mgt.ui/4.0.5/src/main/java/org/wso2/carbon/cassandra/cluster/mgt/ui/operation/ClusterNodeOperationsAdminClient.java:[380,11]
 cannot find symbol
 symbol  : class ProxyKeyspaceInitialInfo
 location: class
 org.wso2.carbon.cassandra.cluster.mgt.ui.operation.ClusterNodeOperationsAdminClient
 [ERROR]
 /home/sinthuja/projects/backup_trunk/platform/branches/4.0.0/components/cassandra/org.wso2.carbon.cassandra.cluster.mgt.ui/4.0.5/src/main/java/org/wso2/carbon/cassandra/cluster/mgt/ui/operation/ClusterNodeOperationsAdminClient.java:[374,49]
 cannot find symbol
 symbol  : method getNodeInitialInfo(java.lang.String)
 location: class
 org.wso2.carbon.cassandra.cluster.proxy.stub.operation.ClusterOperationProxyAdminStub
 [ERROR]
 /home/sinthuja/projects/backup_trunk/platform/branches/4.0.0/components/cassandra/org.wso2.carbon.cassandra.cluster.mgt.ui/4.0.5/src/main/java/org/wso2/carbon/cassandra/cluster/mgt/ui/operation/ClusterNodeOperationsAdminClient.java:[383,49]
 cannot find symbol
 symbol  : method getKeyspaceInitialInfo(java.lang.String)
 location: class
 org.wso2.carbon.cassandra.cluster.proxy.stub.operation.ClusterOperationProxyAdminStub
 [INFO] 6 errors
 [INFO] -
 [INFO]
 
 [INFO] BUILD FAILURE
 [INFO]
 
 [INFO] Total time: 2.799s
 [INFO] Finished at: Mon Nov 19 21:39:26 IST 2012
 [INFO] Final Memory: 25M/618M

 Thanks,
 Sinthuja.




 --
 Deependra Ariyadewa
 WSO2, Inc. http://wso2.com/ http://wso2.org

 email d...@wso2.com; cell +94 71 403 5996 ;
 Blog http://risenfall.wordpress.com/
 PGP info: KeyID: 'DC627E6F'


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev


___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Refactoring CarbonContext#getRegistry() to be tenant aware. {[Commits] [Carbon-kernel] svn commit r148829 - carbon/kernel/branches/4.0.0/core/org.wso2.carbon.utils/4.0.5/src/main/java/org/ws

2012-11-21 Thread Muhammed Shariq
On Thu, Nov 22, 2012 at 12:33 AM, Senaka Fernando sen...@wso2.com wrote:

 Hi Shariq,

 In the past, this code was written in a way, that some upstream code will
 actually set stuff to the CarbonContext, but I think that practice. is no
 longer followed. Anyway though we tried to mandate that sometime back, it
 seems to be more natural to do what you've done, because what we have been
 doing is not very maintainable.


Thanks for checking the diff and verifying! Also when I debugged there was
no upstream code setting the appropriate registry, so I had to fix it this
way ...


 Now, there is a method to retrieve a getConfigUserRegistry(), which will
 return the registry instance of an anonymous user. This is an
 unauthenticated user. When it comes to tenants, we don't quite have the
 same concept and the user name must actually be passed when requesting for
 a registry. Also, in the case of the ST, the anonymous user's registry is
 not what we should be returning from that CarbonContext, but that of the
 logged in user. If a user is not logged in, we can probably return null or
 throw an exception if someone tries to use the CarbonContext. This fact is
 briefly explained in the RegistryService Java API docs.

 Thanks,
 Senaka.


 On Wed, Nov 21, 2012 at 11:57 PM, Muhammed Shariq sha...@wso2.com wrote:

 Hi folks,

 While debugging some CC related issue, we figured that the CarbonContext
 was not setting the Registry in a tenant aware manner, it was simple
 returning the ST registry as follows,

 - carbonContextDataHolder.getConfigSystemRegistry();
 - carbonContextDataHolder.getConfigUserRegistry();

 I have modified it to return the particular tenant's registries. However
 I couldn't find appropriate methods to in the registryService to obtain
 UserConfig registry and UserGovernance registry, so after a chat with Azeez
 we decided to return null instead of returning the ST registry ..

 GReg folks, how do we retrieve the tenant specific UserConfig and
 UserGovernance registry ?!

 Also please review the commit and holler if there are any concerns /
 issues ..

 -- Forwarded message --
 From: sha...@wso2.com
 Date: Wed, Nov 21, 2012 at 11:21 PM
 Subject: [Commits] [Carbon-kernel] svn commit r148829 -
 carbon/kernel/branches/4.0.0/core/org.wso2.carbon.utils/4.0.5/src/main/java/org/wso2/carbon/context
 To: comm...@wso2.org


 Author: shariq
 Date: Wed Nov 21 23:21:17 2012
 New Revision: 148829
 URL: http://wso2.org/svn/browse/wso2?view=revrevision=148829

 Log:
 Set the correct tenant's registry in CarbonContext.


 Modified:

  
 carbon/kernel/branches/4.0.0/core/org.wso2.carbon.utils/4.0.5/src/main/java/org/wso2/carbon/context/CarbonContext.java

 Modified:
 carbon/kernel/branches/4.0.0/core/org.wso2.carbon.utils/4.0.5/src/main/java/org/wso2/carbon/context/CarbonContext.java
 URL:
 http://wso2.org/svn/browse/wso2/carbon/kernel/branches/4.0.0/core/org.wso2.carbon.utils/4.0.5/src/main/java/org/wso2/carbon/context/CarbonContext.java?rev=148829r1=148828r2=148829view=diff

 ==
 ---
 carbon/kernel/branches/4.0.0/core/org.wso2.carbon.utils/4.0.5/src/main/java/org/wso2/carbon/context/CarbonContext.java
  (original)
 +++
 carbon/kernel/branches/4.0.0/core/org.wso2.carbon.utils/4.0.5/src/main/java/org/wso2/carbon/context/CarbonContext.java
  Wed Nov 21 23:21:17 2012
 @@ -22,10 +22,12 @@
  import net.sf.jsr107cache.CacheManager;
  import org.wso2.carbon.base.CarbonBaseUtils;
  import org.wso2.carbon.context.internal.CarbonContextDataHolder;
 +import org.wso2.carbon.context.internal.OSGiDataHolder;
  import org.wso2.carbon.queuing.CarbonQueue;
  import org.wso2.carbon.queuing.CarbonQueueManager;
  import org.wso2.carbon.registry.api.Registry;
  import org.wso2.carbon.user.api.UserRealm;
 +import org.wso2.carbon.utils.multitenancy.MultitenantConstants;

  import javax.naming.Context;
  import javax.naming.InitialContext;
 @@ -49,6 +51,7 @@
  // cleaner and easy to use API around the CarbonContext holder.

  private CarbonContextDataHolder carbonContextHolder = null;
 +private static OSGiDataHolder dataHolder =
 OSGiDataHolder.getInstance();

  /**
   * Creates a CarbonContext using the given CarbonContext holder as
 its backing instance.
 @@ -127,18 +130,51 @@
   * @return the requested registry instance.
   */
  public Registry getRegistry(RegistryType type) {
 +int tenantId = getTenantId();
  CarbonContextDataHolder carbonContextDataHolder =
 getCarbonContextDataHolder();
 +Registry registry;
  switch (type) {
  case USER_CONFIGURATION:
 -return carbonContextDataHolder.getConfigUserRegistry();
 +// No registry service method to obtain user config
 registry by tenant id ?!
 +return null;
 +//return carbonContextDataHolder.getConfigUserRegistry();
  case 

Re: [Dev] NPE from Cassandra Explorer

2012-11-21 Thread Kasun Weranga
On Wed, Nov 21, 2012 at 11:05 PM, Shelan Perera she...@wso2.com wrote:

 Hi Tharindu,

 I'll fix it.

 Great. I also got the same issue yesterday when trying to view some
column families.  I have already reported a blocker for this. This is the
JIRA[1]

[1] https://wso2.org/jira/browse/SS-63

Thanks,
KasunW


 Thanks


 On Wed, Nov 21, 2012 at 10:58 PM, Tharindu Mathew thari...@wso2.comwrote:

 for (int j = 0; j  rows[i].getColumns().length; j++) {
 91: valueArray.add(columns[j].getValue());
 92: }




 --
 *Shelan Perera*

 Software Engineer
 **
 *WSO2, Inc. : wso2.com*
 lean.enterprise.middleware.

 *Home Page*  :shelan.org
 *Blog* : blog.shelan.org
 *Linked-i*n  :http://www.linkedin.com/pub/shelan-perera/a/194/465
 *Twitter* :https://twitter.com/#!/shelan

 *Mobile*  : +94 772 604 402



 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev


___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] 4.0.5 Build failure -Core

2012-11-21 Thread Vijayaratha Vijayasingam
Hi all;
getting;
[INFO] WSO2 Carbon - Patch releases - distribution - Aggregator Module
SKIPPED
[INFO]

[INFO] BUILD FAILURE
[INFO]

[INFO] Total time: 1:46.555s
[INFO] Finished at: Thu Nov 22 12:07:59 IST 2012
[INFO] Final Memory: 128M/803M
[INFO]

[ERROR] Failed to execute goal
org.wso2.maven:carbon-p2-plugin:1.5:p2-feature-gen
(4-p2-feature-generation) on project org.wso2.carbon.core.ui.feature
: ERROR: Could not find artifact
org.wso2.carbon:org.wso2.carbon.i18n:jar:4.0.5 in wso2-nexus (
http://maven.wso2.org/nexus/content/groups/wso2-public/
)
[ERROR]
[ERROR] Try downloading the file manually from the project website.
[ERROR]
[ERROR] Then, install it using the command:
[ERROR] mvn install:install-file -DgroupId=org.wso2.carbon
-DartifactId=org.wso2.carbon.i18n -Dversion=4.0.5 -Dpackaging=jar
-Dfile=/path/to/file
[ERROR]
[ERROR] Alternatively, if you host your own repository you can deploy the
file there:
[ERROR] mvn deploy:deploy-file -DgroupId=org.wso2.carbon
-DartifactId=org.wso2.carbon.i18n -Dversion=4.0.5 -Dpackaging=jar
-Dfile=/path/to/file -Durl=
[url] -DrepositoryId=[id]
[ERROR]
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] 4.0.5 Build failure -Core

2012-11-21 Thread Nuwan Dias
Will look into this.

Thanks,
NuwanD


On Thu, Nov 22, 2012 at 12:10 PM, Vijayaratha Vijayasingam
rat...@wso2.comwrote:

 Hi all;
 getting;
 [INFO] WSO2 Carbon - Patch releases - distribution - Aggregator Module
 SKIPPED
 [INFO]
 
 [INFO] BUILD FAILURE
 [INFO]
 
 [INFO] Total time: 1:46.555s
 [INFO] Finished at: Thu Nov 22 12:07:59 IST 2012
 [INFO] Final Memory: 128M/803M
 [INFO]
 
 [ERROR] Failed to execute goal
 org.wso2.maven:carbon-p2-plugin:1.5:p2-feature-gen
 (4-p2-feature-generation) on project org.wso2.carbon.core.ui.feature
 : ERROR: Could not find artifact
 org.wso2.carbon:org.wso2.carbon.i18n:jar:4.0.5 in wso2-nexus (
 http://maven.wso2.org/nexus/content/groups/wso2-public/
 )
 [ERROR]
 [ERROR] Try downloading the file manually from the project website.
 [ERROR]
 [ERROR] Then, install it using the command:
 [ERROR] mvn install:install-file -DgroupId=org.wso2.carbon
 -DartifactId=org.wso2.carbon.i18n -Dversion=4.0.5 -Dpackaging=jar
 -Dfile=/path/to/file
 [ERROR]
 [ERROR] Alternatively, if you host your own repository you can deploy the
 file there:
 [ERROR] mvn deploy:deploy-file -DgroupId=org.wso2.carbon
 -DartifactId=org.wso2.carbon.i18n -Dversion=4.0.5 -Dpackaging=jar
 -Dfile=/path/to/file -Durl=
 [url] -DrepositoryId=[id]
 [ERROR]



 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Nuwan Dias

Software Engineer - WSO2, Inc.
Integration Technologies Team
email : nuw...@wso2.com
Phone : +94 777 775 729
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] 4.0.5 Build failure -Core

2012-11-21 Thread Vijayaratha Vijayasingam
patch/core/pom misses the entry

On 22 November 2012 12:15, Nuwan Dias nuw...@wso2.com wrote:

 Will look into this.

 Thanks,
 NuwanD


 On Thu, Nov 22, 2012 at 12:10 PM, Vijayaratha Vijayasingam 
 rat...@wso2.com wrote:

 Hi all;
 getting;
 [INFO] WSO2 Carbon - Patch releases - distribution - Aggregator Module
 SKIPPED
 [INFO]
 
 [INFO] BUILD FAILURE
 [INFO]
 
 [INFO] Total time: 1:46.555s
 [INFO] Finished at: Thu Nov 22 12:07:59 IST 2012
 [INFO] Final Memory: 128M/803M
 [INFO]
 
 [ERROR] Failed to execute goal
 org.wso2.maven:carbon-p2-plugin:1.5:p2-feature-gen
 (4-p2-feature-generation) on project org.wso2.carbon.core.ui.feature
 : ERROR: Could not find artifact
 org.wso2.carbon:org.wso2.carbon.i18n:jar:4.0.5 in wso2-nexus (
 http://maven.wso2.org/nexus/content/groups/wso2-public/
 )
 [ERROR]
 [ERROR] Try downloading the file manually from the project website.
 [ERROR]
 [ERROR] Then, install it using the command:
 [ERROR] mvn install:install-file -DgroupId=org.wso2.carbon
 -DartifactId=org.wso2.carbon.i18n -Dversion=4.0.5 -Dpackaging=jar
 -Dfile=/path/to/file
 [ERROR]
 [ERROR] Alternatively, if you host your own repository you can deploy the
 file there:
 [ERROR] mvn deploy:deploy-file -DgroupId=org.wso2.carbon
 -DartifactId=org.wso2.carbon.i18n -Dversion=4.0.5 -Dpackaging=jar
 -Dfile=/path/to/file -Durl=
 [url] -DrepositoryId=[id]
 [ERROR]



 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Nuwan Dias

 Software Engineer - WSO2, Inc.
 Integration Technologies Team
 email : nuw...@wso2.com
 Phone : +94 777 775 729


___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] NPE from Cassandra Explorer

2012-11-21 Thread Shelan Perera
Hi,

I have fixed that.

Thanks

On Thu, Nov 22, 2012 at 11:59 AM, Kasun Weranga kas...@wso2.com wrote:



 On Wed, Nov 21, 2012 at 11:05 PM, Shelan Perera she...@wso2.com wrote:

 Hi Tharindu,

 I'll fix it.

 Great. I also got the same issue yesterday when trying to view some
 column families.  I have already reported a blocker for this. This is the
 JIRA[1]

 [1] https://wso2.org/jira/browse/SS-63

 Thanks,
 KasunW


  Thanks


 On Wed, Nov 21, 2012 at 10:58 PM, Tharindu Mathew thari...@wso2.comwrote:

 for (int j = 0; j  rows[i].getColumns().length; j++) {
 91: valueArray.add(columns[j].getValue());
 92: }




 --
 *Shelan Perera*

 Software Engineer
 **
 *WSO2, Inc. : wso2.com*
 lean.enterprise.middleware.

 *Home Page*  :shelan.org
 *Blog* : blog.shelan.org
 *Linked-i*n  :http://www.linkedin.com/pub/shelan-perera/a/194/465
 *Twitter* :https://twitter.com/#!/shelan

 *Mobile*  : +94 772 604 402



 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev







-- 
*Shelan Perera*

Software Engineer
**
*WSO2, Inc. : wso2.com*
lean.enterprise.middleware.

*Home Page*  :shelan.org
*Blog* : blog.shelan.org
*Linked-i*n  :http://www.linkedin.com/pub/shelan-perera/a/194/465
*Twitter* :https://twitter.com/#!/shelan

*Mobile*  : +94 772 604 402
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] 4.0.5 Build failure -Core

2012-11-21 Thread Nuwan Dias
Yup, just added it.

Thanks,
NuwanD.


On Thu, Nov 22, 2012 at 12:17 PM, Vijayaratha Vijayasingam
rat...@wso2.comwrote:

 patch/core/pom misses the entry


 On 22 November 2012 12:15, Nuwan Dias nuw...@wso2.com wrote:

 Will look into this.

 Thanks,
 NuwanD


 On Thu, Nov 22, 2012 at 12:10 PM, Vijayaratha Vijayasingam 
 rat...@wso2.com wrote:

 Hi all;
 getting;
 [INFO] WSO2 Carbon - Patch releases - distribution - Aggregator Module
 SKIPPED
 [INFO]
 
 [INFO] BUILD FAILURE
 [INFO]
 
 [INFO] Total time: 1:46.555s
 [INFO] Finished at: Thu Nov 22 12:07:59 IST 2012
 [INFO] Final Memory: 128M/803M
 [INFO]
 
 [ERROR] Failed to execute goal
 org.wso2.maven:carbon-p2-plugin:1.5:p2-feature-gen
 (4-p2-feature-generation) on project org.wso2.carbon.core.ui.feature
 : ERROR: Could not find artifact
 org.wso2.carbon:org.wso2.carbon.i18n:jar:4.0.5 in wso2-nexus (
 http://maven.wso2.org/nexus/content/groups/wso2-public/
 )
 [ERROR]
 [ERROR] Try downloading the file manually from the project website.
 [ERROR]
 [ERROR] Then, install it using the command:
 [ERROR] mvn install:install-file -DgroupId=org.wso2.carbon
 -DartifactId=org.wso2.carbon.i18n -Dversion=4.0.5 -Dpackaging=jar
 -Dfile=/path/to/file
 [ERROR]
 [ERROR] Alternatively, if you host your own repository you can deploy
 the file there:
 [ERROR] mvn deploy:deploy-file -DgroupId=org.wso2.carbon
 -DartifactId=org.wso2.carbon.i18n -Dversion=4.0.5 -Dpackaging=jar
 -Dfile=/path/to/file -Durl=
 [url] -DrepositoryId=[id]
 [ERROR]



 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Nuwan Dias

 Software Engineer - WSO2, Inc.
 Integration Technologies Team
 email : nuw...@wso2.com
 Phone : +94 777 775 729





-- 
Nuwan Dias

Software Engineer - WSO2, Inc.
Integration Technologies Team
email : nuw...@wso2.com
Phone : +94 777 775 729
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] {Build failure 4.0.5 }-Components/jaggery

2012-11-21 Thread Vijayaratha Vijayasingam
Hi all;
Jaggery 0.9.0.ALPHA2-wso2v3 has been created?

[INFO] Scanning for projects...
[ERROR] The build could not read 1 project - [Help 1]
[ERROR]
[ERROR]   The project
org.wso2.carbon:platform-patch-releases-components:4.0.5
(C:\Projects\platform\branches\4.0.0\patch-releases\4.0.5\components\po
m.xml) has 1 error
[ERROR] Child module
C:\Projects\platform\branches\4.0.0\patch-releases\4.0.5\components\..\..\..\components\jaggery\0.9.0.ALPHA2-wso2v3\pom.xml
o
f
C:\Projects\platform\branches\4.0.0\patch-releases\4.0.5\components\pom.xml
does not exist
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] {Build failure 4.0.5 }-Components/jaggery

2012-11-21 Thread Madhuka Udantha
On Thu, Nov 22, 2012 at 12:54 PM, Vijayaratha Vijayasingam
rat...@wso2.comwrote:

 Hi all;
 Jaggery 0.9.0.ALPHA2-wso2v3 has been created?

yap,

https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.0.0/dependencies/jaggery/0.9.0.ALPHA2-wso2v3


 [INFO] Scanning for projects...
 [ERROR] The build could not read 1 project - [Help 1]
 [ERROR]
 [ERROR]   The project
 org.wso2.carbon:platform-patch-releases-components:4.0.5
 (C:\Projects\platform\branches\4.0.0\patch-releases\4.0.5\components\po
 m.xml) has 1 error
 [ERROR] Child module
 C:\Projects\platform\branches\4.0.0\patch-releases\4.0.5\components\..\..\..\components\jaggery\0.9.0.ALPHA2-wso2v3\pom.xml
 o
 f
 C:\Projects\platform\branches\4.0.0\patch-releases\4.0.5\components\pom.xml
 does not exist


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
*Madhuka* Udantha
http://madhukaudantha.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] {Build failure 4.0.5 }-Components/jaggery

2012-11-21 Thread Vijayaratha Vijayasingam
Did you add this to patch releases/dependency/pom?
And why this entry in componetes/pom?

!--jaggery--

module../../../components/jaggery/0.9.0.ALPHA2-wso2v3/pom.xml/module
!--jaggery--

On 22 November 2012 12:57, Madhuka Udantha madh...@wso2.com wrote:



 On Thu, Nov 22, 2012 at 12:54 PM, Vijayaratha Vijayasingam 
 rat...@wso2.com wrote:

 Hi all;
 Jaggery 0.9.0.ALPHA2-wso2v3 has been created?

 yap,


 https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.0.0/dependencies/jaggery/0.9.0.ALPHA2-wso2v3


 [INFO] Scanning for projects...
 [ERROR] The build could not read 1 project - [Help 1]
 [ERROR]
 [ERROR]   The project
 org.wso2.carbon:platform-patch-releases-components:4.0.5
 (C:\Projects\platform\branches\4.0.0\patch-releases\4.0.5\components\po
 m.xml) has 1 error
 [ERROR] Child module
 C:\Projects\platform\branches\4.0.0\patch-releases\4.0.5\components\..\..\..\components\jaggery\0.9.0.ALPHA2-wso2v3\pom.xml
 o
 f
 C:\Projects\platform\branches\4.0.0\patch-releases\4.0.5\components\pom.xml
 does not exist


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *Madhuka* Udantha
 http://madhukaudantha.blogspot.com/


___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] {Build failure 4.0.5 }-Components/jaggery

2012-11-21 Thread Vijayaratha Vijayasingam
Please correct both poms

On 22 November 2012 13:00, Vijayaratha Vijayasingam rat...@wso2.com wrote:

 Did you add this to patch releases/dependency/pom?
 And why this entry in componetes/pom?

 !--jaggery--

 module../../../components/jaggery/0.9.0.ALPHA2-wso2v3/pom.xml/module
 !--jaggery--


 On 22 November 2012 12:57, Madhuka Udantha madh...@wso2.com wrote:



 On Thu, Nov 22, 2012 at 12:54 PM, Vijayaratha Vijayasingam 
 rat...@wso2.com wrote:

 Hi all;
 Jaggery 0.9.0.ALPHA2-wso2v3 has been created?

 yap,


 https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.0.0/dependencies/jaggery/0.9.0.ALPHA2-wso2v3


 [INFO] Scanning for projects...
 [ERROR] The build could not read 1 project - [Help 1]
 [ERROR]
 [ERROR]   The project
 org.wso2.carbon:platform-patch-releases-components:4.0.5
 (C:\Projects\platform\branches\4.0.0\patch-releases\4.0.5\components\po
 m.xml) has 1 error
 [ERROR] Child module
 C:\Projects\platform\branches\4.0.0\patch-releases\4.0.5\components\..\..\..\components\jaggery\0.9.0.ALPHA2-wso2v3\pom.xml
 o
 f
 C:\Projects\platform\branches\4.0.0\patch-releases\4.0.5\components\pom.xml
 does not exist


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *Madhuka* Udantha
 http://madhukaudantha.blogspot.com/



___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev