It's all about the answers!

Ask a question

Excluding Files when Packaging


melchor balisi (26) | asked Jun 26 '19, 3:58 a.m.

 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.


Comments
Ralph Schoon commented Jun 26 '19, 6:30 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

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


melchor balisi commented Jun 26 '19, 7:35 a.m.

 Hi Ralph,


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

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


melchor balisi commented Jun 26 '19, 7:35 a.m.

 Hi Ralph,


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

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


Ralph Schoon commented Jun 26 '19, 7:56 a.m. | edited Jun 26 '19, 7:56 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

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! 


melchor balisi commented Jun 26 '19, 8:03 a.m.

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 


Ralph Schoon commented Jun 26 '19, 9:18 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

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

showing 5 of 6 show 1 more comments

Accepted answer


permanent link
melchor balisi (26) | answered Jun 28 '19, 2:52 a.m.

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

Comments
Ralph Schoon commented Jun 28 '19, 3:27 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

Thanks for sharing! 

Your answer


Register or 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.