[ 
http://jira.codehaus.org/browse/MNBMODULE-45?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=168717#action_168717
 ] 

Milos Kleint commented on MNBMODULE-45:
---------------------------------------

what dependencies did you have with the nbm-application project? the boot.jar 
and core.jar shall be on the platform cluster pom's dependency set. if not the 
populate-repository goal has a problem.

> 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


Reply via email to