You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2013/02/26 09:14:55 UTC
svn commit: r1450060 - in
/myfaces/tobago/trunk/tobago-tool/tobago-tool-apt/src/main/java/org/apache/myfaces/tobago/apt/processor:
AbstractGenerator.java ReferenceGenerator.java
Author: lofwyr
Date: Tue Feb 26 08:14:55 2013
New Revision: 1450060
URL: http://svn.apache.org/r1450060
Log:
TOBAGO-1212: Using JSR 269: Pluggable Annotation Processing API
-logging
Modified:
myfaces/tobago/trunk/tobago-tool/tobago-tool-apt/src/main/java/org/apache/myfaces/tobago/apt/processor/AbstractGenerator.java
myfaces/tobago/trunk/tobago-tool/tobago-tool-apt/src/main/java/org/apache/myfaces/tobago/apt/processor/ReferenceGenerator.java
Modified: myfaces/tobago/trunk/tobago-tool/tobago-tool-apt/src/main/java/org/apache/myfaces/tobago/apt/processor/AbstractGenerator.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-tool/tobago-tool-apt/src/main/java/org/apache/myfaces/tobago/apt/processor/AbstractGenerator.java?rev=1450060&r1=1450059&r2=1450060&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-tool/tobago-tool-apt/src/main/java/org/apache/myfaces/tobago/apt/processor/AbstractGenerator.java (original)
+++ myfaces/tobago/trunk/tobago-tool/tobago-tool-apt/src/main/java/org/apache/myfaces/tobago/apt/processor/AbstractGenerator.java Tue Feb 26 08:14:55 2013
@@ -48,6 +48,13 @@ public abstract class AbstractGenerator
public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv) {
+ info("**********************************************************************************");
+ info("* Starting generator: " + getClass().getName());
+ info("* Number of annotations: " + annotations.size());
+ for (TypeElement typeElement : annotations) {
+ info("* Type element: " + typeElement.getQualifiedName());
+ }
+
if (annotations.size() == 0) {
// TDB Why this case happen?
return false;
Modified: myfaces/tobago/trunk/tobago-tool/tobago-tool-apt/src/main/java/org/apache/myfaces/tobago/apt/processor/ReferenceGenerator.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-tool/tobago-tool-apt/src/main/java/org/apache/myfaces/tobago/apt/processor/ReferenceGenerator.java?rev=1450060&r1=1450059&r2=1450060&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-tool/tobago-tool-apt/src/main/java/org/apache/myfaces/tobago/apt/processor/ReferenceGenerator.java (original)
+++ myfaces/tobago/trunk/tobago-tool/tobago-tool-apt/src/main/java/org/apache/myfaces/tobago/apt/processor/ReferenceGenerator.java Tue Feb 26 08:14:55 2013
@@ -66,7 +66,7 @@ public class ReferenceGenerator extends
final Map<String, String> options = processingEnv.getOptions();
targetReference = options.get(TARGET_REFERENCE);
- info("Generating the faces-config.xml");
+ info("Generating the tobago.xml");
info("Options:");
info(TARGET_REFERENCE + ": " + targetReference);
}