Skip to main content
1-Visitor
September 8, 2018
Question

How to maintain a sub-project with the possibility of each checkpoint with different content?

  • September 8, 2018
  • 1 reply
  • 3479 views

Hi all

 

The main project (or parent project) I use have my application and also couple of sub-projects that is delivered externally. The sub-projects can have the folders, source files (mainly the .h, and I use the libraries from them) changes for each release, i.e. a folder can be renamed, removed similarly header files can be removed, renamed or new header files can be added. Now I create a new sub-project whenever I get a new delivery, so I have to always link the new sub-project to the parent project.

 

Is it possible to have one sub-project with a check-point, and the new delivery can be checked-in on top of the old check point, but just have the files and folders only based on the new delivery ? By doing this I don't have to create a new sub-projects every time and also the linking.

 

Thanks,

nkm2018

This topic has been closed for replies.

1 reply

12-Amethyst
September 12, 2018

Provided you have external_LIB1\project.pj

 

What do you mean with "linking"? Something like this

external_LIB1_V1\project.pj

external_LIB1_V2\project.pj

external_LIB1_V3\project.pj

+ working subproject as Integrity share to external_LIB1_Vx\project.pj or a build/checkpoint of it

external_LIB1\project.pj (1.3)

(see Subproject->Add Shared)

 

or "link" to new directory in your build system?

 

nkm20181-VisitorAuthor
1-Visitor
September 12, 2018

Hi @kthierer,

 

I think you are nearly right, however I'll explain the scenario bit more (also I'm new to integrity so please bear with me).

Main_Project.pj

 + My_app\project.pj

 + External_app_V1.0\project.pj

 

In the above Main_Project, External_app_V1.0  will have different contents to the External_app_V2.0 (this being the latest delivery of the same sub-project)

Therefore for every new delivery of External_app, there is a new sub_project created (with different names, mainly by using the version number attached to the name).

 

Ideally I want to use the one sub project External_app - so I don't have to create new sub-project and link them to Main_Project.pj every time.

 

 

5-Regular Member
September 12, 2018

You can have just one subproject External_app. With each new version, you can either update just the changed files, or you could just drop everything in the External_app subproject and add in the files and folders for the new version. It depends how different the versions are. 

I recommend creating a checkpoint with a descriptive label whenever you update the subproject. That way, it's easier to retrieve older versions of External_app if necessary.