This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Platform Application does not start correctly if run by symlink to the bin/<appname> | ||
---|---|---|---|
Product: | platform | Reporter: | normen |
Component: | Launchers&CLI | Assignee: | dlipin <dlipin> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | spoonerj30 |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | Workaround fix for ConfigurationLogic.java |
Description
normen
2010-07-31 07:58:48 UTC
Created attachment 101132 [details]
Workaround fix for ConfigurationLogic.java
Workaround fix for ConfigurationLogic.java
Location: *NB Install Dir*/harness/nbi/stub/ext/components/products/helloworld/src/org/mycompany/ConfigurationLogic.java
The actual reason is that the current platform application launcher does not handle correctly the case when it is run via symlink to the launcher. In fact, without this fix the application starts with Current Directory = / User Directory = / in the messages.log and that reminds me the Issue #189656. This is fixed in core-main#212edbb66859. You can do the same in the netbeans installation directory, see file harness/launchers/app.sh. Integrated into 'main-golden', will be available in build *201009010001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/212edbb66859 User: Dmitry Lipin <dlipin@netbeans.org> Log: Issue #189105 Platform Application does not start correctly if run by symlink to the bin/<appname> |