On Wed, Feb 23, 2011 at 10:46 AM, Thilina Buddhika <[email protected]>wrote:

>
>
> On Wed, Feb 23, 2011 at 10:42 AM, Amila Maha Arachchi <[email protected]>wrote:
>
>> Hi,
>>
>> I will make the necessary changes in the script. But this error is the
>> Java compiler complain. Need to do something about it :(
>>
>
> I have experienced this random compiler crashing when trying to build
> Caching.
>

Yes, this happens in Caching Core. When we build this separately (by going
inside the folder) this error does not occur.

AmilaM.

>
>
> Thanks,
> Thilina
>
>
>>
>> Thanks,
>> AmilaM.
>>
>>
>> On Wed, Feb 23, 2011 at 10:26 AM, Sameera Jayasoma <[email protected]>wrote:
>>
>>>
>>>
>>> On Wed, Feb 23, 2011 at 7:23 AM, WSO2 Builder <[email protected]> wrote:
>>>
>>>> Fetching external item into
>>>> 'components/registry/org.wso2.carbon.registry.resource.ui/src/main/resources/RegistryAdminService'
>>>> External at revision 88123.
>>>>
>>>>
>>>> Fetching external item into 'features/etc'
>>>> External at revision 88123.
>>>>
>>>> At revision 88121.
>>>> Path: .
>>>> URL: https://svn.wso2.org/repos/wso2/trunk/carbon
>>>> Repository Root: https://svn.wso2.org/repos/wso2
>>>> Repository UUID: a5903396-d722-0410-b921-86c7d4935375
>>>> Revision: 88121
>>>> Node Kind: directory
>>>> Schedule: normal
>>>> Last Changed Author: rathav
>>>> Last Changed Rev: 88121
>>>> Last Changed Date: 2011-02-23 01:02:12 +0530 (Wed, 23 Feb 2011)
>>>>
>>>> Wed Feb 23 06:37:00 IST 2011
>>>> [INFO]
>>>> NOTE: Maven is executing in offline mode. Any artifacts not already in
>>>> your local
>>>> repository will be inaccessible.
>>>>
>>>> [INFO] Scanning for projects...
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Building Maven Default Project
>>>> [INFO]    task-segment: [clean, install]
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [ERROR] BUILD ERROR
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Cannot execute mojo: clean. It requires a project with an
>>>> existing pom.xml, but the build is not using one.
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] For more information, run Maven with the -e switch
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Total time: < 1 second
>>>> [INFO] Finished at: Wed Feb 23 06:37:01 IST 2011
>>>> [INFO] Final Memory: 8M/981M
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO]
>>>> NOTE: Maven is executing in offline mode. Any artifacts not already in
>>>> your local
>>>> repository will be inaccessible.
>>>>
>>>> [INFO] Scanning for projects...
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Building XmlSchema
>>>> [INFO]    task-segment: [clean, install]
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] [clean:clean]
>>>> [INFO] Deleting directory
>>>> /home/carbon/stratos/carbon/dependencies/XmlSchema/target
>>>> [INFO] Setting property: classpath.resource.loader.class =>
>>>> 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
>>>> [INFO] Setting property: velocimacro.messages.on => 'false'.
>>>> [INFO] Setting property: resource.loader => 'classpath'.
>>>> [INFO] Setting property: resource.manager.logwhenfound => 'false'.
>>>> [INFO] [remote-resources:process {execution: default}]
>>>> [INFO] [resources:resources]
>>>> [WARNING] File encoding has not been set, using platform encoding UTF-8,
>>>> i.e. build is platform dependent!
>>>> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered
>>>> resources, i.e. build is platform dependent!
>>>> [INFO] skip non existing resourceDirectory
>>>> /home/carbon/stratos/carbon/dependencies/XmlSchema/src/main/resources
>>>> [INFO] Copying 3 resources
>>>> [INFO] [compiler:compile]
>>>> [INFO] Compiling 97 source files to
>>>> /home/carbon/stratos/carbon/dependencies/XmlSchema/target/classes
>>>> [INFO] [antrun:run {execution: prepareNistTest}]
>>>> [INFO] Executing tasks
>>>>
>>>> prepareNistTest:
>>>> [INFO] Executed tasks
>>>> [INFO] [resources:testResources]
>>>> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered
>>>> resources, i.e. build is platform dependent!
>>>> [INFO] Copying 74 resources
>>>> --
>>>> [INFO] Apache Axis2 - SOAP Monitor Servlet ................... SUCCESS
>>>> [0.898s]
>>>> [INFO] Apache Axis2 - SOAP Monitor Module .................... SUCCESS
>>>> [0.570s]
>>>> [INFO] Apache Axis2 - tool - Ant Plugin ...................... SUCCESS
>>>> [0.847s]
>>>> [INFO] Apache Axis2 - tool - Eclipse Codegen Plugin .......... SUCCESS
>>>> [14.834s]
>>>> [INFO] Apache Axis2 - tool - Eclipse service Plugin .......... SUCCESS
>>>> [10.221s]
>>>> [INFO] Apache Axis2 - tool - Intellij IDEA Plugin ............ SUCCESS
>>>> [51.052s]
>>>> [INFO] Apache Axis2 - tool - Java2WSDL Maven Plugin .......... SUCCESS
>>>> [0.769s]
>>>> [INFO] Apache Axis2 - tool - WSDL2Code Maven Plugin .......... SUCCESS
>>>> [0.964s]
>>>> [INFO] Apache Axis2 - CORBA .................................. SUCCESS
>>>> [2.335s]
>>>> [INFO] Apache Axis2 - JAXWS (mar) ............................ SUCCESS
>>>> [0.720s]
>>>> [INFO] Apache Axis2 - Web Application module ................. SUCCESS
>>>> [8.479s]
>>>> [INFO] Apache Axis2 - Root ................................... SUCCESS
>>>> [16.787s]
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] BUILD SUCCESSFUL
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Total time: 2 minutes 55 seconds
>>>> [INFO] Finished at: Wed Feb 23 06:40:07 IST 2011
>>>> [INFO] Final Memory: 374M/1282M
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO]
>>>> NOTE: Maven is executing in offline mode. Any artifacts not already in
>>>> your local
>>>> repository will be inaccessible.
>>>>
>>>> [INFO] Scanning for projects...
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Building Maven Default Project
>>>> [INFO]    task-segment: [clean, install]
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [ERROR] BUILD ERROR
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Cannot execute mojo: clean. It requires a project with an
>>>> existing pom.xml, but the build is not using one.
>>>>
>>>
>>>
>>> Seems like we need to change the build script to incorporate recent
>>> changes to the Carbon trunk.
>>>
>>> Sameera
>>>
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] For more information, run Maven with the -e switch
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Total time: < 1 second
>>>> [INFO] Finished at: Wed Feb 23 06:40:11 IST 2011
>>>> [INFO] Final Memory: 8M/981M
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO]
>>>> NOTE: Maven is executing in offline mode. Any artifacts not already in
>>>> your local
>>>> repository will be inaccessible.
>>>>
>>>> [INFO] Scanning for projects...
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Building Maven P2 Profile Generation Plugin
>>>> [INFO]    task-segment: [clean, install]
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] [clean:clean]
>>>> [INFO] Deleting directory
>>>> /home/carbon/stratos/carbon/dependencies/carbon-p2-plugin/target
>>>> [INFO] [plugin:descriptor]
>>>> [INFO] Using 2 extractors.
>>>> [INFO] Applying extractor for language: java
>>>> [INFO] Extractor for language: java found 3 mojo descriptors.
>>>> [INFO] Applying extractor for language: bsh
>>>> [INFO] Extractor for language: bsh found 0 mojo descriptors.
>>>> [INFO] [resources:resources]
>>>> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered
>>>> resources, i.e. build is platform dependent!
>>>> [INFO] skip non existing resourceDirectory
>>>> /home/carbon/stratos/carbon/dependencies/carbon-p2-plugin/src/main/resources
>>>> [INFO] [compiler:compile]
>>>> [INFO] Compiling 21 source files to
>>>> /home/carbon/stratos/carbon/dependencies/carbon-p2-plugin/target/classes
>>>> [INFO] [resources:testResources]
>>>> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered
>>>> resources, i.e. build is platform dependent!
>>>> [INFO] skip non existing resourceDirectory
>>>> /home/carbon/stratos/carbon/dependencies/carbon-p2-plugin/src/test/resources
>>>> [INFO] [compiler:testCompile]
>>>> [INFO] Not compiling test sources
>>>> [INFO] [surefire:test]
>>>> [INFO] Tests are skipped.
>>>> [INFO] [jar:jar]
>>>> [INFO] Building jar:
>>>> /home/carbon/stratos/carbon/dependencies/carbon-p2-plugin/target/carbon-p2-plugin-1.4-SNAPSHOT.jar
>>>> --
>>>> [INFO] Apache Sandesha ....................................... SUCCESS
>>>> [5.552s]
>>>> [INFO] Sandesha2 - Resource bundle ........................... SUCCESS
>>>> [4.328s]
>>>> [INFO] Sandesha2 - Core ...................................... SUCCESS
>>>> [7.720s]
>>>> [INFO] Sandesha2 - Mar ....................................... SUCCESS
>>>> [2.383s]
>>>> [INFO] Sandesha2 - Client .................................... SUCCESS
>>>> [4.610s]
>>>> [INFO] Sandesha2 - Policy .................................... SUCCESS
>>>> [3.855s]
>>>> [INFO] Sandesha2 - Rampart Integration ....................... SUCCESS
>>>> [5.365s]
>>>> [INFO] Sandesha2 - Samples ................................... SUCCESS
>>>> [5.295s]
>>>> [INFO] Sandesha2 - Test Suite ................................ SUCCESS
>>>> [5.455s]
>>>> [INFO] Sandesha2 - Interop ................................... SUCCESS
>>>> [9.395s]
>>>> [INFO] Sandesha2 - Persistent Storage ........................ SUCCESS
>>>> [7.623s]
>>>> [INFO] Sandesha2 - Distribution .............................. SUCCESS
>>>> [2:09.940s]
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] BUILD SUCCESSFUL
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Total time: 3 minutes 12 seconds
>>>> [INFO] Finished at: Wed Feb 23 06:44:43 IST 2011
>>>> [INFO] Final Memory: 121M/1233M
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO]
>>>> NOTE: Maven is executing in offline mode. Any artifacts not already in
>>>> your local
>>>> repository will be inaccessible.
>>>>
>>>> [INFO] Scanning for projects...
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Building Maven Default Project
>>>> [INFO]    task-segment: [clean, install]
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [ERROR] BUILD ERROR
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Cannot execute mojo: clean. It requires a project with an
>>>> existing pom.xml, but the build is not using one.
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] For more information, run Maven with the -e switch
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Total time: < 1 second
>>>> [INFO] Finished at: Wed Feb 23 06:44:45 IST 2011
>>>> [INFO] Final Memory: 8M/981M
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> /home/carbon/stratos/stratos/build/compile.sh: line 139: cd:
>>>> /home/carbon/stratos//carbon/dependencies/httpcore: No such file or
>>>> directory
>>>> [INFO]
>>>> NOTE: Maven is executing in offline mode. Any artifacts not already in
>>>> your local
>>>> repository will be inaccessible.
>>>>
>>>> [INFO] Scanning for projects...
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Building Maven Default Project
>>>> [INFO]    task-segment: [clean, install]
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [ERROR] BUILD ERROR
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Cannot execute mojo: clean. It requires a project with an
>>>> existing pom.xml, but the build is not using one.
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] For more information, run Maven with the -e switch
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Total time: < 1 second
>>>> [INFO] Finished at: Wed Feb 23 06:44:47 IST 2011
>>>> [INFO] Final Memory: 8M/981M
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO]
>>>> NOTE: Maven is executing in offline mode. Any artifacts not already in
>>>> your local
>>>> repository will be inaccessible.
>>>>
>>>> [INFO] Scanning for projects...
>>>> [INFO] Reactor build order:
>>>> [INFO]   Apache Synapse - Secure vault
>>>> [INFO]   Apache Synapse
>>>> [INFO]   Apache Synapse - Commons classes
>>>> [INFO]   Apache Synapse - Transports
>>>> [INFO]   Apache Synapse - Non-blocking HTTP/s Transport
>>>> [INFO]   Apache Synapse - PIPE Transport
>>>> [INFO]   Apache Synapse - VFS Transport
>>>> [INFO]   Apache Synapse - Tasks classes
>>>> [INFO]   Apache Synapse - Core
>>>> [INFO]   Apache Synapse - FIX Transport
>>>> [INFO]   Apache Synapse - Extensions
>>>> [INFO]   Apache Synapse - Samples
>>>> [INFO]   Apache Synapse - Patches
>>>> [INFO]   Apache Synapse - Experimental code
>>>> [INFO]   Apache Synapse - Web Application
>>>> [INFO]   Apache Synapse - Handler Module
>>>> [INFO]   Apache Synapse - XAR Maven Plugin
>>>> [INFO]   Apache Synapse - Configuration Migrator
>>>> [INFO]   Apache Synapse - Distribution
>>>> [INFO]   Apache Synapse - Package skeleton ZIP
>>>> [INFO]   Apache Synapse - Package archetype
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Building Apache Synapse - Secure vault
>>>> [INFO]    task-segment: [clean, install]
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> --
>>>> [INFO] [resources:resources]
>>>> [INFO] Using 'UTF-8' encoding to copy filtered resources.
>>>> [INFO] skip non existing resourceDirectory
>>>> /home/carbon/stratos/carbon/core/org.wso2.carbon.base/src/main/resources
>>>> [INFO] [compiler:compile]
>>>> [INFO] Compiling 7 source files to
>>>> /home/carbon/stratos/carbon/core/org.wso2.carbon.base/target/classes
>>>> [INFO] [resources:testResources]
>>>> [INFO] Using 'UTF-8' encoding to copy filtered resources.
>>>> [INFO] Copying 0 resource
>>>> [INFO] Copying 0 resource
>>>> [INFO] skip non existing resourceDirectory
>>>> /home/carbon/stratos/carbon/core/org.wso2.carbon.base/src/test/resources
>>>> [INFO] [compiler:testCompile]
>>>> [INFO] Not compiling test sources
>>>> [INFO] [surefire:test]
>>>> [INFO] Tests are skipped.
>>>> [INFO] [jar:jar]
>>>> [INFO] Building jar:
>>>> /home/carbon/stratos/carbon/core/org.wso2.carbon.base/target/org.wso2.carbon.base-3.2.0-SNAPSHOT.jar
>>>> [INFO] [install:install]
>>>> [INFO] Installing
>>>> /home/carbon/stratos/carbon/core/org.wso2.carbon.base/target/org.wso2.carbon.base-3.2.0-SNAPSHOT.jar
>>>> to
>>>> /home/carbon/.m2/repository/org/wso2/carbon/org.wso2.carbon.base/3.2.0-SNAPSHOT/org.wso2.carbon.base-3.2.0-SNAPSHOT.jar
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Building WSO2 Carbon - Caching
>>>> [INFO]    task-segment: [clean, install]
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] [clean:clean]
>>>> [INFO] Deleting directory
>>>> /home/carbon/stratos/carbon/core/org.wso2.carbon.caching.core/target
>>>> [INFO] [resources:resources]
>>>> [INFO] Using 'UTF-8' encoding to copy filtered resources.
>>>> [INFO] skip non existing resourceDirectory
>>>> /home/carbon/stratos/carbon/core/org.wso2.carbon.caching.core/src/main/resources
>>>> [INFO] [compiler:compile]
>>>> [INFO] Compiling 11 source files to
>>>> /home/carbon/stratos/carbon/core/org.wso2.carbon.caching.core/target/classes
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [ERROR] BUILD FAILURE
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Compilation failure
>>>> Failure executing javac, but could not parse the error:
>>>> An exception has occurred in the compiler (1.6.0_21). Please file a bug
>>>> at the Java Developer Connection (http://java.sun.com/webapps/bugreport)
>>>>  after checking the Bug Parade for duplicates. Include your program and the
>>>> following diagnostic in your report.  Thank you.
>>>> com.sun.tools.javac.code.Symbol$CompletionFailure: class file for
>>>> org.rhq.helpers.pluginAnnotations.agent.MeasurementType not found
>>>>
>>>>
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] For more information, run Maven with the -e switch
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Total time: 28 minutes 3 seconds
>>>> [INFO] Finished at: Wed Feb 23 07:22:58 IST 2011
>>>> [INFO] Final Memory: 1325M/1971M
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> _______________________________________________
>>>> Carbon-dev mailing list
>>>> [email protected]
>>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>
>>>
>>>
>>>
>>> --
>>> Sameera Jayasoma
>>> Technical Lead and Product Manager, WSO2 Carbon
>>>
>>> WSO2, Inc. (http://wso2.com)
>>> email: [email protected]
>>> blog: http://tech.jayasoma.org
>>>
>>> Lean . Enterprise . Middleware
>>>
>>> _______________________________________________
>>> Carbon-dev mailing list
>>> [email protected]
>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>
>> _______________________________________________
>> Carbon-dev mailing list
>> [email protected]
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> Thilina Buddhika
> Senior Software Engineer
>
> WSO2 Inc. ; http://wso2.com
> lean . enterprise . middleware
>
> phone : +94 77 44 88 727
> blog : http://blog.thilinamb.com
>
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to