You are viewing a plain text version of this content. The canonical link for it is here.
Posted to adffaces-commits@incubator.apache.org by ba...@apache.org on 2006/11/05 17:34:17 UTC

svn commit: r471471 - in /incubator/adffaces/branches/myfaces-1_2-maven-faces-plugin: pom.xml src/main/java/org/apache/myfaces/trinidadbuild/plugin/faces/AbstractFacesMojo.java

Author: baranda
Date: Sun Nov  5 09:34:17 2006
New Revision: 471471

URL: http://svn.apache.org/viewvc?view=rev&rev=471471
Log:
skipApiOrBaseClasses was having wrong behaviour (actually, the opposite behaviour) due to a missing '!'

Modified:
    incubator/adffaces/branches/myfaces-1_2-maven-faces-plugin/pom.xml
    incubator/adffaces/branches/myfaces-1_2-maven-faces-plugin/src/main/java/org/apache/myfaces/trinidadbuild/plugin/faces/AbstractFacesMojo.java

Modified: incubator/adffaces/branches/myfaces-1_2-maven-faces-plugin/pom.xml
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/myfaces-1_2-maven-faces-plugin/pom.xml?view=diff&rev=471471&r1=471470&r2=471471
==============================================================================
--- incubator/adffaces/branches/myfaces-1_2-maven-faces-plugin/pom.xml (original)
+++ incubator/adffaces/branches/myfaces-1_2-maven-faces-plugin/pom.xml Sun Nov  5 09:34:17 2006
@@ -11,7 +11,7 @@
 
   <groupId>org.apache.myfaces.trinidadbuild</groupId>
   <artifactId>maven-faces-plugin</artifactId> 
-  <version>incubator-1.2-m1-SNAPSHOT</version>
+  <version>myfaces-2.0-SNAPSHOT</version>
   <packaging>maven-plugin</packaging>
   <name>Maven Faces Plugin</name>
 

Modified: incubator/adffaces/branches/myfaces-1_2-maven-faces-plugin/src/main/java/org/apache/myfaces/trinidadbuild/plugin/faces/AbstractFacesMojo.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/branches/myfaces-1_2-maven-faces-plugin/src/main/java/org/apache/myfaces/trinidadbuild/plugin/faces/AbstractFacesMojo.java?view=diff&rev=471471&r1=471470&r2=471471
==============================================================================
--- incubator/adffaces/branches/myfaces-1_2-maven-faces-plugin/src/main/java/org/apache/myfaces/trinidadbuild/plugin/faces/AbstractFacesMojo.java (original)
+++ incubator/adffaces/branches/myfaces-1_2-maven-faces-plugin/src/main/java/org/apache/myfaces/trinidadbuild/plugin/faces/AbstractFacesMojo.java Sun Nov  5 09:34:17 2006
@@ -379,7 +379,7 @@
       String componentType = component.getComponentType();
 
       // skip API and base class generation?
-      return skipApiOrBaseClasses || (!componentType.startsWith("javax") &&
+      return !skipApiOrBaseClasses || (!componentType.startsWith("javax") &&
                 !componentType.endsWith("Base"));
 
     }