Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 241162 - plugin located in a path with a sharp (#) sign are ignored
Summary: plugin located in a path with a sharp (#) sign are ignored
Status: RESOLVED DUPLICATE of bug 170213
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: PDE-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-16 18:13 EDT by Sébastien Gandon CLA
Modified: 2008-11-28 12:27 EST (History)
5 users (show)

See Also:


Attachments
plugin is in the folder 'Bug 241162' (44.85 KB, text/plain)
2008-11-28 11:48 EST, Mykola Nikishov CLA
no flags Details
plugin is in the folder 'Bug #241162' (44.80 KB, text/plain)
2008-11-28 11:49 EST, Mykola Nikishov CLA
no flags Details
diff between previously attached logs (13.82 KB, patch)
2008-11-28 11:55 EST, Mykola Nikishov CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sébastien Gandon CLA 2008-07-16 18:13:52 EDT
Build ID: Build id: I20080617-2000

Steps To Reproduce:
1. create a plugin using the plugin wizard and use the Hello world template for instance.
2. Rigth click on the project to select : Refactor->Move
3.in the move dialog choose a folder containing a sharp (#) in the path
4. run the plugin in a eclipse application

The plugin will not be loaded at all, and no error will be reporter to help you out.


More information:
this is reproducable on 3.3 and 3.4 on Windows XP.
Comment 1 Mykola Nikishov CLA 2008-11-28 05:31:09 EST
I have the same problem

eclipse.buildId=I20081030-1917
os.arch=i386
os.name=Linux
os.version=2.6.26-1-openvz-686

Plugin loaded w/o any errors when located in a folder named 'Bug 241162':

*** Plug-in Registry:
Bug_241162 (1.0.0) "Bug_241162 Plug-in" [Starting]
 Configured plug-ins:
  file:/home/mn/Bug 241162/

But after moving the plugin in a folder 'Bug #241162' I have these messages in the error log:

!ENTRY org.eclipse.osgi 4 0 2008-11-28 12:21:00.537
!MESSAGE Bundle reference:file:/home/mn/Bug #241162 not found.
Comment 2 Chris Aniszczyk CLA 2008-11-28 09:58:31 EST
Note that "#" shouldn't be an allowed character in launch configurations due to bug 170213

*** This bug has been marked as a duplicate of bug 170213 ***
Comment 3 Mykola Nikishov CLA 2008-11-28 11:48:02 EST
Created attachment 119025 [details]
plugin is in the folder 'Bug 241162'
Comment 4 Mykola Nikishov CLA 2008-11-28 11:49:47 EST
Created attachment 119027 [details]
plugin is in the folder 'Bug #241162'
Comment 5 Mykola Nikishov CLA 2008-11-28 11:55:35 EST
Created attachment 119028 [details]
diff between previously attached logs
Comment 6 Mykola Nikishov CLA 2008-11-28 12:27:20 EST
As I can see the only significant difference after a move project refactoring was applied (plugin's location changed from '/home/mn/Bug 241162' to '/home/mn/Bug #241162') is that osgi.bundles references to the plugin as 'reference:file:/home/mn/Bug #241162' instead of 'reference:file:/home/mn/Bug 241162'. And this prevents plugin Bug_241162 (1.0.0) "Bug_241162 Plug-in" from starting.

Is this one realy a duplicate of #170213 ? https://bugs.eclipse.org/bugs/show_bug.cgi?id=170213#c7 says about replacing '#' with 'h' when building configuration location. But I've used a default configuration location and it doesn't contain '#' ('-configuration file:/home/mn/workspace/.metadata/.plugins/org.eclipse.pde.core/New_configuration/')