cancel
Showing results for 
Search instead for 
Did you mean: 

Two Developers Working On Same Portal Application DC

Amey-Mogare
Contributor
0 Kudos

Hi,

I want to know how it is possible when two or more developers work on same PAR DC in NWDI Track.

I have a Portal DC which has 10 components and I have 2 developers who will be working on 5 components each (in same DC)

I know that both developers can checkout respective components and work on them, but my question is how would we test entire 10 components?

Because if Dev-1 makes changes to Comp-1 to 5 and deploys and at the same time Dev-2 edits Comp-6 to 10 and deploys. What will happen?

How can we make sure that we can develop & deploy our changes and still ensure we dont overwrite each other's changes while deployment?

Thanks and regards,

Amey Mogare

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Amey

Yes two developers can check out same DC and work on different component in same DC.

But if u r deploying on same application server then , changes done by developer who is deploying on the server get deployed

e.g. Dev1 Changes 1 to 5 component and Dev 2 changes 6 to10 components

then when Dev1 deploys on the server , 1-5 changed and 6 to 10 unchanged components will get deployed

and when Dev2 deploys on the server , 1-5 unchanged and 6 to 10 changed components will get deployed on the server

regards

Kavita

Amey-Mogare
Contributor
0 Kudos

Ok...Then it doesn't solves my problem I suppose..

I understood this :-

Two developers can edit the files simultaneously but they cant deploy & test it.... And lets say even if I have two application servers for each of these developers to deploy there change... At last, its a sequential task for these two developers to merge their code!!!

Former Member
0 Kudos

Hi,

Both the developer can work on the same track track with out any problems,Before deploying the changes the developer has to sync the sources when he does that, the changes done by the other developer will now be available to him and change his sources and check-in to the server, the same way other developer can do.

So there will not be any problem.

Regards,

Vamshi.

Amey-Mogare
Contributor
0 Kudos

Hi Vamshi,

Thank you for reply. I got what you are saying.

Lets consider a scenario:-

1. In DTR's active workspace - there's a Version 1.0

2. Dev-1 checks out and syncs the code --> Version 1.a

3. Dev-1 changes the 5 components (and keeps rest 5 untouched)

4. Dev-1 checks in his activity

Now active version in DTR is 1.a

5. Dev-2 checks out and syncs the code --> Version 1.a.b

6. Dev-2 changes the 5 components

7. Dev-2 checks in his activity

Don't you think this is a sequential process rather than parallel?

Dev-2 cannot start his changes unless Dev-1 finishes his task n checks in.

This is exactly what my concern is.

Thanks and regards,

Amey Mogare

Former Member
0 Kudos

Hi,

Yes , you are right but it will be parallel. If the developer 2 sync's the sources then he will get the changes done by dev1.

and if dev1 sync the sources he will get the changes done by dev2.

Also while activating it will ask all the dependent activites to be activated, so it will deply all the changes made by dev1 and dev2 at the same time.

Regards,

Vamshi.

Answers (0)