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

Unable to checkin target folder of a Maven project from Eclipse Neon

 I am using Eclipse Neon (Version 4.6.3). Installed RTC 6.0.6.1 plugins of RTC client.

Shared the project before mvn install. hence target directory was not available when Sharing the project.
after running mvn install, target folder is created. This new folder is not appearing in pending changes view. I have checked the .jazzignore file & also ignore files from the Eclipse --> Preferences

How to checkin target folder of a maven repository.

0 votes

Comments

Is the new folder under the shared project? or is at the root of the sandbox?


Accepted answer

Permanent link
Somu,

I tried it with the latest version of the RTC and see the same behavior. This is a defect and I have raised the following work item: https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=511076

By the way, the scm cli shows the correct output using "scm show status" command. It lists the newly added folder and files as unresolved.
Chidambaram L selected this answer as the correct answer

0 votes

Comments

Thanks Shashi.

Will use cli. Though on an ideal Continuous Integration scenario with Maven, target folder would not be checked-in.
In my case, I need to check the binary into RTC. I will change the name of target folder using maven tasks & try to check-in.

The scenario I tried may have been a little different than yours.
In my scenario, I had a sandbox and I shared a folder under the sandbox to a component. Now I shared another folder from outside of the sandbox (using cli). This causes an out of sync scenario and any modifications under the new shared folder does not show up.
Do you see any out of sync in the pending changes view?


2 other answers

Permanent link
It is a root folder like src folder.

   

0 votes

Comments
It does not seem to be the root folder of the sandbox. It is a folder under your project. Did you refresh your sandbox? There is a refresh icon in the toolbar of the Pending Changes view. From the dropdown, select "Refresh Sandboxes and Remote Changes".

If the folder is indeed at the root of the sandbox, then you need to share that folder to the component.

Is there anything in the target folder that gets checked in? Empty folders do not show and you don't want to check in a compilation product anyway.

RTC does not check in folder, it only check in the changes to files.


Permanent link

 @spadur"Refresh Sandboxes and Remote Changes" was tried. But that folder did not show up in "Pending Changes" View.


@rschoon, folder has come content, apart from ignore list.

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

Question asked: Jul 01 '20, 6:00 a.m.

Question was seen: 3,814 times

Last updated: Jul 03 '20, 2:37 a.m.

Confirmation Cancel Confirm