You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by bo...@apache.org on 2006/10/07 10:48:37 UTC

svn commit: r453868 - in /myfaces/tobago/trunk/tobago-tool/maven-apt-plugin/src/main/java/org/apache/myfaces/maven/plugin: AbstractAPTMojo.java AptMojo.java TestAptMojo.java

Author: bommel
Date: Sat Oct  7 01:48:37 2006
New Revision: 453868

URL: http://svn.apache.org/viewvc?view=rev&rev=453868
Log:
[TOBAGO-148] Apt Plugin should support resource filtering of generated resources

Modified:
    myfaces/tobago/trunk/tobago-tool/maven-apt-plugin/src/main/java/org/apache/myfaces/maven/plugin/AbstractAPTMojo.java
    myfaces/tobago/trunk/tobago-tool/maven-apt-plugin/src/main/java/org/apache/myfaces/maven/plugin/AptMojo.java
    myfaces/tobago/trunk/tobago-tool/maven-apt-plugin/src/main/java/org/apache/myfaces/maven/plugin/TestAptMojo.java

Modified: myfaces/tobago/trunk/tobago-tool/maven-apt-plugin/src/main/java/org/apache/myfaces/maven/plugin/AbstractAPTMojo.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-tool/maven-apt-plugin/src/main/java/org/apache/myfaces/maven/plugin/AbstractAPTMojo.java?view=diff&rev=453868&r1=453867&r2=453868
==============================================================================
--- myfaces/tobago/trunk/tobago-tool/maven-apt-plugin/src/main/java/org/apache/myfaces/maven/plugin/AbstractAPTMojo.java (original)
+++ myfaces/tobago/trunk/tobago-tool/maven-apt-plugin/src/main/java/org/apache/myfaces/maven/plugin/AbstractAPTMojo.java Sat Oct  7 01:48:37 2006
@@ -87,9 +87,9 @@
      * enables resource filtering for generated resources
      *
      * @parameter    default-value="false"
-
-    protected boolean resourceFiltering;
      */
+    protected boolean resourceFiltering;
+
     /**
      *  targetPath for generated resources
      *

Modified: myfaces/tobago/trunk/tobago-tool/maven-apt-plugin/src/main/java/org/apache/myfaces/maven/plugin/AptMojo.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-tool/maven-apt-plugin/src/main/java/org/apache/myfaces/maven/plugin/AptMojo.java?view=diff&rev=453868&r1=453867&r2=453868
==============================================================================
--- myfaces/tobago/trunk/tobago-tool/maven-apt-plugin/src/main/java/org/apache/myfaces/maven/plugin/AptMojo.java (original)
+++ myfaces/tobago/trunk/tobago-tool/maven-apt-plugin/src/main/java/org/apache/myfaces/maven/plugin/AptMojo.java Sat Oct  7 01:48:37 2006
@@ -113,7 +113,7 @@
         File absoluteGeneratedPath = new File( project.getBasedir(), getGenerated() );
         project.addCompileSourceRoot( absoluteGeneratedPath.getPath() );
         Resource resource = new Resource();
-        //resource.setFiltering(resourceFiltering);
+        resource.setFiltering(resourceFiltering);
         if ( resourceTargetPath != null )
         {
             resource.setTargetPath(resourceTargetPath);

Modified: myfaces/tobago/trunk/tobago-tool/maven-apt-plugin/src/main/java/org/apache/myfaces/maven/plugin/TestAptMojo.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-tool/maven-apt-plugin/src/main/java/org/apache/myfaces/maven/plugin/TestAptMojo.java?view=diff&rev=453868&r1=453867&r2=453868
==============================================================================
--- myfaces/tobago/trunk/tobago-tool/maven-apt-plugin/src/main/java/org/apache/myfaces/maven/plugin/TestAptMojo.java (original)
+++ myfaces/tobago/trunk/tobago-tool/maven-apt-plugin/src/main/java/org/apache/myfaces/maven/plugin/TestAptMojo.java Sat Oct  7 01:48:37 2006
@@ -115,7 +115,7 @@
             File absoluteGeneratedPath = new File( project.getBasedir(), getGenerated() );
             project.addTestCompileSourceRoot( absoluteGeneratedPath.getPath() );
             Resource resource = new Resource();
-            //resource.setFiltering(resourceFiltering);
+            resource.setFiltering(resourceFiltering);
             if ( resourceTargetPath != null )
             {
                 resource.setTargetPath(resourceTargetPath);