Hi Bill! thanks for the evaluable feedbacks, I stopped indeed developing whatever would have worked with com.sun.** dependency - I was looking for javax.annotation.processing.** backport to JDK5 but without success, so I guess I have to evaluate to release the Annotation Processor as a separate module which targets JDK6...
WDYT? Would it make sense? TIA, -Simo http://people.apache.org/~simonetripodi/ http://simonetripodi.livejournal.com/ http://twitter.com/simonetripodi http://www.99soft.org/ On Fri, Jan 6, 2012 at 8:38 AM, Bill Barker <billwbar...@verizon.net> wrote: > Give it up. Personally I wouldn't use any project that has a non-conditional > dependency on com.sun.**. Locking a project into one version of one > proprietary vendors implementation is the opposite of what Open Source is > supposed to be about. For a long time, Tomcat had a conditional dependency > on the then sun implementation. And I worked very hard to make Tomcat work > with other JVM vendors. > > Either require upgrading to a JVM that isn't EOL, or find a way to do it > otherwise independent of the JVM vendor. Otherwise the code doesn't > deserver to be in an Apache repository. > > -----Original Message----- From: Simone Tripodi > Sent: Wednesday, January 04, 2012 11:28 AM > To: Commons Developers List > Subject: Re: [GUMP@vmgump]: Project commons-digester3 (in module > apache-commons) failed > > > Hi Matt! > > happy new year!!! :) > > I have the trouble that even compiling the AP with JDK6 APIs, with > target JDK5, it cannot be used but Java5 APT... maybe my question > sounds a little confused as I am, but hopefully you know more than me > about that topic! > > Best, > -Simo > > http://people.apache.org/~simonetripodi/ > http://simonetripodi.livejournal.com/ > http://twitter.com/simonetripodi > http://www.99soft.org/ > > > > On Wed, Jan 4, 2012 at 7:21 PM, Matt Benson <gudnabr...@gmail.com> wrote: >> >> The annotation processing should be part of the build, so perhaps set >> up to do the build with JDK6, with a JDK5 VM target? >> >> Matt >> >> On Wed, Jan 4, 2012 at 9:06 AM, Simone Tripodi <simonetrip...@apache.org> >> wrote: >>> >>> Hi Konstantin, >>> >>> thanks for your feedbacks, unfortunately Digester still need to >>> support JDK5 - what if I switch to JDK6 APIs to implement the >>> processor? is there any backward-compatibility support? >>> >>> Thanks again, >>> -Simo >>> >>> http://people.apache.org/~simonetripodi/ >>> http://simonetripodi.livejournal.com/ >>> http://twitter.com/simonetripodi >>> http://www.99soft.org/ >>> >>> >>> >>> On Wed, Jan 4, 2012 at 3:47 PM, Konstantin Kolinko >>> <knst.koli...@gmail.com> wrote: >>>> >>>> 2012/1/4 Simone Tripodi <simonetrip...@apache.org>: >>>>> >>>>> hi all guys, >>>>> >>>>> I have to admit my n00b status on Annotations Processing and I just >>>>> started following the Oracle guide[1] to write it, but >>>>> com.sun.mirror.* classes are not present in the JVM invoked by Gump. >>>>> Do you have any hint/recommendation? >>>> >>>> >>>> http://docs.oracle.com/javase/6/docs/technotes/tools/share/apt.html >>>> says: >>>> [[[ >>>> The functionality of apt has been subsumed by the >>>> annotation-processing infrastructure that is now part of the javac >>>> tool and standardized for use by all Java compilers. This new >>>> infrastructure relies on the language model and annotation-processing >>>> APIs that are now part of the Java Platform. It is recommended that >>>> new annotation processor development be based on the new APIs and the >>>> javac tool. >>>> ]]] >>>> >>>> So javax.annotation.processing.* ? >>>> >>>> See links here: >>>> http://docs.oracle.com/javase/6/docs/technotes/guides/apt/index.html >>>> >>>> http://docs.oracle.com/javase/6/docs/technotes/tools/solaris/javac.html#processing >>>> >>>>> Thanks a lot in advance! >>>>> -Simo >>>>> >>>>> [1] >>>>> http://docs.oracle.com/javase/1.5.0/docs/guide/apt/GettingStarted.html >>>>> >>>> >>>> >>>> Best regards, >>>> Konstantin Kolinko >>>> >>>>> On Wed, Jan 4, 2012 at 3:12 AM, Gump <iss...@commons.apache.org> wrote: >>>>>> >>>>>> To whom it may engage... >>>>>> >>>>>> This is an automated request, but not an unsolicited one. For >>>>>> more information please visit http://gump.apache.org/nagged.html, >>>>>> and/or contact the folk at gene...@gump.apache.org. >>>>>> >>>>>> Project commons-digester3 has an issue affecting its community >>>>>> integration. >>>>>> This issue affects 2 projects, >>>>>> and has been outstanding for 247 runs. >>>>>> The current state of this project is 'Failed', with reason 'Build >>>>>> Failed'. >>>>>> For reference only, the following projects are affected by this: >>>>>> - commons-digester3 : XML to Java Object Configuration >>>>>> - commons-digester3-test : Apache Commons >>>>>> >>>>>> >>>>>> Full details are available at: >>>>>> >>>>>> >>>>>> http://vmgump.apache.org/gump/public/apache-commons/commons-digester3/index.html >>>>>> >>>>>> That said, some information snippets are provided here. >>>>>> >>>>>> The following annotations (debug/informational/warning/error messages) >>>>>> were provided: >>>>>> -DEBUG- Sole jar output [commons-digester3-*[0-9T].jar] identifier >>>>>> set to project name >>>>>> -DEBUG- (Apache Gump generated) Apache Maven Settings in: >>>>>> /srv/gump/public/workspace/apache-commons/digester/gump_mvn_settings.xml >>>>>> -INFO- Failed with reason build failed >>>>>> -DEBUG- Maven POM in: >>>>>> /srv/gump/public/workspace/apache-commons/digester/pom.xml >>>>>> -DEBUG- Extracted fallback artifacts from Gump Repository >>>>>> >>>>>> >>>>>> >>>>>> The following work was performed: >>>>>> >>>>>> http://vmgump.apache.org/gump/public/apache-commons/commons-digester3/gump_work/build_apache-commons_commons-digester3.html >>>>>> Work Name: build_apache-commons_commons-digester3 (Type: Build) >>>>>> Work ended in a state of : Failed >>>>>> Elapsed: 21 secs >>>>>> Command Line: /opt/maven2/bin/mvn --batch-mode -DskipTests=true >>>>>> --settings >>>>>> /srv/gump/public/workspace/apache-commons/digester/gump_mvn_settings.xml >>>>>> package >>>>>> [Working Directory: >>>>>> /srv/gump/public/workspace/apache-commons/digester] >>>>>> M2_HOME: /opt/maven2 >>>>>> --------------------------------------------- >>>>>> >>>>>> /srv/gump/public/workspace/apache-commons/digester/src/main/java/org/apache/commons/digester3/annotations/processor/DigesterAnnotationProcessor.java:[28,26] >>>>>> package com.sun.mirror.util does not exist >>>>>> >>>>>> /srv/gump/public/workspace/apache-commons/digester/src/main/java/org/apache/commons/digester3/annotations/processor/DigesterAnnotationProcessor.java:[37,15] >>>>>> cannot find symbol >>>>>> symbol: class AnnotationProcessor >>>>>> implements AnnotationProcessor >>>>>> >>>>>> /srv/gump/public/workspace/apache-commons/digester/src/main/java/org/apache/commons/digester3/annotations/processor/DigesterAnnotationProcessor.java:[40,18] >>>>>> cannot find symbol >>>>>> symbol : class AnnotationProcessorEnvironment >>>>>> location: class >>>>>> org.apache.commons.digester3.annotations.processor.DigesterAnnotationProcessor >>>>>> >>>>>> /srv/gump/public/workspace/apache-commons/digester/src/main/java/org/apache/commons/digester3/annotations/processor/DigesterAnnotationProcessor.java:[42,33] >>>>>> cannot find symbol >>>>>> symbol : class AnnotationProcessorEnvironment >>>>>> location: class >>>>>> org.apache.commons.digester3.annotations.processor.DigesterAnnotationProcessor >>>>>> >>>>>> /srv/gump/public/workspace/apache-commons/digester/src/main/java/org/apache/commons/digester3/annotations/processor/DigesterAnnotationProcessorFactory.java:[28,25] >>>>>> package com.sun.mirror.apt does not exist >>>>>> >>>>>> /srv/gump/public/workspace/apache-commons/digester/src/main/java/org/apache/commons/digester3/annotations/processor/DigesterAnnotationProcessorFactory.java:[29,25] >>>>>> package com.sun.mirror.apt does not exist >>>>>> >>>>>> /srv/gump/public/workspace/apache-commons/digester/src/main/java/org/apache/commons/digester3/annotations/processor/DigesterAnnotationProcessorFactory.java:[30,25] >>>>>> package com.sun.mirror.apt does not exist >>>>>> >>>>>> /srv/gump/public/workspace/apache-commons/digester/src/main/java/org/apache/commons/digester3/annotations/processor/DigesterAnnotationProcessorFactory.java:[31,25] >>>>>> package com.sun.mirror.apt does not exist >>>>>> >>>>>> /srv/gump/public/workspace/apache-commons/digester/src/main/java/org/apache/commons/digester3/annotations/processor/DigesterAnnotationProcessorFactory.java:[32,33] >>>>>> package com.sun.mirror.declaration does not exist >>>>>> >>>>>> /srv/gump/public/workspace/apache-commons/digester/src/main/java/org/apache/commons/digester3/annotations/processor/DigesterAnnotationProcessorFactory.java:[41,15] >>>>>> cannot find symbol >>>>>> symbol: class AnnotationProcessorFactory >>>>>> implements AnnotationProcessorFactory >>>>>> >>>>>> /srv/gump/public/workspace/apache-commons/digester/src/main/java/org/apache/commons/digester3/annotations/processor/DigesterAnnotationProcessorFactory.java:[47,52] >>>>>> cannot find symbol >>>>>> symbol : class AnnotationTypeDeclaration >>>>>> location: class >>>>>> org.apache.commons.digester3.annotations.processor.DigesterAnnotationProcessorFactory >>>>>> >>>>>> /srv/gump/public/workspace/apache-commons/digester/src/main/java/org/apache/commons/digester3/annotations/processor/DigesterAnnotationProcessorFactory.java:[48,48] >>>>>> cannot find symbol >>>>>> symbol : class AnnotationProcessorEnvironment >>>>>> location: class >>>>>> org.apache.commons.digester3.annotations.processor.DigesterAnnotationProcessorFactory >>>>>> >>>>>> /srv/gump/public/workspace/apache-commons/digester/src/main/java/org/apache/commons/digester3/annotations/processor/DigesterAnnotationProcessorFactory.java:[47,11] >>>>>> cannot find symbol >>>>>> symbol : class AnnotationProcessor >>>>>> location: class >>>>>> org.apache.commons.digester3.annotations.processor.DigesterAnnotationProcessorFactory >>>>>> >>>>>> /srv/gump/public/workspace/apache-commons/digester/src/main/java/org/apache/commons/digester3/annotations/processor/DigesterAnnotationProcessor.java:[52,8] >>>>>> cannot find symbol >>>>>> symbol : class Messager >>>>>> location: class >>>>>> org.apache.commons.digester3.annotations.processor.DigesterAnnotationProcessor >>>>>> >>>>>> /srv/gump/public/workspace/apache-commons/digester/src/main/java/org/apache/commons/digester3/annotations/processor/DigesterAnnotationProcessor.java:[55,8] >>>>>> cannot find symbol >>>>>> symbol : class DeclarationVisitor >>>>>> location: class >>>>>> org.apache.commons.digester3.annotations.processor.DigesterAnnotationProcessor >>>>>> >>>>>> /srv/gump/public/workspace/apache-commons/digester/src/main/java/org/apache/commons/digester3/annotations/processor/DigesterAnnotationProcessor.java:[57,19] >>>>>> cannot find symbol >>>>>> symbol : class TypeDeclaration >>>>>> location: class >>>>>> org.apache.commons.digester3.annotations.processor.DigesterAnnotationProcessor >>>>>> >>>>>> /srv/gump/public/workspace/apache-commons/digester/src/main/java/org/apache/commons/digester3/annotations/processor/DigesterAnnotationProcessor.java:[58,14] >>>>>> cannot find symbol >>>>>> symbol : class TypeDeclaration >>>>>> location: class >>>>>> org.apache.commons.digester3.annotations.processor.DigesterAnnotationProcessor >>>>>> >>>>>> /srv/gump/public/workspace/apache-commons/digester/src/main/java/org/apache/commons/digester3/annotations/processor/DigesterAnnotationProcessorFactory.java:[52,19] >>>>>> cannot find symbol >>>>>> symbol : variable AnnotationProcessors >>>>>> location: class >>>>>> org.apache.commons.digester3.annotations.processor.DigesterAnnotationProcessorFactory >>>>>> >>>>>> [INFO] >>>>>> ------------------------------------------------------------------------ >>>>>> [INFO] For more information, run Maven with the -e switch >>>>>> [INFO] >>>>>> ------------------------------------------------------------------------ >>>>>> [INFO] Total time: 20 seconds >>>>>> [INFO] Finished at: Wed Jan 04 02:12:09 UTC 2012 >>>>>> [INFO] Final Memory: 32M/78M >>>>>> [INFO] >>>>>> ------------------------------------------------------------------------ >>>>>> --------------------------------------------- >>>>>> >>>>>> To subscribe to this information via syndicated feeds: >>>>>> - RSS: >>>>>> http://vmgump.apache.org/gump/public/apache-commons/commons-digester3/rss.xml >>>>>> - Atom: >>>>>> http://vmgump.apache.org/gump/public/apache-commons/commons-digester3/atom.xml >>>>>> >>>>>> ============================== Gump Tracking Only === >>>>>> Produced by Apache Gump(TM) version 2.3. >>>>>> Gump Run 12000004012012, vmgump.apache.org:vmgump:12000004012012 >>>>>> Gump E-mail Identifier (unique within run) #20. >>>>>> >>>>>> -- >>>>>> Apache Gump >>>>>> http://gump.apache.org/ [Instance: vmgump] >>>>>> >>>>>> --------------------------------------------------------------------- >>>>>> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org >>>>>> For additional commands, e-mail: dev-h...@commons.apache.org >>>>>> >>>>> >>>>> --------------------------------------------------------------------- >>>>> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org >>>>> For additional commands, e-mail: dev-h...@commons.apache.org >>>>> >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org >>>> For additional commands, e-mail: dev-h...@commons.apache.org >>>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org >>> For additional commands, e-mail: dev-h...@commons.apache.org >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org >> For additional commands, e-mail: dev-h...@commons.apache.org >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org > For additional commands, e-mail: dev-h...@commons.apache.org > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org > For additional commands, e-mail: dev-h...@commons.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org