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/16 07:56:15 UTC

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

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.


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

Posted by "Adelita L. Padilla (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/NPANDAY-349?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on NPANDAY-349 started by 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.


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

Posted by "Joe Ocaba (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/NPANDAY-349?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joe Ocaba updated NPANDAY-349:
------------------------------

    Fix Version/s:     (was: 2.0)
                   1.3-incubating

> 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
>             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.


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

Posted by "Adelita L. Padilla (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/NPANDAY-349?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adelita L. Padilla resolved NPANDAY-349.
----------------------------------------

    Resolution: Fixed

fixed in r1041711

> 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.


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

Posted by "Adelita L. Padilla (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/NPANDAY-349?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Fix Version/s: 2.0

> 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
>             Fix For: 2.0
>
>
> 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.


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

Posted by "Adelita L. Padilla (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/NPANDAY-349?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on NPANDAY-349 stopped by 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.


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

Posted by "Adelita L. Padilla (JIRA)" <ji...@apache.org>.
     [ 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.