[ 
http://jira.codehaus.org/browse/MNBMODULE-45?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jesse Glick closed MNBMODULE-45.
--------------------------------

    Resolution: Not A Bug
      Assignee: Jesse Glick  (was: Milos Kleint)

As Miloš says, NB Platform apps can have implicit dependencies on modules that 
provide essential services. 
http://wiki.netbeans.org/ModuleSystemModestProposal#Provide-require_dependencies_and_.22build_with_dependencies.22_action
 touches on this issue. For now you simply need to include enough core modules 
in your app, if you are not including the entire cluster.

> 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: Jesse Glick
>
> 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


Reply via email to