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

Required Content precondition - how to configure, syntax etc

Sorry - I'm afraid I've found no doc, forum posts etc that help...

I'm trying to set up the Required Content precondtion for deliveries to ensure that some mandatory strings are present in delivered files matching certain file patterns.

I've tried all sorts of combinations of syntax for the file pattern and required text, but to no avail. Does someone have an example, or some doc that explains exactly how to configure this so it works?

I've tried file patterns like: .cpp, .hpp, .c, .h
*.cpp (doesn't like that)
"*.cpp"
I've tried all sorts of required text entries as well.

One issue is that I'm not aware of any method to "debug" the rule - so have no idea which part of the precondition is not working the way I want.

Tips, advice appreciated!
Thanks.
Simon.

0 votes



2 answers

Permanent link
I'm trying to set up the Required Content precondtion for deliveries to ensure that some mandatory strings are present in delivered files matching certain file patterns.

I've tried all sorts of combinations of syntax for the file pattern and required text, but to no avail. Does someone have an example, or some doc that explains exactly how to configure this so it works?.


The precondition uses the Java regular expression syntax. There may be better examples out there, but this is what I use for reference: http://www.jdk5.ru/api/java/util/regex/Pattern.html

- Jared

0 votes


Permanent link
I'm trying to set up the Required Content precondtion for deliveries to ensure that some mandatory strings are present in delivered files matching certain file patterns.

I've tried all sorts of combinations of syntax for the file pattern and required text, but to no avail. Does someone have an example, or some doc that explains exactly how to configure this so it works?.


The precondition uses the Java regular expression syntax. There may be better examples out there, but this is what I use for reference: http://www.jdk5.ru/api/java/util/regex/Pattern.html

- Jared

Thanks Jared - I'll give this a shot.

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: Nov 04 '10, 12:53 p.m.

Question was seen: 4,933 times

Last updated: Nov 04 '10, 12:53 p.m.

Confirmation Cancel Confirm