NPanday not building resource files correctly
---------------------------------------------

                 Key: NPANDAY-349
                 URL: https://issues.apache.org/jira/browse/NPANDAY-349
             Project: NPanday
          Issue Type: Bug
          Components: Maven Plugins
            Reporter: Adelita L. Padilla
            Priority: Minor


Steps to replicate:
1. Create a WebApp project
2. Add resource files
3. Build the project (msbuild)

Actual Result:
A bin directory has been generated. In it are generated folders also for each 
of the resource files corresponding to the ResourceFiles directory in the 
webapp.

4. Delete the bin directory and build the project with NPanday

Actual Result:
The bin directory wasn't generated either in the project directory nor in the 
target directory.

Expected Result:
bin folder with the corresponding resources files should be generated in the 
target directory.

There's a workaround for this issue and that is to add the MSBuild plugin 
snippet in the pom,

<plugin>
<groupId>npanday.plugin</groupId>
<artifactId>NPanday.Plugin.Msbuild.JavaBinding</artifactId>
<extensions>true</extensions>
<executions>
<execution>
<goals>
<goal>compile</goal>
</goals>
</execution>
</executions>
</plugin>

As of now, NPanday automatically adds the <plugin> configuration if it doesn't 
exists in the pom.  This might trigger builds twice.  It might be better to 
look at the resource plugin.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to