Author: brett
Date: Thu Jul 18 05:34:10 2013
New Revision: 1504366

URL: http://svn.apache.org/r1504366
Log:
[NPANDAY-358] ResGen Maven Plugin: Failed to find resources in multi module 
project

Modified:
    
incubator/npanday/trunk/plugins/maven-resgen-plugin/src/main/java/npanday/plugin/resgen/ExistingResxGenerator.java
    incubator/npanday/trunk/pom.xml

Modified: 
incubator/npanday/trunk/plugins/maven-resgen-plugin/src/main/java/npanday/plugin/resgen/ExistingResxGenerator.java
URL: 
http://svn.apache.org/viewvc/incubator/npanday/trunk/plugins/maven-resgen-plugin/src/main/java/npanday/plugin/resgen/ExistingResxGenerator.java?rev=1504366&r1=1504365&r2=1504366&view=diff
==============================================================================
--- 
incubator/npanday/trunk/plugins/maven-resgen-plugin/src/main/java/npanday/plugin/resgen/ExistingResxGenerator.java
 (original)
+++ 
incubator/npanday/trunk/plugins/maven-resgen-plugin/src/main/java/npanday/plugin/resgen/ExistingResxGenerator.java
 Thu Jul 18 05:34:10 2013
@@ -173,7 +173,12 @@ public class ExistingResxGenerator exten
     private List<String> getCommands( File sourceFile, String 
resourceDirectory, String name )    throws MojoExecutionException
     {
         List<String> commands = new ArrayList<String>();
-                                            
+                                       
+        // NPANDAY-358
+        // Adding the "/useSourcePath" argument to the RESGEN executable will
+        // allow RESGEN to use the relative paths defined inside *.resx files
+        commands.add("/useSourcePath");
+               
         commands.add( sourceFile.getAbsolutePath() );
         if( name != null || "".equals(name))
         {

Modified: incubator/npanday/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/incubator/npanday/trunk/pom.xml?rev=1504366&r1=1504365&r2=1504366&view=diff
==============================================================================
--- incubator/npanday/trunk/pom.xml (original)
+++ incubator/npanday/trunk/pom.xml Thu Jul 18 05:34:10 2013
@@ -23,7 +23,7 @@ under the License.
   <parent>
     <groupId>org.apache</groupId>
     <artifactId>apache</artifactId>
-    <version>10</version>
+    <version>12</version>
   </parent>
   <groupId>org.apache.npanday</groupId>
   <artifactId>apache-npanday</artifactId>  
@@ -296,6 +296,9 @@ under the License.
     <contributor>
       <name>Victor Stefoglo</name>
     </contributor>
+    <contributor>
+      <name>Robert Savage</name>
+    </contributor>
   </contributors>
   <modules>
     <module>components</module>


Reply via email to