[
http://jira.codehaus.org/browse/MNBMODULE-45?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=168753#action_168753
]
Milos Kleint commented on MNBMODULE-45:
---------------------------------------
well, relying on transitive dependencies only is not 100% bulletproof (as you
figured) there are modules that are required by the running application but
which are not reachable by transitivity. These typically provide
implementations of services defined in other api modules. core-windows is a
nice example. no module depends on it, but it's crucial to the running app as
it implements the window system.
a safer way to define what your application is composed of is it declare
dependency on the whole cluster (org.netbeans.clusters groupid) and then
eventually selectively exclude stuff you don't want at runtime..
> 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