1.5.5-beta1 mangles codebase directory names with spaces

Report bugs in the RMI plugin here

1.5.5-beta1 mangles codebase directory names with spaces

Postby Barnaby Mannerings » Wed Nov 26, 2003 8:22 pm

Hi,

I have noticed the codebase editor the 1.5.5beta1 build of your RMI plugin fails to store the path correctly if it is given a codebase with spaces in it.

If you attempt to do this, the application launch will fail and the next time you open the codebase editor it will become apparant that the entry has been split into multiple seperate codebase entries at each space in the original.

Hope this helps.

My system: Eclipse 3.0 M5, J2SDK 1.4.0, Windows XP Pro
Barnaby Mannerings
 

Re: 1.5.5-beta1 mangles codebase directory names with spaces

Postby genady » Wed Nov 26, 2003 9:05 pm

Hi,

It may be possible if you enter the filename directly and not pick it using the "pick" buttons. If you use the buttons it would convert the filename to URLs in which case there are no spaces.

Is this your case?

Genady

Barnaby Mannerings wrote:Hi,

I have noticed the codebase editor the 1.5.5beta1 build of your RMI plugin fails to store the path correctly if it is given a codebase with spaces in it.

If you attempt to do this, the application launch will fail and the next time you open the codebase editor it will become apparant that the entry has been split into multiple seperate codebase entries at each space in the original.

Hope this helps.

My system: Eclipse 3.0 M5, J2SDK 1.4.0, Windows XP Pro
genady
Site Admin
 
Posts: 397
Joined: Sat Aug 16, 2003 5:15 pm

Re: 1.5.5-beta1 mangles codebase directory names with spaces

Postby Guest » Wed Nov 26, 2003 10:39 pm

I have tried the following ways to select the codebase:

Using the pick from workspace button
Using the pick from filesystem button
Using the Compute from Classpath button

In all cases, if i save the changes, close the "Run" dialog and then reopen the "Run" dialog, the entry will be split into many at each space. I also note that while it converts it into a "file://" URL, it does not escape the spaces whatever method I use to add it.

Here is a screenshot of the behaviour it produces: http://files.lancs.org/rmi_codebase.jpg

Apart from that the plugin works fine, it had no problem when I replaced the string with the 8.3 DOS style version (c:\DOCUME~1\...).

Maybe this is related to my Eclipse version (3.0 M5), but that doesn't seem likely as everything else is working and I would assume the formatting and storing of the string is down to the plugin, but I am unaware of how Eclipse works internally.

genady wrote:Hi,

It may be possible if you enter the filename directly and not pick it using the "pick" buttons. If you use the buttons it would convert the filename to URLs in which case there are no spaces.

Is this your case?

Genady
Guest
 

Re: 1.5.5-beta1 mangles codebase directory names with spaces

Postby genady » Thu Nov 27, 2003 10:45 pm

Ok - I checked it again and you are absolutely right.
I will post a fix very soon.

Genady

Anonymous wrote:I have tried the following ways to select the codebase:

Using the pick from workspace button
Using the pick from filesystem button
Using the Compute from Classpath button

In all cases, if i save the changes, close the "Run" dialog and then reopen the "Run" dialog, the entry will be split into many at each space. I also note that while it converts it into a "file://" URL, it does not escape the spaces whatever method I use to add it.

Here is a screenshot of the behaviour it produces: http://files.lancs.org/rmi_codebase.jpg

Apart from that the plugin works fine, it had no problem when I replaced the string with the 8.3 DOS style version (c:\DOCUME~1\...).

Maybe this is related to my Eclipse version (3.0 M5), but that doesn't seem likely as everything else is working and I would assume the formatting and storing of the string is down to the plugin, but I am unaware of how Eclipse works internally.

genady wrote:Hi,

It may be possible if you enter the filename directly and not pick it using the "pick" buttons. If you use the buttons it would convert the filename to URLs in which case there are no spaces.

Is this your case?

Genady
genady
Site Admin
 
Posts: 397
Joined: Sat Aug 16, 2003 5:15 pm

Postby Barnaby Mannerings » Sat Nov 29, 2003 8:11 pm

Thanks for the great product and quick response.

Regards

Barnaby
Barnaby Mannerings
 

Postby genady » Sat Jan 03, 2004 8:04 pm

Just to close this discussion - the bug has been fixed in versions 1.5.1.2
and 1.5.5-beta.

Genady
genady
Site Admin
 
Posts: 397
Joined: Sat Aug 16, 2003 5:15 pm


Return to Bug reports

Who is online

Users browsing this forum: No registered users and 1 guest

cron