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

Correct way to add to source control a nested Gradle Project

Hi everybody

We are having some troubles trying to add to source control multi-project gradle projects.

They are nested in a father project that contains inside all the children:

--Credit
 --Credit-Bussiness
 --Credit-Dao
 --Credit-Entity
 --Credit-Services

When we try to add these projects to source control the change-set is assembled ok, but when we try to download it we have a trouble, if we select the parent project, only downloads the parent project, and if we try to load the child project we have a conflict trying to do it.

Any idea of the best way to add to source control this projects?

Thanks in advance
Rafael H.

0 votes


Accepted answer

Permanent link
Eclipse does not support nested projects. You can share the top level project as Eclipse project. You can ignore all the .project files and load the folders as projects. This is the same issue that Maven creates, ignoring the limitations with Eclipse projects.
Rafael Hernandez selected this answer as the correct answer

0 votes

Comments

 Hello Ralph thaks for the help, i resolved it, i had to convert gradle project to Flat, now the project structure is:


 --Credit-Core (Contains all the top level builds)
 --Credit-Bussiness
 --Credit-Dao
 --Credit-Entity
 --Credit-Services

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
× 19

Question asked: Aug 01 '16, 7:17 p.m.

Question was seen: 2,405 times

Last updated: Sep 08 '16, 12:12 p.m.

Confirmation Cancel Confirm