Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Required Content Precondition - details

I've searched through the forums and am able to pick up hints and pieces of information from other posts, but nothing that is detailed. What I am looking for is a description of how the required content precondition works.

As far as I can tell, there are 3 possible configuration values for this:
  • File pattern
  • Required text
  • Text to insert

File pattern

Is this a regular expression or a string? If a regular expression, does it match any subset of the file name or must it match it in its entirety?

Required text

Is this a regular expression or a string? If a regular expression, does it need to match an entire line in a file or just any subset of a line? Can you make it match across multiple lines?

Text to insert

How is this used? Where does the text get inserted? Is there any sort of pattern matching going on so that the text that gets inserted can refer to text that was matched in the file?

Answers to any or all of the above questions would be very helpful! Thanks in advance.

Brad

0 votes



2 answers

Permanent link
Anyone have any information they can provide? Thanks!

0 votes


Permanent link
The file pattern a java style regular expression that matches on the file name. The file's path is ignored.

The required text is a string literal that matches against the exact content of the file. The literal may match across lines, so long as you have the appropriate line delimiter included as part of the string. I believe that we use '\n' as the server-side line delimiter for text files.

The text to insert is prepended to the file.

e

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Jan 05 '11, 6:31 p.m.

Question was seen: 5,426 times

Last updated: Jan 05 '11, 6:31 p.m.

Confirmation Cancel Confirm