On Mon, Feb 14, 2011 at 10:42 PM, Senaka Fernando <[email protected]> wrote:
> OK, rhq helpers are from JBoss, and adding the JBoss repo could've had > something to do with this. Anyway, the caching core does not perhaps require > the rhq helpers to compile, though they will be needed @ runtime, so you > might be able to exclude that and recompile. But, its hard to imagine why > these issues are just starting to surface. We never saw such issues before. > Hi Senaka, To be precise, this occurred in a fresh m2 repo, and offline mvn build environment. It should suppose to give a error something related to "System is offline". Instead of I got that error. Compare the following logs I got. *When running an offline build from compile.sh* **[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 *Then I ran a manual build on that module* carbon@zoneB:~/stratos/carbon/core/org.wso2.carbon.caching.core$ mvn clean install [INFO] Scanning for projects... [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 Downloading: http://repository.jboss.org/nexus/content/groups/public//org/infinispan/infinispan-core/4.1.0.CR2/infinispan-core-4.1.0.CR2.pom 3K downloaded (infinispan-core-4.1.0.CR2.pom) Downloading: http://repository.jboss.org/nexus/content/groups/public//org/infinispan/infinispan-parent/4.1.0.CR2/infinispan-parent-4.1.0.CR2.pom 14K downloaded (infinispan-parent-4.1.0.CR2.pom) Downloading: http://repository.jboss.org/nexus/content/groups/public//org/jgroups/jgroups/2.10.0.GA/jgroups-2.10.0.GA.pom 7K downloaded (jgroups-2.10.0.GA.pom) Downloading: ................ > > Thanks, > Senaka. > > On Mon, Feb 14, 2011 at 10:16 PM, Amila Maha Arachchi <[email protected]>wrote: > >> Hi Senaka, >> >> Not much changes have occurred around this area. >> >> ------------------------------------------------------------------------ >> r87344 | denis | 2011-02-11 15:41:15 +0530 (Fri, 11 Feb 2011) | 1 line >> >> Added JBoss repo. Had to add the repo at this level due to avoid the build >> failure occurs due to maven site plugin >> ------------------------------------------------------------------------ >> r85515 | sameera | 2011-01-18 22:37:11 +0530 (Tue, 18 Jan 2011) | 1 line >> >> Axiom(1.2.10.wso2v1 --> 1.2.11.SNAPSHOT-wso2v1), Axis2(1.6.0.wso2v3 --> >> 1.6.0.SNAPSHOT-wso2v5) and Carbon(3.1.0-SNAPSHOT --> 3.2.0-SNAPSHOT) >> versions are updated >> ------------------------------------------------------------------------ >> r82222 | senaka | 2010-11-20 23:48:53 +0530 (Sat, 20 Nov 2010) | 1 line >> >> Ability to keep track of cache statistics. >> ------------------------------------------------------------------------ >> >> >> Thanks, >> AmilaM. >> >> >> On Mon, Feb 14, 2011 at 9:32 PM, Senaka Fernando <[email protected]> wrote: >> >>> >>> >>> On Mon, Feb 14, 2011 at 8:20 PM, Denis Weerasiri <[email protected]> wrote: >>> >>>> >>>> >>>> On Mon, Feb 14, 2011 at 7:47 PM, WSO2 Builder <[email protected]> wrote: >>>> >>>>> [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 >>>>> >>>> This occurred again also for the 1.6.0_21. As a workaround, I manually >>>> build the org.wso2.carbon.caching.core module online. >>>> >>> >>> Is this a side effect of the recent POM changes? Denis, what were the >>> recent commits in this area? >>> >>> Thanks, >>> Senaka. >>> >>>> >>>>> >>>>> [INFO] >>>>> ------------------------------------------------------------------------ >>>>> [INFO] For more information, run Maven with the -e switch >>>>> [INFO] >>>>> ------------------------------------------------------------------------ >>>>> [INFO] Total time: 5 minutes 33 seconds >>>>> [INFO] Finished at: Mon Feb 14 19:47:51 IST 2011 >>>>> [INFO] Final Memory: 119M/1234M >>>>> [INFO] >>>>> ------------------------------------------------------------------------ >>>>> _______________________________________________ >>>>> Carbon-dev mailing list >>>>> [email protected] >>>>> 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 >>>> [email protected] >>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>>> >>>> >>> >>> >>> -- >>> *Senaka Fernando* >>> Product Manager - WSO2 Governance Registry; >>> Associate Technical Lead; WSO2, Inc.; http://wso2.com* >>> Member; Apache Software Foundation; http://apache.org >>> >>> E-mail: senaka AT wso2.com >>> **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818 >>> Linked-In: http://www.linkedin.com/in/senakafernando >>> >>> *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 >> >> > > > -- > *Senaka Fernando* > Product Manager - WSO2 Governance Registry; > Associate Technical Lead; WSO2, Inc.; http://wso2.com* > Member; Apache Software Foundation; http://apache.org > > E-mail: senaka AT wso2.com > **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818 > Linked-In: http://www.linkedin.com/in/senakafernando > > *Lean . Enterprise . Middleware > > > _______________________________________________ > Carbon-dev mailing list > [email protected] > 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 [email protected] http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
