You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by ma...@apache.org on 2007/11/29 09:44:43 UTC

svn commit: r599339 - /myfaces/trinidad-maven/tags/maven-plugin-parent-1.2.5/maven-jdev-plugin/src/main/java/org/apache/myfaces/trinidadbuild/plugin/jdeveloper/JDeveloperMojo.java

Author: matzew
Date: Thu Nov 29 00:44:42 2007
New Revision: 599339

URL: http://svn.apache.org/viewvc?rev=599339&view=rev
Log:
TRINIDAD-843

Modified:
    myfaces/trinidad-maven/tags/maven-plugin-parent-1.2.5/maven-jdev-plugin/src/main/java/org/apache/myfaces/trinidadbuild/plugin/jdeveloper/JDeveloperMojo.java

Modified: myfaces/trinidad-maven/tags/maven-plugin-parent-1.2.5/maven-jdev-plugin/src/main/java/org/apache/myfaces/trinidadbuild/plugin/jdeveloper/JDeveloperMojo.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad-maven/tags/maven-plugin-parent-1.2.5/maven-jdev-plugin/src/main/java/org/apache/myfaces/trinidadbuild/plugin/jdeveloper/JDeveloperMojo.java?rev=599339&r1=599338&r2=599339&view=diff
==============================================================================
--- myfaces/trinidad-maven/tags/maven-plugin-parent-1.2.5/maven-jdev-plugin/src/main/java/org/apache/myfaces/trinidadbuild/plugin/jdeveloper/JDeveloperMojo.java (original)
+++ myfaces/trinidad-maven/tags/maven-plugin-parent-1.2.5/maven-jdev-plugin/src/main/java/org/apache/myfaces/trinidadbuild/plugin/jdeveloper/JDeveloperMojo.java Thu Nov 29 00:44:42 2007
@@ -897,8 +897,13 @@
     {
       File webInfDir = 
         new File(project.getBasedir(), "src/main/webapp/WEB-INF");
+      if (webInfDir == null)
+        return;
+      
       File[] files = webInfDir.listFiles();
-
+      if (files == null)
+        return;
+      
       Xpp3Dom hashDOM = null;
       Xpp3Dom valueDOM = null;
       for (int i = 0; i < files.length; i++)