Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » eclipse.ini and spaces in -vm path or -Djava.library.path are incorrectly wrapped on PDE export
eclipse.ini and spaces in -vm path or -Djava.library.path are incorrectly wrapped on PDE export [message #464050] Thu, 22 February 2007 20:09 Go to next message
Eclipse UserFriend
I have a *.product file which has on the Launcher tab, Launching
Arguments > All Platforms: (I've also tried win32 tab as well)

Program Arguments:
-vm
C:\Program Files\Java\j2re1.4.2_13\bin\javaw.exe

VM Arguments:
-Xdebug
-Xnoagent
-Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend= n
-Djava.compiler=NONE
-Djava.library.path=C:\Program Files\Java\j2re1.4.2_13\bin;C:\Program
Files\ArcGIS\bin

Where each argument is on its own line.

When I export my product the generated <exe>.ini file is incorrectly
putting a newline where a space occurs:

-vm
C:\Program
Files\Java\j2re1.4.2_13\bin\javaw.exe
-vmargs
-Xdebug
-Xnoagent
-Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend= n
-Djava.compiler=NONE
-Djava.library.path=C:\Program
Files\Java\j2re1.4.2_13\bin;C:\Program
Files\ArcGIS\bin

Is this a known bug? I couldn't find anything in bugzilla.

Is there a way to escape spaces?
I've tried "\ " (slash space), I've tried double quoting the line,
nothing works. Finding documentation on eclipse.ini and config.ini is
difficult.

For Eclipse 3.2.1, I've found Plug-in Development Environment Guide >
Tools > Editors > Product Configuration Editor > Launcher, which doesn't
discuss white space or file format at all.
Re: eclipse.ini and spaces in -vm path or -Djava.library.path are incorrectly wrapped on PDE export [message #464051 is a reply to message #464050] Thu, 22 February 2007 20:15 Go to previous messageGo to next message
Eclipse UserFriend
Barrie Treloar wrote:
> When I export my product the generated <exe>.ini file is incorrectly
> putting a newline where a space occurs:

My work around
is to use Windows 16 bit filenames instead:

-vm
C:\PROGRA~1\Java\J2RE14~2.2_1\bin\javaw.exe
-Xdebug
-Xnoagent
-Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend= n
-Djava.compiler=NONE
-Djava.library.path=C:\PROGRA~1\Java\J2RE14~2.2_1\bin;C:\PRO GRA~1\ArcGIS\bin

Still would appreciate learning the correct way.
Re: eclipse.ini and spaces in -vm path or -Djava.library.path are incorrectly wrapped on PDE export [message #464070 is a reply to message #464051] Fri, 23 February 2007 09:15 Go to previous messageGo to next message
Eclipse UserFriend
Barrie,
This is a bug, see:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=162075 and
https://bugs.eclipse.org/bugs/show_bug.cgi?id=168247

I don't think there is currently any way to get the spaces in the product file
handled correctly.

And alternative is to provide your own ini file and get it included as a root
file using a feature.

-Andrew

Barrie Treloar wrote:
> Barrie Treloar wrote:
>> When I export my product the generated <exe>.ini file is incorrectly
>> putting a newline where a space occurs:
>
> My work around
> is to use Windows 16 bit filenames instead:
>
> -vm
> C:\PROGRA~1\Java\J2RE14~2.2_1\bin\javaw.exe
> -Xdebug
> -Xnoagent
> -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend= n
> -Djava.compiler=NONE
> -Djava.library.path=C:\PROGRA~1\Java\J2RE14~2.2_1\bin;C:\PRO GRA~1\ArcGIS\bin
>
>
> Still would appreciate learning the correct way.
Re: eclipse.ini and spaces in -vm path or -Djava.library.path are incorrectly wrapped on PDE export [message #464088 is a reply to message #464050] Fri, 23 February 2007 15:08 Go to previous message
Eclipse UserFriend
Originally posted by: lamont_gilbert.rigidsoftware.com

did you try quotations or single quotes?
Previous Topic:CheckboxCellEditor displays strings?
Next Topic:Regarding updating of my RCP about text
Goto Forum:
  


Current Time: Tue Mar 25 01:14:54 EDT 2025

Powered by FUDForum. Page generated in 0.04436 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top