RE: Request For Suggestions: -ignoreBlocks Ant Integration

"Mark Webb" <[email protected]> Mon, 18 Apr 2005 09:27:12 -0400
Newsgroups gmane.comp.java.simian.user
Message-ID <ECE66FDC2D185F40A7E8B6E66F4C894206D42B4C@msgusaemb01.autodesk.com>
Simon

I am not personally familiar with Ant.
Whichever method you feel works easiest with the various build tools is
okay with me.

I also don't see a problem with forcing START and End to not include a :
character.

Cheers
Mark=20

-----Original Message-----
From: Simon Harris [mailto:[email protected]]=20
Sent: Saturday, April 16, 2005 2:56 AM
To: Simian User
Subject: [simian-user] Request For Suggestions: -ignoreBlocks Ant
Integration

About to put in support for -ignoreBlocks=3DSTART:END for the command =
line
interpreter.

The question is, how to integrate this with ant?

We could have an ignoreBlocks=3D"START:END" but that means horrible
escaping if you wanted a colon in the start. Maybe not so bad and it
does mean I can use the same code as for the command-line option *grin*.

Or ignoreBlocksStart=3D"START" ignoreBlocksEnd=3D"END" though I dislike
intensely the idea of having co-dependent options.

Or a sub-option like ALA Formatter:

	<ignoreBlocks start=3D"START" end=3D"END"/>

The nice thing about this is that we could eventually support multiple
blocks I suppose? In fact I guess the command-line could support
multiple blocks too. Though not in the next release ;-) And I'm possibly
inventing requirements here.

Cheers,

Simon

--
Simon Harris
RedHill Consulting, Pty. Ltd.
12/55-67 Batman Street
West Melbourne VIC 3003
http://www.redhillconsulting.com.au
mob: +61 417 505 611
yahoo/skype: haruki_zaemon