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

Excluding Files when Packaging

 Hi,


We are trying to build an automated process where we are using Client Side APIs of RTC to perform build - package - deploy (UCD). At some point, there are instance we are to exclude several files during deployment. Is there a way to access or send the list of Files to be excluded using the API thru properties? RIght now, the only way we can add exclusion is to go the manual way of triggering packaging and going into the wizzard and exclude files 1 by 1 which I find it very slow and primitive.

0 votes

Comments

What packaging wizard are you talking about? Is that an RTC wizard? 

 Hi Ralph,


Yes, the part where you initiate/start creating a package to a pipeline.

Team Artifacts panel > Package > Right Click + Create Package.

 Hi Ralph,


Yes, the part where you initiate/start creating a package to a pipeline.

Team Artifacts panel > Package > Right Click + Create Package. 

I do not have that menu option in my standard RTC client. This is either an extension or an EE (Enterprise Extension) feature. Not sure. I don't know that API either. I don't know if it is EE RTC or even another API! 

Hi Ralph,


Yes, it's EE.We do trigger packaging thru the Plain Java API. We have all the options, but not the part where we can include/exclude files 

Sorry, I do not know how that works and the API.  

showing 5 of 6 show 1 more comments

Accepted answer

Permanent link

We've solved the problem.


So apparently, the documentation provided by is NOT correct.

We've added this Element in our build property prior to packaging:

team.package.common.exclude.binaries

Description says:

Resource filters to exclude: Specify a generic filter or a specific data set and member by name. To specify a generic filter, indicate the data set name and member name pattern in the following format:

DATA.SET.NAME(MBR) OBJTYPE(*)
    

To specify a specific data set and member by name, indicate the data set name and member name in the following format:

DSN1(MBR1)
    

A list of resource filters can be specified with each separated by a comma.


But the correct separator is Semi-colon, not Comma. So we've been trying the incorrect format.

Ralph Schoon selected this answer as the correct answer

0 votes

Comments

Thanks for sharing! 

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
× 12,019

Question asked: Jun 26 '19, 3:58 a.m.

Question was seen: 700 times

Last updated: Jun 28 '19, 3:27 a.m.

Confirmation Cancel Confirm