Problem inside of FrameworkCommandInterpreter.java [message #47275] |
Fri, 25 March 2005 03:40 |
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(<string>) 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. 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> </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--
|
|
|
Powered by
FUDForum. Page generated in 0.03164 seconds