[jboss-svn-commits] JBL Code SVN: r24309 - labs/jbossrules/trunk/drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/builder.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Mon Dec 8 17:27:55 EST 2008


Author: KrisVerlaenen
Date: 2008-12-08 17:27:55 -0500 (Mon, 08 Dec 2008)
New Revision: 24309

Modified:
   labs/jbossrules/trunk/drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/builder/DroolsBuilder.java
Log:
 - exclude .guvnorinfo resources from builder

Modified: labs/jbossrules/trunk/drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/builder/DroolsBuilder.java
===================================================================
--- labs/jbossrules/trunk/drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/builder/DroolsBuilder.java	2008-12-08 21:21:26 UTC (rev 24308)
+++ labs/jbossrules/trunk/drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/builder/DroolsBuilder.java	2008-12-08 22:27:55 UTC (rev 24309)
@@ -119,6 +119,10 @@
     protected boolean parseResource(IResource res, boolean clean) {
         try {
             IJavaProject project = JavaCore.create(res.getProject());
+            // exclude .guvnorinfo files
+            if (".guvnorinfo".equals(res.getName())) {
+            	return false;
+            }
             // exclude files that are located in the output directory,
             // unless the ouput directory is the same as the project location
             if (!project.getOutputLocation().equals(project.getPath())




More information about the jboss-svn-commits mailing list