Re: [Carbon-dev] Please fix the trunk

2011-06-09 Thread Amila Maha Arachchi
On Thu, Jun 9, 2011 at 11:26 AM, Thilina Buddhika thili...@wso2.com wrote:

 AmilaM, I think this is not a scalable approach. Please refer to the
 Azeez's reply to the thread RC8 build will be bit delayed in carbon-dev.


I was about to commit. But was able to hold it :)


 Thanks,
 Thilina

 On Thu, Jun 9, 2011 at 11:12 AM, Amila Maha Arachchi ami...@wso2.comwrote:



 On Thu, Jun 9, 2011 at 11:06 AM, Amila Suriarachchi am...@wso2.comwrote:

 from wsdl2java point of view doesn't matter.


 Thilina has fixed this in the branch (by adding axiom jar as a path
 element). I am following the same in branch and will commit shortly.

 AmilaM.


 thanks,
 Amila.


 On Thu, Jun 9, 2011 at 12:17 AM, Denis Weerasiri de...@wso2.com wrote:

 Hi Amila,
 Most of the stub-generation modules fails due to
 this NoClassDefFoundError exception.
 Adding the axiom lib (axiom-1.2.11.wso2v1.jar) to class-path during
 WSDL2Java solves the issue.
 Is it OK to modify the ant tasks to add the class-path in all
 service-stubs  modules?


 On Wed, Jun 8, 2011 at 11:44 PM, Denis Weerasiri de...@wso2.comwrote:

 Hi,
 carbon/core/org.wso2.carbon.ui also fails due to  below exception
 in carbon/service-stubs/org.wso2.carbon.core.commons.stub

  [java] Exception in thread main java.lang.NoClassDefFoundError:
 org/apache/axiom/om/OMNode
  [java] at
 org.apache.axis2.description.WSDLToAxisServiceBuilder.init(WSDLToAxisServiceBuilder.java:103)
  [java] at
 org.apache.axis2.description.WSDL11ToAxisServiceBuilder.init(WSDL11ToAxisServiceBuilder.java:217)
  [java] at
 org.apache.axis2.description.WSDL11ToAllAxisServicesBuilder.init(WSDL11ToAllAxisServicesBuilder.java:63)
  [java] at
 org.apache.axis2.wsdl.codegen.CodeGenerationEngine.init(CodeGenerationEngine.java:166)
  [java] at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
  [java] at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)
  [java] Caused by: java.lang.ClassNotFoundException:
 org.apache.axiom.om.OMNode
  [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
  [java] at java.security.AccessController.doPrivileged(Native
 Method)
  [java] at
 java.net.URLClassLoader.findClass(URLClassLoader.java:190)
  [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
  [java] at
 sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
  [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
  [java] ... 6 more

 So getting compilation failures at

 [ERROR] BUILD FAILURE
 [INFO]
 
 [INFO] Compilation failure

 /opt/installations/wso2/trunk/carbon/core/org.wso2.carbon.ui/src/main/java/org/wso2/carbon/ui/clients/FileUploadServiceClient.java:[28,51]
 package org.wso2.carbon.core.commons.stub.fileupload does not exist

 /opt/installations/wso2/trunk/carbon/core/org.wso2.carbon.ui/src/main/java/org/wso2/carbon/ui/clients/FileUploadServiceClient.java:[35,12]
 cannot find symbol
 symbol  : class FileUploadServiceStub
 location: class org.wso2.carbon.ui.clients.FileUploadServiceClient

 /opt/installations/wso2/trunk/carbon/core/org.wso2.carbon.ui/src/main/java/org/wso2/carbon/ui/clients/FileDownloadServiceClient.java:[26,53]
 package org.wso2.carbon.core.commons.stub.filedownload does not exist

 /opt/installations/wso2/trunk/carbon/core/org.wso2.carbon.ui/src/main/java/org/wso2/carbon/ui/clients/FileDownloadServiceClient.java:[38,12]
 cannot find symbol
 symbol  : class FileDownloadServiceStub
 location: class org.wso2.carbon.ui.clients.FileDownloadServiceClient

 /opt/installations/wso2/trunk/carbon/core/org.wso2.carbon.ui/src/main/java/org/wso2/carbon/ui/clients/LoggedUserInfoClient.java:[29,55]
 package org.wso2.carbon.core.commons.stub.loggeduserinfo does not exist

 /opt/installations/wso2/trunk/carbon/core/org.wso2.carbon.ui/src/main/java/org/wso2/carbon/ui/clients/LoggedUserInfoClient.java:[34,12]
 cannot find symbol
 symbol  : class LoggedUserInfoAdminStub
 location: class org.wso2.carbon.ui.clients.LoggedUserInfoClient

 [INFO]
 
 [INFO] Building WSO2 Carbon Core - UI Stub
 [INFO]task-segment: [clean, install]
 [INFO]
 
 [INFO] [clean:clean {execution: default-clean}]
 [INFO] Deleting
 /opt/installations/wso2/trunk/carbon/service-stubs/org.wso2.carbon.core.commons.stub/target
 [INFO] [incremental-build:incremental-build {execution: default}]
 [INFO] Verifying module descriptor ...
 [INFO] Pom descriptor modification detected.
 [INFO] Deleting
 /opt/installations/wso2/trunk/carbon/service-stubs/org.wso2.carbon.core.commons.stub/target
 [INFO] [clean:clean {execution: auto-clean}]
 [INFO] Deleting
 /opt/installations/wso2/trunk/carbon/service-stubs/org.wso2.carbon.core.commons.stub/target
 [INFO] [build-helper:add-source {execution: add-source}]
 [INFO] Source 

Re: [Carbon-dev] Please fix the trunk

2011-06-09 Thread Denis Weerasiri
Hi,
BPS test fails as these class have different names with the trunk code-gen.

[INFO]

[ERROR] BUILD FAILURE
[INFO]

[INFO] Compilation failure

/opt/installations/wso2/trunk/carbon/products/bps/modules/integration/org.wso2.bps.management.test/src/test/java/org/wso2/bps/management/SecurityTest.java:[36,47]
cannot find symbol
symbol  : class SecurityConfigExceptionException
location: package org.wso2.carbon.security.mgt.stub.config

/opt/installations/wso2/trunk/carbon/products/bps/modules/integration/org.wso2.bps.management.test/src/test/java/org/wso2/bps/management/SecurityTest.java:[134,17]
cannot find symbol
symbol  : class SecurityConfigExceptionException
location: class org.wso2.bps.management.SecurityTest


On Wed, Jun 8, 2011 at 11:22 AM, Afkham Azeez az...@wso2.com wrote:

 Folks,
 The branch build is stable, but the trunk has been totally broken. We would
 be switching back active development to the trunk soon after the release.
 Please can the relevant people fix the trunk today?

 Thanks
 Azeez

 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/**
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*


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




-- 
Thanks,
Denis
--
*Denis Weerasiri*
Software Engineer; WSO2 Inc.; http://wso2.com,
*email: denis http://goog_277208233/** [AT] wso2.com* http://wso2.com/*
blog: **http://ddweerasiri.blogspot.com* http://ddweerasiri.blogspot.com/*
twitter: **http://twitter.com/ddweerasiri* http://twitter.com/ddweerasiri*
linked-in: 
**http://lk.linkedin.com/in/ddweerasiri*http://lk.linkedin.com/in/ddweerasiri
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Please fix the trunk

2011-06-08 Thread Prabath Siriwardena
Asela is working on this...

Thanks  regards,
-Prabath

On Wed, Jun 8, 2011 at 11:22 AM, Afkham Azeez az...@wso2.com wrote:
 Folks,
 The branch build is stable, but the trunk has been totally broken. We would
 be switching back active development to the trunk soon after the release.
 Please can the relevant people fix the trunk today?
 Thanks
 Azeez

 --
 Afkham Azeez
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/

 email: az...@wso2.com cell: +94 77 3320919
 blog: http://blog.afkham.org
 twitter: http://twitter.com/afkham_azeez
 linked-in: http://lk.linkedin.com/in/afkhamazeez

 Lean . Enterprise . Middleware

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





-- 
Thanks  Regards,
Prabath

http://blog.facilelogin.com
http://RampartFAQ.com
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Please fix the trunk

2011-06-08 Thread Amila Maha Arachchi
On Wed, Jun 8, 2011 at 11:47 AM, Prabath Siriwardena prab...@wso2.comwrote:

 Asela is working on this...


In the process of taking a fresh checkout of trunk in the local builder.
Will build and see what are the errors.

Thanks,
AmilaM.


 Thanks  regards,
 -Prabath

 On Wed, Jun 8, 2011 at 11:22 AM, Afkham Azeez az...@wso2.com wrote:
  Folks,
  The branch build is stable, but the trunk has been totally broken. We
 would
  be switching back active development to the trunk soon after the release.
  Please can the relevant people fix the trunk today?
  Thanks
  Azeez
 
  --
  Afkham Azeez
  Director of Architecture; WSO2, Inc.; http://wso2.com
  Member; Apache Software Foundation; http://www.apache.org/
 
  email: az...@wso2.com cell: +94 77 3320919
  blog: http://blog.afkham.org
  twitter: http://twitter.com/afkham_azeez
  linked-in: http://lk.linkedin.com/in/afkhamazeez
 
  Lean . Enterprise . Middleware
 
  ___
  Carbon-dev mailing list
  Carbon-dev@wso2.org
  http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
 
 



 --
 Thanks  Regards,
 Prabath

 http://blog.facilelogin.com
 http://RampartFAQ.com
 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

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


Re: [Carbon-dev] Please fix the trunk

2011-06-08 Thread Asela Pathberiya
On Wed, Jun 8, 2011 at 11:47 AM, Prabath Siriwardena prab...@wso2.comwrote:

 Asela is working on this...


I have already fixed the build failures which are occurred due to the
version changing in securevault, throttling and caching.


 Thanks  regards,
 -Prabath

 On Wed, Jun 8, 2011 at 11:22 AM, Afkham Azeez az...@wso2.com wrote:
  Folks,
  The branch build is stable, but the trunk has been totally broken. We
 would
  be switching back active development to the trunk soon after the release.
  Please can the relevant people fix the trunk today?
  Thanks
  Azeez
 
  --
  Afkham Azeez
  Director of Architecture; WSO2, Inc.; http://wso2.com
  Member; Apache Software Foundation; http://www.apache.org/
 
  email: az...@wso2.com cell: +94 77 3320919
  blog: http://blog.afkham.org
  twitter: http://twitter.com/afkham_azeez
  linked-in: http://lk.linkedin.com/in/afkhamazeez
 
  Lean . Enterprise . Middleware
 
  ___
  Carbon-dev mailing list
  Carbon-dev@wso2.org
  http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
 
 



 --
 Thanks  Regards,
 Prabath

 http://blog.facilelogin.com
 http://RampartFAQ.com
 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

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


Re: [Carbon-dev] Please fix the trunk

2011-06-08 Thread Asela Pathberiya
On Wed, Jun 8, 2011 at 11:58 AM, Amila Maha Arachchi ami...@wso2.comwrote:



 On Wed, Jun 8, 2011 at 11:47 AM, Prabath Siriwardena prab...@wso2.comwrote:

 Asela is working on this...


 In the process of taking a fresh checkout of trunk in the local builder.
 Will build and see what are the errors.


+1



 Thanks,
 AmilaM.


 Thanks  regards,
 -Prabath

 On Wed, Jun 8, 2011 at 11:22 AM, Afkham Azeez az...@wso2.com wrote:
  Folks,
  The branch build is stable, but the trunk has been totally broken. We
 would
  be switching back active development to the trunk soon after the
 release.
  Please can the relevant people fix the trunk today?
  Thanks
  Azeez
 
  --
  Afkham Azeez
  Director of Architecture; WSO2, Inc.; http://wso2.com
  Member; Apache Software Foundation; http://www.apache.org/
 
  email: az...@wso2.com cell: +94 77 3320919
  blog: http://blog.afkham.org
  twitter: http://twitter.com/afkham_azeez
  linked-in: http://lk.linkedin.com/in/afkhamazeez
 
  Lean . Enterprise . Middleware
 
  ___
  Carbon-dev mailing list
  Carbon-dev@wso2.org
  http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
 
 



 --
 Thanks  Regards,
 Prabath

 http://blog.facilelogin.com
 http://RampartFAQ.com
 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev



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


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


Re: [Carbon-dev] Please fix the trunk

2011-06-08 Thread Denis Weerasiri
I'm getting these errors at core. But in 3.2.0 branch, stub generation
for org.wso2.carbon.authenticator.stub works fine, while in trunk it fails.

[ERROR] COMPILATION ERROR :
[INFO] -
[ERROR]
/opt/installations/wso2/trunk/carbon/core/org.wso2.carbon.authenticator.proxy/src/main/java/org/wso2/carbon/authenticator/proxy/AuthenticationAdminClient.java:[31,41]
package org.wso2.carbon.authenticator.stub does not exist

[ERROR]
/opt/installations/wso2/trunk/carbon/core/org.wso2.carbon.authenticator.proxy/src/main/java/org/wso2/carbon/authenticator/proxy/AuthenticationAdminClient.java:[32,41]
package org.wso2.carbon.authenticator.stub does not exist

[ERROR]
/opt/installations/wso2/trunk/carbon/core/org.wso2.carbon.authenticator.proxy/src/main/java/org/wso2/carbon/authenticator/proxy/AuthenticationAdminClient.java:[43,12]
cannot find symbol
symbol  : class AuthenticationAdminStub
location: class
org.wso2.carbon.authenticator.proxy.AuthenticationAdminClient

[ERROR]
/opt/installations/wso2/trunk/carbon/core/org.wso2.carbon.authenticator.proxy/src/main/java/org/wso2/carbon/authenticator/proxy/AuthenticationAdminClient.java:[74,11]
cannot find symbol
symbol  : class RememberMeData
location: class
org.wso2.carbon.authenticator.proxy.AuthenticationAdminClient

[ERROR]
/opt/installations/wso2/trunk/carbon/core/org.wso2.carbon.authenticator.proxy/src/main/java/org/wso2/carbon/authenticator/proxy/AuthenticationAdminClient.java:[52,19]
cannot find symbol
symbol  : class AuthenticationAdminStub
location: class
org.wso2.carbon.authenticator.proxy.AuthenticationAdminClient

[ERROR]
/opt/installations/wso2/trunk/carbon/core/org.wso2.carbon.authenticator.proxy/src/main/java/org/wso2/carbon/authenticator/proxy/AuthenticationAdminClient.java:[77,12]
cannot find symbol
symbol  : class RememberMeData
location: class
org.wso2.carbon.authenticator.proxy.AuthenticationAdminClient


On Wed, Jun 8, 2011 at 12:30 PM, Asela Pathberiya as...@wso2.com wrote:



 On Wed, Jun 8, 2011 at 11:58 AM, Amila Maha Arachchi ami...@wso2.comwrote:



 On Wed, Jun 8, 2011 at 11:47 AM, Prabath Siriwardena prab...@wso2.comwrote:

 Asela is working on this...


 In the process of taking a fresh checkout of trunk in the local builder.
 Will build and see what are the errors.


 +1



 Thanks,
 AmilaM.


 Thanks  regards,
 -Prabath

 On Wed, Jun 8, 2011 at 11:22 AM, Afkham Azeez az...@wso2.com wrote:
  Folks,
  The branch build is stable, but the trunk has been totally broken. We
 would
  be switching back active development to the trunk soon after the
 release.
  Please can the relevant people fix the trunk today?
  Thanks
  Azeez
 
  --
  Afkham Azeez
  Director of Architecture; WSO2, Inc.; http://wso2.com
  Member; Apache Software Foundation; http://www.apache.org/
 
  email: az...@wso2.com cell: +94 77 3320919
  blog: http://blog.afkham.org
  twitter: http://twitter.com/afkham_azeez
  linked-in: http://lk.linkedin.com/in/afkhamazeez
 
  Lean . Enterprise . Middleware
 
  ___
  Carbon-dev mailing list
  Carbon-dev@wso2.org
  http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
 
 



 --
 Thanks  Regards,
 Prabath

 http://blog.facilelogin.com
 http://RampartFAQ.com
 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev



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



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




-- 
Thanks,
Denis
--
*Denis Weerasiri*
Software Engineer; WSO2 Inc.; http://wso2.com,
*email: denis http://goog_277208233/** [AT] wso2.com* http://wso2.com/*
blog: **http://ddweerasiri.blogspot.com* http://ddweerasiri.blogspot.com/*
twitter: **http://twitter.com/ddweerasiri* http://twitter.com/ddweerasiri*
linked-in: 
**http://lk.linkedin.com/in/ddweerasiri*http://lk.linkedin.com/in/ddweerasiri
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Please fix the trunk

2011-06-08 Thread Denis Weerasiri
Hi,
carbon/core/org.wso2.carbon.ui also fails due to  below exception
in carbon/service-stubs/org.wso2.carbon.core.commons.stub

 [java] Exception in thread main java.lang.NoClassDefFoundError:
org/apache/axiom/om/OMNode
 [java] at
org.apache.axis2.description.WSDLToAxisServiceBuilder.init(WSDLToAxisServiceBuilder.java:103)
 [java] at
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.init(WSDL11ToAxisServiceBuilder.java:217)
 [java] at
org.apache.axis2.description.WSDL11ToAllAxisServicesBuilder.init(WSDL11ToAllAxisServicesBuilder.java:63)
 [java] at
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.init(CodeGenerationEngine.java:166)
 [java] at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
 [java] at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)
 [java] Caused by: java.lang.ClassNotFoundException:
org.apache.axiom.om.OMNode
 [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
 [java] at java.security.AccessController.doPrivileged(Native Method)
 [java] at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
 [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
 [java] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
 [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
 [java] ... 6 more

So getting compilation failures at

[ERROR] BUILD FAILURE
[INFO]

[INFO] Compilation failure

/opt/installations/wso2/trunk/carbon/core/org.wso2.carbon.ui/src/main/java/org/wso2/carbon/ui/clients/FileUploadServiceClient.java:[28,51]
package org.wso2.carbon.core.commons.stub.fileupload does not exist

/opt/installations/wso2/trunk/carbon/core/org.wso2.carbon.ui/src/main/java/org/wso2/carbon/ui/clients/FileUploadServiceClient.java:[35,12]
cannot find symbol
symbol  : class FileUploadServiceStub
location: class org.wso2.carbon.ui.clients.FileUploadServiceClient

/opt/installations/wso2/trunk/carbon/core/org.wso2.carbon.ui/src/main/java/org/wso2/carbon/ui/clients/FileDownloadServiceClient.java:[26,53]
package org.wso2.carbon.core.commons.stub.filedownload does not exist

/opt/installations/wso2/trunk/carbon/core/org.wso2.carbon.ui/src/main/java/org/wso2/carbon/ui/clients/FileDownloadServiceClient.java:[38,12]
cannot find symbol
symbol  : class FileDownloadServiceStub
location: class org.wso2.carbon.ui.clients.FileDownloadServiceClient

/opt/installations/wso2/trunk/carbon/core/org.wso2.carbon.ui/src/main/java/org/wso2/carbon/ui/clients/LoggedUserInfoClient.java:[29,55]
package org.wso2.carbon.core.commons.stub.loggeduserinfo does not exist

/opt/installations/wso2/trunk/carbon/core/org.wso2.carbon.ui/src/main/java/org/wso2/carbon/ui/clients/LoggedUserInfoClient.java:[34,12]
cannot find symbol
symbol  : class LoggedUserInfoAdminStub
location: class org.wso2.carbon.ui.clients.LoggedUserInfoClient

[INFO]

[INFO] Building WSO2 Carbon Core - UI Stub
[INFO]task-segment: [clean, install]
[INFO]

[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting
/opt/installations/wso2/trunk/carbon/service-stubs/org.wso2.carbon.core.commons.stub/target
[INFO] [incremental-build:incremental-build {execution: default}]
[INFO] Verifying module descriptor ...
[INFO] Pom descriptor modification detected.
[INFO] Deleting
/opt/installations/wso2/trunk/carbon/service-stubs/org.wso2.carbon.core.commons.stub/target
[INFO] [clean:clean {execution: auto-clean}]
[INFO] Deleting
/opt/installations/wso2/trunk/carbon/service-stubs/org.wso2.carbon.core.commons.stub/target
[INFO] [build-helper:add-source {execution: add-source}]
[INFO] Source directory:
/opt/installations/wso2/trunk/carbon/service-stubs/org.wso2.carbon.core.commons.stub/target/generated-code/src
added.
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 4 resources
[INFO] [antrun:run {execution: source-code-generation}]
[INFO] Executing tasks
 [java] Retrieving document at
'src/main/resources/RegistryAdminService.wsdl'.
 [java] Exception in thread main java.lang.NoClassDefFoundError:
org/apache/axiom/om/OMNode
 [java] at
org.apache.axis2.description.WSDLToAxisServiceBuilder.init(WSDLToAxisServiceBuilder.java:103)
 [java] at
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.init(WSDL11ToAxisServiceBuilder.java:217)
 [java] at
org.apache.axis2.description.WSDL11ToAllAxisServicesBuilder.init(WSDL11ToAllAxisServicesBuilder.java:63)
 [java] at
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.init(CodeGenerationEngine.java:166)
 [java] at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
 [java] at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)
 [java] Caused by: java.lang.ClassNotFoundException:

Re: [Carbon-dev] Please fix the trunk

2011-06-08 Thread Denis Weerasiri
Hi Amila,
Most of the stub-generation modules fails due to this NoClassDefFoundError
exception.
Adding the axiom lib (axiom-1.2.11.wso2v1.jar) to class-path during
WSDL2Java solves the issue.
Is it OK to modify the ant tasks to add the class-path in all service-stubs
 modules?

On Wed, Jun 8, 2011 at 11:44 PM, Denis Weerasiri de...@wso2.com wrote:

 Hi,
 carbon/core/org.wso2.carbon.ui also fails due to  below exception
 in carbon/service-stubs/org.wso2.carbon.core.commons.stub

  [java] Exception in thread main java.lang.NoClassDefFoundError:
 org/apache/axiom/om/OMNode
  [java] at
 org.apache.axis2.description.WSDLToAxisServiceBuilder.init(WSDLToAxisServiceBuilder.java:103)
  [java] at
 org.apache.axis2.description.WSDL11ToAxisServiceBuilder.init(WSDL11ToAxisServiceBuilder.java:217)
  [java] at
 org.apache.axis2.description.WSDL11ToAllAxisServicesBuilder.init(WSDL11ToAllAxisServicesBuilder.java:63)
  [java] at
 org.apache.axis2.wsdl.codegen.CodeGenerationEngine.init(CodeGenerationEngine.java:166)
  [java] at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
  [java] at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)
  [java] Caused by: java.lang.ClassNotFoundException:
 org.apache.axiom.om.OMNode
  [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
  [java] at java.security.AccessController.doPrivileged(Native Method)
  [java] at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
  [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
  [java] at
 sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
  [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
  [java] ... 6 more

 So getting compilation failures at

 [ERROR] BUILD FAILURE
 [INFO]
 
 [INFO] Compilation failure

 /opt/installations/wso2/trunk/carbon/core/org.wso2.carbon.ui/src/main/java/org/wso2/carbon/ui/clients/FileUploadServiceClient.java:[28,51]
 package org.wso2.carbon.core.commons.stub.fileupload does not exist

 /opt/installations/wso2/trunk/carbon/core/org.wso2.carbon.ui/src/main/java/org/wso2/carbon/ui/clients/FileUploadServiceClient.java:[35,12]
 cannot find symbol
 symbol  : class FileUploadServiceStub
 location: class org.wso2.carbon.ui.clients.FileUploadServiceClient

 /opt/installations/wso2/trunk/carbon/core/org.wso2.carbon.ui/src/main/java/org/wso2/carbon/ui/clients/FileDownloadServiceClient.java:[26,53]
 package org.wso2.carbon.core.commons.stub.filedownload does not exist

 /opt/installations/wso2/trunk/carbon/core/org.wso2.carbon.ui/src/main/java/org/wso2/carbon/ui/clients/FileDownloadServiceClient.java:[38,12]
 cannot find symbol
 symbol  : class FileDownloadServiceStub
 location: class org.wso2.carbon.ui.clients.FileDownloadServiceClient

 /opt/installations/wso2/trunk/carbon/core/org.wso2.carbon.ui/src/main/java/org/wso2/carbon/ui/clients/LoggedUserInfoClient.java:[29,55]
 package org.wso2.carbon.core.commons.stub.loggeduserinfo does not exist

 /opt/installations/wso2/trunk/carbon/core/org.wso2.carbon.ui/src/main/java/org/wso2/carbon/ui/clients/LoggedUserInfoClient.java:[34,12]
 cannot find symbol
 symbol  : class LoggedUserInfoAdminStub
 location: class org.wso2.carbon.ui.clients.LoggedUserInfoClient

 [INFO]
 
 [INFO] Building WSO2 Carbon Core - UI Stub
 [INFO]task-segment: [clean, install]
 [INFO]
 
 [INFO] [clean:clean {execution: default-clean}]
 [INFO] Deleting
 /opt/installations/wso2/trunk/carbon/service-stubs/org.wso2.carbon.core.commons.stub/target
 [INFO] [incremental-build:incremental-build {execution: default}]
 [INFO] Verifying module descriptor ...
 [INFO] Pom descriptor modification detected.
 [INFO] Deleting
 /opt/installations/wso2/trunk/carbon/service-stubs/org.wso2.carbon.core.commons.stub/target
 [INFO] [clean:clean {execution: auto-clean}]
 [INFO] Deleting
 /opt/installations/wso2/trunk/carbon/service-stubs/org.wso2.carbon.core.commons.stub/target
 [INFO] [build-helper:add-source {execution: add-source}]
 [INFO] Source directory:
 /opt/installations/wso2/trunk/carbon/service-stubs/org.wso2.carbon.core.commons.stub/target/generated-code/src
 added.
 [INFO] [resources:resources {execution: default-resources}]
 [INFO] Using 'UTF-8' encoding to copy filtered resources.
 [INFO] Copying 4 resources
 [INFO] [antrun:run {execution: source-code-generation}]
 [INFO] Executing tasks
  [java] Retrieving document at
 'src/main/resources/RegistryAdminService.wsdl'.
  [java] Exception in thread main java.lang.NoClassDefFoundError:
 org/apache/axiom/om/OMNode
  [java] at
 org.apache.axis2.description.WSDLToAxisServiceBuilder.init(WSDLToAxisServiceBuilder.java:103)
  [java] at
 

Re: [Carbon-dev] Please fix the trunk

2011-06-08 Thread Samisa Abeysinghe
Note that the 3.2.0 branch is still not building with the US builder :(

On Thu, Jun 9, 2011 at 12:17 AM, Denis Weerasiri de...@wso2.com wrote:

 Hi Amila,
 Most of the stub-generation modules fails due to this NoClassDefFoundError
 exception.
 Adding the axiom lib (axiom-1.2.11.wso2v1.jar) to class-path during
 WSDL2Java solves the issue.
 Is it OK to modify the ant tasks to add the class-path in all service-stubs
  modules?


 On Wed, Jun 8, 2011 at 11:44 PM, Denis Weerasiri de...@wso2.com wrote:

 Hi,
 carbon/core/org.wso2.carbon.ui also fails due to  below exception
 in carbon/service-stubs/org.wso2.carbon.core.commons.stub

  [java] Exception in thread main java.lang.NoClassDefFoundError:
 org/apache/axiom/om/OMNode
  [java] at
 org.apache.axis2.description.WSDLToAxisServiceBuilder.init(WSDLToAxisServiceBuilder.java:103)
  [java] at
 org.apache.axis2.description.WSDL11ToAxisServiceBuilder.init(WSDL11ToAxisServiceBuilder.java:217)
  [java] at
 org.apache.axis2.description.WSDL11ToAllAxisServicesBuilder.init(WSDL11ToAllAxisServicesBuilder.java:63)
  [java] at
 org.apache.axis2.wsdl.codegen.CodeGenerationEngine.init(CodeGenerationEngine.java:166)
  [java] at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
  [java] at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)
  [java] Caused by: java.lang.ClassNotFoundException:
 org.apache.axiom.om.OMNode
  [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
  [java] at java.security.AccessController.doPrivileged(Native Method)
  [java] at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
  [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
  [java] at
 sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
  [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
  [java] ... 6 more

 So getting compilation failures at

 [ERROR] BUILD FAILURE
 [INFO]
 
 [INFO] Compilation failure

 /opt/installations/wso2/trunk/carbon/core/org.wso2.carbon.ui/src/main/java/org/wso2/carbon/ui/clients/FileUploadServiceClient.java:[28,51]
 package org.wso2.carbon.core.commons.stub.fileupload does not exist

 /opt/installations/wso2/trunk/carbon/core/org.wso2.carbon.ui/src/main/java/org/wso2/carbon/ui/clients/FileUploadServiceClient.java:[35,12]
 cannot find symbol
 symbol  : class FileUploadServiceStub
 location: class org.wso2.carbon.ui.clients.FileUploadServiceClient

 /opt/installations/wso2/trunk/carbon/core/org.wso2.carbon.ui/src/main/java/org/wso2/carbon/ui/clients/FileDownloadServiceClient.java:[26,53]
 package org.wso2.carbon.core.commons.stub.filedownload does not exist

 /opt/installations/wso2/trunk/carbon/core/org.wso2.carbon.ui/src/main/java/org/wso2/carbon/ui/clients/FileDownloadServiceClient.java:[38,12]
 cannot find symbol
 symbol  : class FileDownloadServiceStub
 location: class org.wso2.carbon.ui.clients.FileDownloadServiceClient

 /opt/installations/wso2/trunk/carbon/core/org.wso2.carbon.ui/src/main/java/org/wso2/carbon/ui/clients/LoggedUserInfoClient.java:[29,55]
 package org.wso2.carbon.core.commons.stub.loggeduserinfo does not exist

 /opt/installations/wso2/trunk/carbon/core/org.wso2.carbon.ui/src/main/java/org/wso2/carbon/ui/clients/LoggedUserInfoClient.java:[34,12]
 cannot find symbol
 symbol  : class LoggedUserInfoAdminStub
 location: class org.wso2.carbon.ui.clients.LoggedUserInfoClient

 [INFO]
 
 [INFO] Building WSO2 Carbon Core - UI Stub
 [INFO]task-segment: [clean, install]
 [INFO]
 
 [INFO] [clean:clean {execution: default-clean}]
 [INFO] Deleting
 /opt/installations/wso2/trunk/carbon/service-stubs/org.wso2.carbon.core.commons.stub/target
 [INFO] [incremental-build:incremental-build {execution: default}]
 [INFO] Verifying module descriptor ...
 [INFO] Pom descriptor modification detected.
 [INFO] Deleting
 /opt/installations/wso2/trunk/carbon/service-stubs/org.wso2.carbon.core.commons.stub/target
 [INFO] [clean:clean {execution: auto-clean}]
 [INFO] Deleting
 /opt/installations/wso2/trunk/carbon/service-stubs/org.wso2.carbon.core.commons.stub/target
 [INFO] [build-helper:add-source {execution: add-source}]
 [INFO] Source directory:
 /opt/installations/wso2/trunk/carbon/service-stubs/org.wso2.carbon.core.commons.stub/target/generated-code/src
 added.
 [INFO] [resources:resources {execution: default-resources}]
 [INFO] Using 'UTF-8' encoding to copy filtered resources.
 [INFO] Copying 4 resources
 [INFO] [antrun:run {execution: source-code-generation}]
 [INFO] Executing tasks
  [java] Retrieving document at
 'src/main/resources/RegistryAdminService.wsdl'.
  [java] Exception in thread main java.lang.NoClassDefFoundError:
 org/apache/axiom/om/OMNode
  [java] at
 

Re: [Carbon-dev] Please fix the trunk

2011-06-08 Thread Amila Suriarachchi
from wsdl2java point of view doesn't matter.

thanks,
Amila.

On Thu, Jun 9, 2011 at 12:17 AM, Denis Weerasiri de...@wso2.com wrote:

 Hi Amila,
 Most of the stub-generation modules fails due to this NoClassDefFoundError
 exception.
 Adding the axiom lib (axiom-1.2.11.wso2v1.jar) to class-path during
 WSDL2Java solves the issue.
 Is it OK to modify the ant tasks to add the class-path in all service-stubs
  modules?


 On Wed, Jun 8, 2011 at 11:44 PM, Denis Weerasiri de...@wso2.com wrote:

 Hi,
 carbon/core/org.wso2.carbon.ui also fails due to  below exception
 in carbon/service-stubs/org.wso2.carbon.core.commons.stub

  [java] Exception in thread main java.lang.NoClassDefFoundError:
 org/apache/axiom/om/OMNode
  [java] at
 org.apache.axis2.description.WSDLToAxisServiceBuilder.init(WSDLToAxisServiceBuilder.java:103)
  [java] at
 org.apache.axis2.description.WSDL11ToAxisServiceBuilder.init(WSDL11ToAxisServiceBuilder.java:217)
  [java] at
 org.apache.axis2.description.WSDL11ToAllAxisServicesBuilder.init(WSDL11ToAllAxisServicesBuilder.java:63)
  [java] at
 org.apache.axis2.wsdl.codegen.CodeGenerationEngine.init(CodeGenerationEngine.java:166)
  [java] at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
  [java] at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)
  [java] Caused by: java.lang.ClassNotFoundException:
 org.apache.axiom.om.OMNode
  [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
  [java] at java.security.AccessController.doPrivileged(Native Method)
  [java] at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
  [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
  [java] at
 sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
  [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
  [java] ... 6 more

 So getting compilation failures at

 [ERROR] BUILD FAILURE
 [INFO]
 
 [INFO] Compilation failure

 /opt/installations/wso2/trunk/carbon/core/org.wso2.carbon.ui/src/main/java/org/wso2/carbon/ui/clients/FileUploadServiceClient.java:[28,51]
 package org.wso2.carbon.core.commons.stub.fileupload does not exist

 /opt/installations/wso2/trunk/carbon/core/org.wso2.carbon.ui/src/main/java/org/wso2/carbon/ui/clients/FileUploadServiceClient.java:[35,12]
 cannot find symbol
 symbol  : class FileUploadServiceStub
 location: class org.wso2.carbon.ui.clients.FileUploadServiceClient

 /opt/installations/wso2/trunk/carbon/core/org.wso2.carbon.ui/src/main/java/org/wso2/carbon/ui/clients/FileDownloadServiceClient.java:[26,53]
 package org.wso2.carbon.core.commons.stub.filedownload does not exist

 /opt/installations/wso2/trunk/carbon/core/org.wso2.carbon.ui/src/main/java/org/wso2/carbon/ui/clients/FileDownloadServiceClient.java:[38,12]
 cannot find symbol
 symbol  : class FileDownloadServiceStub
 location: class org.wso2.carbon.ui.clients.FileDownloadServiceClient

 /opt/installations/wso2/trunk/carbon/core/org.wso2.carbon.ui/src/main/java/org/wso2/carbon/ui/clients/LoggedUserInfoClient.java:[29,55]
 package org.wso2.carbon.core.commons.stub.loggeduserinfo does not exist

 /opt/installations/wso2/trunk/carbon/core/org.wso2.carbon.ui/src/main/java/org/wso2/carbon/ui/clients/LoggedUserInfoClient.java:[34,12]
 cannot find symbol
 symbol  : class LoggedUserInfoAdminStub
 location: class org.wso2.carbon.ui.clients.LoggedUserInfoClient

 [INFO]
 
 [INFO] Building WSO2 Carbon Core - UI Stub
 [INFO]task-segment: [clean, install]
 [INFO]
 
 [INFO] [clean:clean {execution: default-clean}]
 [INFO] Deleting
 /opt/installations/wso2/trunk/carbon/service-stubs/org.wso2.carbon.core.commons.stub/target
 [INFO] [incremental-build:incremental-build {execution: default}]
 [INFO] Verifying module descriptor ...
 [INFO] Pom descriptor modification detected.
 [INFO] Deleting
 /opt/installations/wso2/trunk/carbon/service-stubs/org.wso2.carbon.core.commons.stub/target
 [INFO] [clean:clean {execution: auto-clean}]
 [INFO] Deleting
 /opt/installations/wso2/trunk/carbon/service-stubs/org.wso2.carbon.core.commons.stub/target
 [INFO] [build-helper:add-source {execution: add-source}]
 [INFO] Source directory:
 /opt/installations/wso2/trunk/carbon/service-stubs/org.wso2.carbon.core.commons.stub/target/generated-code/src
 added.
 [INFO] [resources:resources {execution: default-resources}]
 [INFO] Using 'UTF-8' encoding to copy filtered resources.
 [INFO] Copying 4 resources
 [INFO] [antrun:run {execution: source-code-generation}]
 [INFO] Executing tasks
  [java] Retrieving document at
 'src/main/resources/RegistryAdminService.wsdl'.
  [java] Exception in thread main java.lang.NoClassDefFoundError:
 org/apache/axiom/om/OMNode
  [java] at
 

Re: [Carbon-dev] Please fix the trunk

2011-06-08 Thread Amila Maha Arachchi
On Thu, Jun 9, 2011 at 11:06 AM, Amila Suriarachchi am...@wso2.com wrote:

 from wsdl2java point of view doesn't matter.


Thilina has fixed this in the branch (by adding axiom jar as a path
element). I am following the same in branch and will commit shortly.

AmilaM.


 thanks,
 Amila.


 On Thu, Jun 9, 2011 at 12:17 AM, Denis Weerasiri de...@wso2.com wrote:

 Hi Amila,
 Most of the stub-generation modules fails due to this NoClassDefFoundError
 exception.
 Adding the axiom lib (axiom-1.2.11.wso2v1.jar) to class-path during
 WSDL2Java solves the issue.
 Is it OK to modify the ant tasks to add the class-path in all
 service-stubs  modules?


 On Wed, Jun 8, 2011 at 11:44 PM, Denis Weerasiri de...@wso2.com wrote:

 Hi,
 carbon/core/org.wso2.carbon.ui also fails due to  below exception
 in carbon/service-stubs/org.wso2.carbon.core.commons.stub

  [java] Exception in thread main java.lang.NoClassDefFoundError:
 org/apache/axiom/om/OMNode
  [java] at
 org.apache.axis2.description.WSDLToAxisServiceBuilder.init(WSDLToAxisServiceBuilder.java:103)
  [java] at
 org.apache.axis2.description.WSDL11ToAxisServiceBuilder.init(WSDL11ToAxisServiceBuilder.java:217)
  [java] at
 org.apache.axis2.description.WSDL11ToAllAxisServicesBuilder.init(WSDL11ToAllAxisServicesBuilder.java:63)
  [java] at
 org.apache.axis2.wsdl.codegen.CodeGenerationEngine.init(CodeGenerationEngine.java:166)
  [java] at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
  [java] at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)
  [java] Caused by: java.lang.ClassNotFoundException:
 org.apache.axiom.om.OMNode
  [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
  [java] at java.security.AccessController.doPrivileged(Native
 Method)
  [java] at
 java.net.URLClassLoader.findClass(URLClassLoader.java:190)
  [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
  [java] at
 sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
  [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
  [java] ... 6 more

 So getting compilation failures at

 [ERROR] BUILD FAILURE
 [INFO]
 
 [INFO] Compilation failure

 /opt/installations/wso2/trunk/carbon/core/org.wso2.carbon.ui/src/main/java/org/wso2/carbon/ui/clients/FileUploadServiceClient.java:[28,51]
 package org.wso2.carbon.core.commons.stub.fileupload does not exist

 /opt/installations/wso2/trunk/carbon/core/org.wso2.carbon.ui/src/main/java/org/wso2/carbon/ui/clients/FileUploadServiceClient.java:[35,12]
 cannot find symbol
 symbol  : class FileUploadServiceStub
 location: class org.wso2.carbon.ui.clients.FileUploadServiceClient

 /opt/installations/wso2/trunk/carbon/core/org.wso2.carbon.ui/src/main/java/org/wso2/carbon/ui/clients/FileDownloadServiceClient.java:[26,53]
 package org.wso2.carbon.core.commons.stub.filedownload does not exist

 /opt/installations/wso2/trunk/carbon/core/org.wso2.carbon.ui/src/main/java/org/wso2/carbon/ui/clients/FileDownloadServiceClient.java:[38,12]
 cannot find symbol
 symbol  : class FileDownloadServiceStub
 location: class org.wso2.carbon.ui.clients.FileDownloadServiceClient

 /opt/installations/wso2/trunk/carbon/core/org.wso2.carbon.ui/src/main/java/org/wso2/carbon/ui/clients/LoggedUserInfoClient.java:[29,55]
 package org.wso2.carbon.core.commons.stub.loggeduserinfo does not exist

 /opt/installations/wso2/trunk/carbon/core/org.wso2.carbon.ui/src/main/java/org/wso2/carbon/ui/clients/LoggedUserInfoClient.java:[34,12]
 cannot find symbol
 symbol  : class LoggedUserInfoAdminStub
 location: class org.wso2.carbon.ui.clients.LoggedUserInfoClient

 [INFO]
 
 [INFO] Building WSO2 Carbon Core - UI Stub
 [INFO]task-segment: [clean, install]
 [INFO]
 
 [INFO] [clean:clean {execution: default-clean}]
 [INFO] Deleting
 /opt/installations/wso2/trunk/carbon/service-stubs/org.wso2.carbon.core.commons.stub/target
 [INFO] [incremental-build:incremental-build {execution: default}]
 [INFO] Verifying module descriptor ...
 [INFO] Pom descriptor modification detected.
 [INFO] Deleting
 /opt/installations/wso2/trunk/carbon/service-stubs/org.wso2.carbon.core.commons.stub/target
 [INFO] [clean:clean {execution: auto-clean}]
 [INFO] Deleting
 /opt/installations/wso2/trunk/carbon/service-stubs/org.wso2.carbon.core.commons.stub/target
 [INFO] [build-helper:add-source {execution: add-source}]
 [INFO] Source directory:
 /opt/installations/wso2/trunk/carbon/service-stubs/org.wso2.carbon.core.commons.stub/target/generated-code/src
 added.
 [INFO] [resources:resources {execution: default-resources}]
 [INFO] Using 'UTF-8' encoding to copy filtered resources.
 [INFO] Copying 4 resources
 [INFO] [antrun:run {execution: source-code-generation}]
 [INFO] Executing tasks
  [java] Retrieving 

Re: [Carbon-dev] Please fix the trunk

2011-06-08 Thread Thilina Buddhika
AmilaM, I think this is not a scalable approach. Please refer to the Azeez's
reply to the thread RC8 build will be bit delayed in carbon-dev.

Thanks,
Thilina

On Thu, Jun 9, 2011 at 11:12 AM, Amila Maha Arachchi ami...@wso2.comwrote:



 On Thu, Jun 9, 2011 at 11:06 AM, Amila Suriarachchi am...@wso2.comwrote:

 from wsdl2java point of view doesn't matter.


 Thilina has fixed this in the branch (by adding axiom jar as a path
 element). I am following the same in branch and will commit shortly.

 AmilaM.


 thanks,
 Amila.


 On Thu, Jun 9, 2011 at 12:17 AM, Denis Weerasiri de...@wso2.com wrote:

 Hi Amila,
 Most of the stub-generation modules fails due to
 this NoClassDefFoundError exception.
 Adding the axiom lib (axiom-1.2.11.wso2v1.jar) to class-path during
 WSDL2Java solves the issue.
 Is it OK to modify the ant tasks to add the class-path in all
 service-stubs  modules?


 On Wed, Jun 8, 2011 at 11:44 PM, Denis Weerasiri de...@wso2.com wrote:

 Hi,
 carbon/core/org.wso2.carbon.ui also fails due to  below exception
 in carbon/service-stubs/org.wso2.carbon.core.commons.stub

  [java] Exception in thread main java.lang.NoClassDefFoundError:
 org/apache/axiom/om/OMNode
  [java] at
 org.apache.axis2.description.WSDLToAxisServiceBuilder.init(WSDLToAxisServiceBuilder.java:103)
  [java] at
 org.apache.axis2.description.WSDL11ToAxisServiceBuilder.init(WSDL11ToAxisServiceBuilder.java:217)
  [java] at
 org.apache.axis2.description.WSDL11ToAllAxisServicesBuilder.init(WSDL11ToAllAxisServicesBuilder.java:63)
  [java] at
 org.apache.axis2.wsdl.codegen.CodeGenerationEngine.init(CodeGenerationEngine.java:166)
  [java] at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
  [java] at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)
  [java] Caused by: java.lang.ClassNotFoundException:
 org.apache.axiom.om.OMNode
  [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
  [java] at java.security.AccessController.doPrivileged(Native
 Method)
  [java] at
 java.net.URLClassLoader.findClass(URLClassLoader.java:190)
  [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
  [java] at
 sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
  [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
  [java] ... 6 more

 So getting compilation failures at

 [ERROR] BUILD FAILURE
 [INFO]
 
 [INFO] Compilation failure

 /opt/installations/wso2/trunk/carbon/core/org.wso2.carbon.ui/src/main/java/org/wso2/carbon/ui/clients/FileUploadServiceClient.java:[28,51]
 package org.wso2.carbon.core.commons.stub.fileupload does not exist

 /opt/installations/wso2/trunk/carbon/core/org.wso2.carbon.ui/src/main/java/org/wso2/carbon/ui/clients/FileUploadServiceClient.java:[35,12]
 cannot find symbol
 symbol  : class FileUploadServiceStub
 location: class org.wso2.carbon.ui.clients.FileUploadServiceClient

 /opt/installations/wso2/trunk/carbon/core/org.wso2.carbon.ui/src/main/java/org/wso2/carbon/ui/clients/FileDownloadServiceClient.java:[26,53]
 package org.wso2.carbon.core.commons.stub.filedownload does not exist

 /opt/installations/wso2/trunk/carbon/core/org.wso2.carbon.ui/src/main/java/org/wso2/carbon/ui/clients/FileDownloadServiceClient.java:[38,12]
 cannot find symbol
 symbol  : class FileDownloadServiceStub
 location: class org.wso2.carbon.ui.clients.FileDownloadServiceClient

 /opt/installations/wso2/trunk/carbon/core/org.wso2.carbon.ui/src/main/java/org/wso2/carbon/ui/clients/LoggedUserInfoClient.java:[29,55]
 package org.wso2.carbon.core.commons.stub.loggeduserinfo does not exist

 /opt/installations/wso2/trunk/carbon/core/org.wso2.carbon.ui/src/main/java/org/wso2/carbon/ui/clients/LoggedUserInfoClient.java:[34,12]
 cannot find symbol
 symbol  : class LoggedUserInfoAdminStub
 location: class org.wso2.carbon.ui.clients.LoggedUserInfoClient

 [INFO]
 
 [INFO] Building WSO2 Carbon Core - UI Stub
 [INFO]task-segment: [clean, install]
 [INFO]
 
 [INFO] [clean:clean {execution: default-clean}]
 [INFO] Deleting
 /opt/installations/wso2/trunk/carbon/service-stubs/org.wso2.carbon.core.commons.stub/target
 [INFO] [incremental-build:incremental-build {execution: default}]
 [INFO] Verifying module descriptor ...
 [INFO] Pom descriptor modification detected.
 [INFO] Deleting
 /opt/installations/wso2/trunk/carbon/service-stubs/org.wso2.carbon.core.commons.stub/target
 [INFO] [clean:clean {execution: auto-clean}]
 [INFO] Deleting
 /opt/installations/wso2/trunk/carbon/service-stubs/org.wso2.carbon.core.commons.stub/target
 [INFO] [build-helper:add-source {execution: add-source}]
 [INFO] Source directory:
 /opt/installations/wso2/trunk/carbon/service-stubs/org.wso2.carbon.core.commons.stub/target/generated-code/src
 added.
 [INFO]