[gps-devel] GPS Customization - tool switches and parameters?

Rod Chapman rod.chapman@praxis-cs.co.uk
Wed, 4 Feb 2004 14:55:39 -0000


Hi,
=20We're=20working=20on=20a=20customization=20of=20GPS=20to=20support
the=20SPARK=20Toolset,=20and=20I've=20come=20across=20an=20issue=20with
tool=20switches=20and=20their=20parameters.

The=20SPARK=20Examiner=20has=20lots=20of=20switches,=20some=20of
which=20take=20parameters.=20=20Example=20-=20we=20"index=20file"
used=20by=20the=20Examiner=20is=20set=20using

=20=20/index_file=3Dfilename

In=20my=20XML=20customization=20file,=20I=20have=20various
"field=20line"=20entries,=20such=20as

=20<field=20line=3D1=20label=3D"=20Index=20File=20"=20as-file=3D"true"=20s=
witch=3D"/index_file=3D"=20/>

When=20invoking=20the=20Examiner,=20though,=20GPS=20generates=20a=20comman=
d-line
with=20a=20space=20following=20the=20"=3D"=20e.g.

=20=20/index_file=3D=20filename

This=20fails,=20since=20the=20Examiner=20treats=20the=20space=20as=20a=20s=
eparator.

Any=20ideas=20how=20to=20make=20this=20work?=20=20I=20guess=20I=20could=20=


a)=20modify=20the=20Examiner=20to=20be=20more=20tolerant=20of=20the=20spac=
e=20following
the=20"=3D",=20or

b)=20modify=20GPS=20to=20omit=20the=20space=20for=20any=20switch=20that=20=
ends=20in=20"=3D"?

=20Thanks,
=20=20Rod=20Chapman,=20SPARK=20Team,=20Praxis=20Critical=20Systems=20Limit=
ed


**********************************************************************
This=20email=20and=20any=20files=20transmitted=20with=20it=20are=20confide=
ntial=20and
intended=20solely=20for=20the=20use=20of=20the=20individual=20or=20entity=20=
to=20whom=20they
are=20addressed.=20If=20you=20have=20received=20this=20email=20in=20error=20=
please=20notify
the=20system=20manager.=20=20The=20IT=20Department=20at=20Praxis=20Critica=
l=20Systems=20can=20be=20contacted=20at=20it.support@praxis-cs.co.uk
This=20footnote=20also=20confirms=20that=20this=20email=20message=20has=20=
been=20swept=20by
MIMEsweeper=20for=20the=20presence=20of=20computer=20viruses.
www.mimesweeper.com
**********************************************************************


________________________________________________________________________
This=20e-mail=20has=20been=20scanned=20for=20all=20viruses=20by=20Star=20I=
nternet.=20The
service=20is=20powered=20by=20MessageLabs.=20For=20more=20information=20on=
=20a=20proactive
anti-virus=20service=20working=20around=20the=20clock,=20around=20the=20gl=
obe,=20visit:
http://www.star.net.uk
________________________________________________________________________