Uploaded image for project: 'NPanday'
  1. NPanday
  2. NPANDAY-319

NPanday not building resource files correctly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • 1.2.1
    • Maven Plugins
    • None
    • 13984

    Description

      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>

      Attachments

        Activity

          People

            Unassigned Unassigned
            mbaclay Marecor M. Baclay
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: