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.

Bug 24448 - When the IDE is started via association, the selected file is not opened
Summary: When the IDE is started via association, the selected file is not opened
Status: VERIFIED FIXED
Alias: None
Product: installer
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P2 blocker (vote)
Assignee: _ ttran
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-05 15:41 UTC by iformanek
Modified: 2005-07-15 09:10 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description iformanek 2002-06-05 15:41:42 UTC
TO reproduce:
- (no IDE running)
- doubleclick on some java file
the IDE starts up, but the file is not opened
Comment 1 _ ttran 2002-06-06 10:22:32 UTC
where can I get the installer?
Comment 2 iformanek 2002-06-06 10:26:03 UTC
http://www.netbeans.org/devhome/download.html
Comment 3 Richard Gregor 2002-06-06 10:30:35 UTC
Try:

http://www.netbeans.org/devhome/download.html
Comment 4 _ ttran 2002-06-07 12:46:41 UTC
if the IDE is not running (nobody listening on openfile port) the IDE
is launched with system propery -Dnetbeans.openfile=<filename>. 
utilities module checks this property at startup and opens the file.

If this doesn't work then probably a bug in utilities module.

Unassigned myself.
Comment 5 Richard Gregor 2002-06-07 13:07:43 UTC
So reassignig to utilities.Please, look at it.
Comment 6 _ lkramolis 2002-06-18 10:32:15 UTC
It looks runide.exe does not set 'netbeans.openfile' property. I have
added debug messages to OpenFile set 'org.netbeans.modules.openfile'
property to see it.

You can also execute runide.sh with set netbeans.openfile dirrectly
and it correctly opens file in NB.

[Reassigned back to installer.]
Comment 7 Richard Gregor 2002-06-18 23:16:25 UTC
Strange problem. One say it doesn't another one say it does. Where is
the truth? Trung could you look at it ones more please?
Comment 8 _ ttran 2002-06-19 17:15:34 UTC
Hmm, I'll look at this again
Comment 9 _ ttran 2002-06-19 17:18:31 UTC
Indeed, there are situations when runidew.exe does not set
-Dnetbeans.openfile=<...> correctly.  Fixed now.
Comment 10 Michal Mocnak 2005-07-15 09:10:59 UTC
Verified