Community
Participate
Working Groups
Created attachment 210140 [details] screen shot Version: 4.2.0 Build id: I20120125-2200 Steps: 1. new Java Application launch config 2. Classpath Tab -> select the "User Entries" node -> press "Add Jars..." button. 3. browse through your workspace in the resulting dialog and notice you can pick any resource you want 4. pick a random resource and hit OK 5. notice it gets added to your class path with a jar icon This problem was apparently fixed back in bug 38115. The attached screenshot shows me being able to add some JavaScript files as jars to my launch config
Looks like the action was "enhanced" with the fix for bug 228673
It might seem like that's a regression, but in fact an initialFilter of *.jar, *.zip should be set [1], but that doesn't happen in time, when simply running, however, when trying to debug the issue, and putting a breakpoint somewhere before and stepping through the code, when the dialog pops up, the initial filter is set. So the idea to allow files with other extensions than zip and jar could work, if by default only these would show, but the user could also select other files by changing the filter text. [1] http://git.eclipse.org/c/jdt/eclipse.jdt.ui.git/tree/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/BuildPathDialogAccess.java#n428
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug. If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.