Re: [Carbon-dev] Compilation error in Google Apps Registration UI

2011-12-07 Thread Nirmal Fernando
Here's the log of 'org.wso2.carbon.stratos.common.stub' !!

[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective
model for org.wso2.carbon:org.wso2.carbon.stratos.common.stub:bundle:3.2.0
[WARNING] 'parent.relativePath' points at
org.wso2.carbon:carbon-platform instead of
org.wso2.carbon:service-stubs, please verify your project structure @
org.wso2.carbon:org.wso2.carbon.stratos.common.stub:3.2.0-SNAPSHOT,
/media/wso2/carbon/carbon/service-stubs/org.wso2.carbon.stratos.common.stub/pom.xml,
line 21, column 13
[WARNING] 'build.plugins.plugin.version' for
org.codehaus.mojo:build-helper-maven-plugin is missing. @
org.wso2.carbon:org.wso2.carbon.stratos.common.stub:3.2.0-SNAPSHOT,
/media/wso2/carbon/carbon/service-stubs/org.wso2.carbon.stratos.common.stub/pom.xml,
line 66, column 21
[WARNING] The expression ${pom.artifactId} is deprecated. Please use
${project.artifactId} instead.
[WARNING] The expression ${pom.artifactId} is deprecated. Please use
${project.artifactId} instead.
[WARNING]
[WARNING] It is highly recommended to fix these problems because they
threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer
support building such malformed projects.
[WARNING]
[INFO]
[INFO] 
[INFO] Building WSO2 Carbon - Stratos Common Stubs 3.2.0
[INFO] 
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @
org.wso2.carbon.stratos.common.stub ---
[INFO] Deleting
/media/wso2/carbon/carbon/service-stubs/org.wso2.carbon.stratos.common.stub/target
[INFO]
[INFO] --- incremental-build-plugin:1.3:incremental-build (default) @
org.wso2.carbon.stratos.common.stub ---
[INFO] Verifying module descriptor ...
[INFO] Pom descriptor modification detected.
[INFO] Deleting
/media/wso2/carbon/carbon/service-stubs/org.wso2.carbon.stratos.common.stub/target
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (auto-clean) @
org.wso2.carbon.stratos.common.stub ---
[INFO] Deleting
/media/wso2/carbon/carbon/service-stubs/org.wso2.carbon.stratos.common.stub/target
[INFO]
[INFO] --- build-helper-maven-plugin:1.7:add-source (add-source) @
org.wso2.carbon.stratos.common.stub ---
[INFO] Source directory:
/media/wso2/carbon/carbon/service-stubs/org.wso2.carbon.stratos.common.stub/target/generated-code/src
added.
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @
org.wso2.carbon.stratos.common.stub ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-antrun-plugin:1.1:run (source-code-generation) @
org.wso2.carbon.stratos.common.stub ---
[INFO] Executing tasks
 [java] Retrieving document at 'src/main/resources/PackageInfoServce.wsdl'.
 [java] Dec 8, 2011 10:04:42 AM
org.apache.axis2.schema.SchemaCompiler compile
 [java] WARNING: No schemaLocation for import of
http://packages.common.carbon.wso2.org/xsd; compilation may fail
[INFO] Executed tasks
[INFO]
[INFO] --- maven-compiler-plugin:2.3.1:compile (default-compile) @
org.wso2.carbon.stratos.common.stub ---
[INFO] Compiling 10 source files to
/media/wso2/carbon/carbon/service-stubs/org.wso2.carbon.stratos.common.stub/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.5:testResources
(default-testResources) @ org.wso2.carbon.stratos.common.stub ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
/media/wso2/carbon/carbon/service-stubs/org.wso2.carbon.stratos.common.stub/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.1:testCompile
(default-testCompile) @ org.wso2.carbon.stratos.common.stub ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.11:test (default-test) @
org.wso2.carbon.stratos.common.stub ---
[INFO] No tests to run.
[INFO] Surefire report directory:
/media/wso2/carbon/carbon/service-stubs/org.wso2.carbon.stratos.common.stub/target/surefire-reports

---
 T E S T S
---

Results :

Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

[INFO]
[INFO] --- maven-bundle-plugin:2.3.4:bundle (default-bundle) @
org.wso2.carbon.stratos.common.stub ---
[WARNING] Warning building bundle
org.wso2.carbon:org.wso2.carbon.stratos.common.stub:bundle:3.2.0 : Did
not find matching referal for
!org.wso2.carbon.stratos.common.packages.stub.*
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @
org.wso2.carbon.stratos.common.stub ---
[INFO] Installing
/media/wso2/carbon/carbon/service-stubs/org.wso2.carbon.stratos.common.stub/target/org.wso2.carbon.stratos.common.stub-3.2.0.jar
to 
/home/nirmal/.m2/repository/org/wso2/carbon/org.wso2.carbon.stratos.common.stub/3.2.0/org.wso2.carbon.s

Re: [Carbon-dev] Compilation error in Google Apps Registration UI

2011-12-06 Thread Kasun Gajasinghe
Hi Nirmal,

This is error is possibly due to an incorrectly built stub. Apparently, the
stub for package org.wso2.carbon.stratos.common.packages.stub has never
generated in your case. Make sure that the relevant project that is
responsible for generating this stub in service-stubs has no issue when
building. Though the build get *successful*, the WSDL2Java may have
*failed* with some exception thrown. This has happened to me before. I had
to comment out some modules, and restart the build from carbon root. In my
case, it was about missing some Axiom deps.

Regards,
--KasunG

On Tue, Dec 6, 2011 at 9:47 PM, Nirmal Fernando  wrote:

> Hi,
>
> Here's the error log regarding $subject.
>
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:2.3.1:compile
> (default-compile) on project org.wso2.carbon.gapp.registration.ui:
> Compilation failure: Compilation failure:
> [ERROR]
> /media/wso2/carbon/carbon/components/stratos/org.wso2.carbon.gapp.registration.ui/src/main/java/org/wso2/carbon/gapp/registration/ui/GoolgeAppsRegistrationClient.java:[27,51]
> package org.wso2.carbon.stratos.common.packages.stub does not exist
> [ERROR]
> [ERROR]
> /media/wso2/carbon/carbon/components/stratos/org.wso2.carbon.gapp.registration.ui/src/main/java/org/wso2/carbon/gapp/registration/ui/GoolgeAppsRegistrationClient.java:[28,51]
> package org.wso2.carbon.stratos.common.packages.stub does not exist
> [ERROR]
> [ERROR]
> /media/wso2/carbon/carbon/components/stratos/org.wso2.carbon.gapp.registration.ui/src/main/java/org/wso2/carbon/gapp/registration/ui/GoolgeAppsRegistrationClient.java:[90,47]
> cannot find symbol
> [ERROR] symbol  : class PackageInfo
> [ERROR] location: class
> org.wso2.carbon.gapp.registration.ui.GoolgeAppsRegistrationClient
> [ERROR]
> [ERROR]
> /media/wso2/carbon/carbon/components/stratos/org.wso2.carbon.gapp.registration.ui/src/main/java/org/wso2/carbon/gapp/registration/ui/GoolgeAppsRegistrationClient.java:[107,11]
> cannot find symbol
> [ERROR] symbol  : class PackageInfo
> [ERROR] location: class
> org.wso2.carbon.gapp.registration.ui.GoolgeAppsRegistrationClient
> [ERROR]
> [ERROR]
> /media/wso2/carbon/carbon/components/stratos/org.wso2.carbon.gapp.registration.ui/src/main/java/org/wso2/carbon/gapp/registration/ui/GoolgeAppsRegistrationClient.java:[93,17]
> cannot find symbol
> [ERROR] symbol  : class PackageInfo
> [ERROR] location: class
> org.wso2.carbon.gapp.registration.ui.GoolgeAppsRegistrationClient
> [ERROR]
> [ERROR]
> /media/wso2/carbon/carbon/components/stratos/org.wso2.carbon.gapp.registration.ui/src/main/java/org/wso2/carbon/gapp/registration/ui/GoolgeAppsRegistrationClient.java:[110,5]
> cannot find symbol
> [ERROR] symbol  : class PackageInfoServiceStub
> [ERROR] location: class
> org.wso2.carbon.gapp.registration.ui.GoolgeAppsRegistrationClient
> [ERROR]
> [ERROR]
> /media/wso2/carbon/carbon/components/stratos/org.wso2.carbon.gapp.registration.ui/src/main/java/org/wso2/carbon/gapp/registration/ui/GoolgeAppsRegistrationClient.java:[111,5]
> cannot find symbol
> [ERROR] symbol  : class PackageInfo
> [ERROR] location: class
> org.wso2.carbon.gapp.registration.ui.GoolgeAppsRegistrationClient
> [ERROR]
> [ERROR]
> /media/wso2/carbon/carbon/components/stratos/org.wso2.carbon.gapp.registration.ui/src/main/java/org/wso2/carbon/gapp/registration/ui/GoolgeAppsRegistrationClient.java:[111,37]
> cannot find symbol
> [ERROR] symbol  : class PackageInfo
> [ERROR] location: class
> org.wso2.carbon.gapp.registration.ui.GoolgeAppsRegistrationClient
> [ERROR]
> [ERROR]
> /media/wso2/carbon/carbon/components/stratos/org.wso2.carbon.gapp.registration.ui/src/main/java/org/wso2/carbon/gapp/registration/ui/GoolgeAppsRegistrationClient.java:[113,27]
> cannot find symbol
> [ERROR] symbol  : class PackageInfoServiceStub
> [ERROR] location: class
> org.wso2.carbon.gapp.registration.ui.GoolgeAppsRegistrationClient
> [ERROR]
> [ERROR]
> /media/wso2/carbon/carbon/components/stratos/org.wso2.carbon.gapp.registration.ui/src/main/java/org/wso2/carbon/gapp/registration/ui/GoolgeAppsRegistrationClient.java:[114,12]
> cannot find symbol
> [ERROR] symbol  : class PackageInfo
> [ERROR] location: class
> org.wso2.carbon.gapp.registration.ui.GoolgeAppsRegistrationClient
> [ERROR]
> [ERROR]
> /media/wso2/carbon/carbon/components/stratos/org.wso2.carbon.gapp.registration.ui/src/main/java/org/wso2/carbon/gapp/registration/ui/GoolgeAppsRegistrationClient.java:[116,30]
> cannot find symbol
> [ERROR] symbol  : class PackageInfo
> [ERROR] location: class
> org.wso2.carbon.gapp.registration.ui.GoolgeAppsRegistrationClient
> [ERROR]
> [ERROR]
> /media/wso2/carbon/carbon/components/stratos/org.wso2.carbon.gapp.registration.ui/src/main/java/org/wso2/carbon/gapp/registration/ui/GoolgeAppsRegistrationClient.java:[117,17]
> cannot find symbol
> [ERROR] symbol  : class PackageInfo
> [ERROR] location: class
> org.wso2.carbon.gapp.registration.ui.GoolgeAppsRegistrationClient
> [ERROR]
> [ERROR]
> /media/wso2/carbon/carbo