You are viewing a plain text version of this content. The canonical link for it is here.
Posted to npanday-commits@incubator.apache.org by "Adelita L. Padilla (JIRA)" <ji...@apache.org> on 2010/11/26 21:35:18 UTC

[jira] Assigned: (NPANDAY-349) NPanday not building resource files correctly

     [ https://issues.apache.org/jira/browse/NPANDAY-349?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adelita L. Padilla reassigned NPANDAY-349:
------------------------------------------

    Assignee: Adelita L. Padilla

> 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
>            Assignee: Adelita L. Padilla
>            Priority: Minor
>             Fix For: 1.3-incubating
>
>
> 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.