Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Problem inside of FrameworkCommandInterpreter.java
Problem inside of FrameworkCommandInterpreter.java [message #47275] Fri, 25 March 2005 03:40
Bob Balfe is currently offline Bob Balfe
Messages: 17
Registered: July 2009
Junior Member
This is a multi-part message in MIME format.

------=_NextPart_000_0065_01C530C2.742AFC50
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

When calling FrameworkCommandInterpreter.execute(<string>) with a =
command with spaces in it like "bundle 123" it doesn't work because it =
attempts to match a function name of "_bundle 123" in the command =
handler classes. I would think the passed in cmd string should be =
tokenized for spaces and only the first one take then the rest passed in =
as parameters.

Is this a bug and is anyone aware of it?

--=20
Bob
IBM Software Group
Workplace Client Technology Platform, Rich Edition
------=_NextPart_000_0065_01C530C2.742AFC50
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1491" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>When calling <FONT=20
size=3D2>FrameworkCommandInterpreter.execute(&lt;string&gt;) with a =
command with=20
spaces in it like "bundle 123" it doesn't work because it attempts to =
match a=20
function name of "_bundle 123" in the command handler classes.&nbsp; I =
would=20
think the passed in cmd string should be tokenized for spaces and only =
the first=20
one take then the rest passed in as parameters.</FONT></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Is this a bug and is anyone aware of=20
it?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2><BR>-- <BR>Bob<BR>IBM Software =
Group<BR>Workplace=20
Client Technology Platform, Rich Edition</FONT></DIV></BODY></HTML>

------=_NextPart_000_0065_01C530C2.742AFC50--
Previous Topic:Maven and eclipse plugins
Next Topic:RMI- and ClassLoader-Problem:
Goto Forum:
  


Current Time: Sat Oct 25 21:28:55 GMT 2014

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

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