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

Differences in the way empty directories are fetched using JBE vs API

We've found an issue in the way empty directories are handled during fetching.

Some of our RTC builds use the Jazz Build Engine to fetch files and this does not fetch empty directories in the source stream. However, some of our builds are run on TeamCity using a plugin that was written. This plugin is using java code which is what the RTC ant task "teamFetch"  uses:

            final LoadOperation loadOp = (LoadOperation) IOperationFactory.instance
            .getLoadOperation(handler);

This does fetch empty directories.

I'd like to understand the options in making this consistent:
1. Is there a way to make the JBE fetch empty directories?
2. Is there a way in java code to not fetch empty directories?

Thanks.

0 votes


Be the first one to answer this question!

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: Aug 02 '12, 12:56 a.m.

Question was seen: 4,593 times

Last updated: Aug 02 '12, 12:57 a.m.

Confirmation Cancel Confirm