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.
Please, see issue #22961
Probably dupe of #22961 since ant module uses File prop ed; please confirm.
Probably not. Or at least they've tried to persuade me that it is separate bug. All bugs with the same summary I discovered on: Product Version = NetBeans IDE 3.4 RC 1 IDE Versioning = IDE/1 spec=2.23 impl=200207252340 Operating System = Linux version 2.4.18 running on i386 Java; VM; Vendor = 1.4.1-rc; Java HotSpot(TM) Client VM 1.4.1-rc-b18; Sun Microsystems Inc. Java Home = /usr/java/j2sdk1.4/sun/jdk1.4.1/jre System Locale; Encod. = cs_CZ; ISO-8859-2 Home Dir; Current Dir = /home.local/danielm; /DISKS/storage3/forte/NBdev-last/netbeans/bin IDE Install; User Dir = /home.local/danielm/NBdev-last; /home.local/danielm/.netbeans/3.4 ==================================================================== Sorry I didn't wrote exact place where to find this problem: 1. Invoke Main Menu -> Tools -> Options 2. Select node Options | Building | Ant Settings 3. Invoke Property's editor on "Default Executor" 4. Choose "JAR Execution" from the Object's Executor list on the left part of "Default Executor" dialog 5. Invoke Property's editor on "External Process" 6. On newly opened "External Process" dialog push "..." button for setting up "Process:" property. 7. the typical JFileChooser is bring up (hidden files are hidden:) that is. Thanks.
David, is anybody working on this, and what's the bug itself about. Actually I didn't get why is it a "Must have" (blocks # 28441) for 3.4.1 Sincere, Maxym
I did not look at it yet. My resource for work on Ant are ZERO so I so far ignored this one. Should not be difficult (when I look at the issue 26098 and how it was fixed - it was the same problem). Ask dmladek@netbeans.org why he thinks this is stopper for 3.4.1.
Daniel, why do you think this is a 3.4.1 showstopper? And could you please fix it according to issue 26098 ? Sincere, Maxym
Hi Maxim, I don't think taht it is actualy showstoper (but CANDIDATE for fix in 3.4.1:) And thouse bugs about JFileCHooser are defacto same (but I had to enter them to individual modules, it was tollen to me) And why it is bug? because you can't get to your $user_dir setting by using JFileChooser 'cause it is hidden now and the curren JFC doesn't support viewing hidden files. Fix is realy easy, but I'm from QA, so rather owner of the module should have fix it;-) Regards -Daniel
Hi. This issue is marked as 3.4.1_CANDIDATE. It means that it should be integrated into release341 one branch. The plan at http://www.netbeans.org/devhome/docs/releases/34/index.html expected beta1 to be produced on Dec01. That did not happen due to a lot of outstanding not integrated candidates like this one. Would it be possible to spend few minutes by backporting this fix? Thank you in advance.
I'm sure this Issue doesn't belong to Ant, because the errorneus FileChooser is shown when you edit "External Execution" property of JarExecution. moving to jarpackager, please take a look.
OK, it also doesn't belong to jarpackager, because "External Process" property is created by this code: externalExecutor = new NbProcessDescriptor ( "....", "HINT"); So, the problem is in NbProcessDescriptor, imho.
No, the problem is in the Core: org.netbeans.beaninfo.editors.NbProcessDescriptorCustomEditor, in method jButton1ActionPerformed. Since it's the core, I'm not brave enough to touch it, I don't want to hack even further: "JFileChooser chooser = FileEditor.createHackedFileChooser();" Max
Thanx Maxym! I just now read carefully the description of the issue and you are right it has nothing to do with Ant.
reassigne to Tim, new owner of property editors.
Hi, Tim Time to do some coding ;-) I wander, why "Hacked" FileChooser ? If it were a normal JFileChooser, I could fix this myself, but it's your turn ;-)
It sounds like the fix for this is known - but what is it? Questions: - Was this already fixed by the fix for 22961? - Was it patched for 3.4.1 but not marked fixed? - I see references to JarPackager and Ant modules - is it misfiled against core? I'm going through a big list of issues now, so I haven't dug into this issue other than to read it and the linked ones and find it confusing. If you know what needs to be done here, please save me the trouble of duplicating the investigation and let me know.
Originally this issue was reported to be in Ant module. I dug a bit and first thought that it's a jarpackager's bug, but later I dug a bit more and noticed that the problem is in the core, there's a line "JFileChooser chooser=FileEditor.createHackedFileChooser();" that creates a JFileChooser, but it doesn't set some flags to see hidden dirs/files. Ab' #22961 - I dunno, whether it was fixed at all, because David (as always) doesn't provide any CVS logs, just writes "fixed in trunk", so I cannot confirm/disapprove. Max
Horrible bug, isn't it, Maxim? :-((( Originaly I didn't intend to enter any of "JFileChosser"issue against any of netbeans modules, but agains while ide as it is. but such bug was mark as invalid 'cause I must say concrete example of JFileChosser's instance and enter against it a bug... I'm sure there are still calls of JFCh in ide which calls JFCh which can't display hidden files/dirs...
Yeap, extremely horrible ;-)) And is most horrible - it's _really_ the last 3.4.1_CANDIDATE with possibly an obvious fix. 2Tim: see the fix in diff: http://www.netbeans.org/source/browse/vcscore/src/org/netbeans/modules/vcscore/util/ChooseDirDialog.java.diff?r1=1.2&r2=1.3&f=c It's really obvious.
Daniel, can you verify the fix? I commited it to release341 branch, not to dev build (NetBeans 3.4.1 is being built nightly - that will be the next dev build, dated 23th December). CVS log/diff: http://www.netbeans.org/source/browse/core/src/org/netbeans/beaninfo/editors/FileEditor.java.diff?r1=1.19&r2=1.19.66.1 I tested and in works for me (Windows, jdk1.4.1).
OK Maxim:-) Tomorrow I'll check it. (I hope that I could download NB341 build from this URL: http://www.netbeans.org/devhome/download.html)
Daniel, you may try even today, 22nd 3.4.1 dev build contains the fix. You're right about the URL - it's http://www.netbeans.org/devhome/download.html ;-)
I'm very sorry I didn't verified it althouh I promised:-( I had not any change to get to appropriate computer with Internet&Java during my vacations (I've thought I will, but ...) Anway, in today's NetBeans IDE 3.4.1 Dev - build 200301012341 I can't verify it 'cause I can't find the way how to get to ANT settings :-( There is no subnode under Options->Building node. see attachet pic.
Created attachment 8416 [details] Screenshot of Options Window
Oups:-( I accidentaly downloaded and tested on NetBeans platform instead of IDE. so with NB 341 dev Product Version = NetBeans IDE 3.4.1 Dev-build 200301012341 IDE Versioning = IDE/1 spec=2.23.1 impl=200301012341 it is OK;-)
Happy new 2003! Trambling hands ;-?
Resolved for 3.4.x or earlier, no new info since then -> closing.