[
http://jira.codehaus.org/browse/MNBMODULE-45?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=168715#action_168715
]
Johan Andrén commented on MNBMODULE-45:
---------------------------------------
We added org-netbeans-core-windows as a dependency to our nbm-application
project and the missing came with either that dependency or one of the
transitive dependencies from the module.
Problem solved.
> nbm:run-platform not working on unix
> ------------------------------------
>
> Key: MNBMODULE-45
> URL: http://jira.codehaus.org/browse/MNBMODULE-45
> Project: Maven 2.x Netbeans Module Plugin
> Issue Type: Bug
> Affects Versions: 3.0
> Reporter: Johan Andrén
> Assignee: Milos Kleint
>
> When we run nbm:run-platform on our platform application on osx we get the
> following error:
> {{
> [nbm:run-platform]
> Executing: /bin/sh -c
> /Users/johan/NetBeansProjects/prosang/trunk/client/prosang/target/prosang/bin/prosang
>
> sh:
> /Users/johan/NetBeansProjects/prosang/trunk/client/prosang/target/prosang/bin/../platform*/lib/nbexec:
> No such file or directory
> }}
> this is because of the netbeans-platform executable on unixes are actually a
> script, containing this:
> {{
> ...
> PRG=$0
> ...
> ...
> progdir=`dirname "$PRG"`
> ...
> ...
> nbexec=`echo "$progdir"/../platform*/lib/nbexec`
> ...
> }}
> so $progdir will always point to the projectdir/target/application-name/
> directory where no lib directory exists.
> (Or do we need to create that ourselves somehow?)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email