felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rickh...@apache.org
Subject svn commit: r485675 - /incubator/felix/trunk/tools/maven2/maven-bundle-plugin/src/main/java/org/apache/felix/tools/maven2/bundleplugin/BundlePlugin.java
Date Mon, 11 Dec 2006 14:24:02 GMT
Author: rickhall
Date: Mon Dec 11 06:24:00 2006
New Revision: 485675

URL: http://svn.apache.org/viewvc?view=rev&rev=485675
Log:
Fixed a bug in the bundle plugin that was using a relative directory to
check for the existence of the resource directory, rather than using
the directory of the current pom file.

Modified:
    incubator/felix/trunk/tools/maven2/maven-bundle-plugin/src/main/java/org/apache/felix/tools/maven2/bundleplugin/BundlePlugin.java

Modified: incubator/felix/trunk/tools/maven2/maven-bundle-plugin/src/main/java/org/apache/felix/tools/maven2/bundleplugin/BundlePlugin.java
URL: http://svn.apache.org/viewvc/incubator/felix/trunk/tools/maven2/maven-bundle-plugin/src/main/java/org/apache/felix/tools/maven2/bundleplugin/BundlePlugin.java?view=diff&rev=485675&r1=485674&r2=485675
==============================================================================
--- incubator/felix/trunk/tools/maven2/maven-bundle-plugin/src/main/java/org/apache/felix/tools/maven2/bundleplugin/BundlePlugin.java
(original)
+++ incubator/felix/trunk/tools/maven2/maven-bundle-plugin/src/main/java/org/apache/felix/tools/maven2/bundleplugin/BundlePlugin.java
Mon Dec 11 06:24:00 2006
@@ -114,8 +114,8 @@
          .getOrganization().getUrl());
      }
    }
-     
-   if (new File("src/main/resources").exists()) {
+
+   if (new File(baseDir, "src/main/resources").exists()) {
      header(properties, Analyzer.INCLUDE_RESOURCE, "src/main/resources/");
    }
  



Mime
View raw message