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.
Accepted answer
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.
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
It is a root folder like src folder.
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.
Comments
Shashikant Padur
JAZZ DEVELOPER Jul 01 '20, 6:06 a.m.Is the new folder under the shared project? or is at the root of the sandbox?