Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Not A Bug
-
Affects Version/s: 3.0
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
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?)
Clarification:
The netbeans app bash script will look under target/appname/platform*/lib/ for the nbexec binary