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 "Greg Knox (Commented) (JIRA)" <ji...@apache.org> on 2012/01/11 06:28:39 UTC
[jira] [Commented] (NPANDAY-358) ResGen Maven Plugin: Failed to
find resources in multi module project
[ https://issues.apache.org/jira/browse/NPANDAY-358?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13183907#comment-13183907 ]
Greg Knox commented on NPANDAY-358:
-----------------------------------
I am also seeing this error on my own projects.
FYI, the error message received when running an 'mvn compile' against the attached project is:
[INFO] [resgen:generate]
[INFO] [resgen:generate-existing-resx-to-resource]
[INFO] NPANDAY-070-003: Found executable path for resgen: C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\bin
[INFO] C:\temp\resourceTest\parentPom\childProject\childProject\Properties\Resource.resx(123,5): error RG0000: Could not
find a part of the path 'C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Resources\hyperlink.xml'. Line 123, positi
on 5.
[INFO] 1 error(s).
the hyperlink.xml file the plugin cannot find is located in C:\temp\resourceTest\parentPom\childProject\childProject\Resources\hyperlink.xml (relative to the C:\temp\resourceTest\parentPom\childProject\childProject\Properties\Resource.resx file which references it), rather than relative to the resgen executable.
NB: I had to change the childProject\childProject\pom.xml to get this attached project to compile; by modifying the <groupId>npanday.plugin</groupId> elements in the child project pom.xml to <groupId>org.apache.npanday.plugins</groupId>, and removing the <version>1.2.1</version> element. I am running using the latest npanday release installed via the npanday-installer-1.4.0-incubating.msi installer.
> ResGen Maven Plugin: Failed to find resources in multi module project
> ---------------------------------------------------------------------
>
> Key: NPANDAY-358
> URL: https://issues.apache.org/jira/browse/NPANDAY-358
> Project: NPanday
> Issue Type: Bug
> Components: Maven Plugins
> Affects Versions: 1.2.1
> Reporter: Simon Brending
> Priority: Blocker
> Fix For: Backlog
>
> Attachments: ResourceTest.zip
>
>
> The ResGen Maven Plugin fails in a multi module project. It can not find the resources, because it does not resolve the paths correctly.
> The path will be resolved correctly with the command line option "/usesourcepath".
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira