Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic SYNERGY (steve huntington)
Decrease font size
Increase font size
Topic Title: Questions about project/sub-project binary & reference libraries managemente
Topic Summary: Project Topology Management : External resources (libraries) and local compilation
Created On: 12-Jan-2007 11:27
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
Answer This question was answered by Aitor Illarramendi, on Monday, January 15, 2007 7:25 AM

Answer:
Ups. I think that I had the answer in https://support.telelogic.com/...=Visual%20AND%20Studio Thank you all. Best regards.
 12-Jan-2007 11:27
User is offline View Users Profile Print this message


Aitor Illarramendi

Posts: 38
Joined: 20-Feb-2006

Hello:fficeffice" />>>

> >

We are reading all the tutorials and documentation but we don't have a clear reference about the issue I'll try to explain in the next paragraphs.>>

> >

Supose we have to work in a collaborative development mode for a project.>>

> >

Supose that we have two development environments (in order to simplify the problem we will make them independent):>>

> >

1.     .NET C# development and CM using Visual Studio .NET 2005 and SYNERGY/CM integration>>

2.     Java development using Eclipse 2.x (the one that works, don't remeber the version now) and SYNERGY/CM integration.>>

> >

Both cases are projects that are divided in several sub-projects for each software component unit. This SYNERGY/CM projects are managed with their corresponding IDE project for each IDE.>>

> >

The sub-projects are related between them. This is, any sub-project has "reference libraries" which are coming from compilation of source code of other SYNERGY/CM managed sub-projects in the same scenario.>>

> >

Both of the IDEs allow the developer to define a "bin" directory where the binary files will be created.>>

> >

During development phase, developers will work in their work area and "download" all the sub-projects they need in orther to work in the one they need and have locally the references to all the other projects they need.>>

> >

During this phase, the developer needs to make individual and local compilations in order to test the code (compilation testing, unit testing, ...). We are supossing that several developers could be working in the same sub-project too and that they need to make individual compilations in order to test their individual changes.>>

> >

For the case of VS Studio .NET IDE, the most common way is to work in Debug mode and to compile the project in a well defined binary path that should be common (in the relative or absolute path, this is one of the questions) for all the developers but local for all the objects (real files).>>

> >

This is the same case for the Java IDE, in order that we need to define a binary directory where locate compiled classes.>>

> >

But, as I've said for the VS Studio .NET IDE (applies too to the other IDE), in this development phase this concrete compilation files should be local for each developer.>>

> >

The developer has to update all the project and sub-projects. Then he/she has his/her source code and the code of other ones. Makes his/her changes. Checks them in and makes the compilation. The whole compilation of each sub-project. This compilation must be local or at least each user should have the possibility of making it locally, because:>>

·       if we decide to have this objects in the CM tool, we will have parallel version issues when a second developers makes the entire compilation.>>

·       if we decide to have this binary paths outside the CM tool:>>

o      we can't have a common remotely accesible binary path, because the last who does the compilation will be the last who defines de compiled libraries, so all are testing the last compiled code.>>

o      we can define that binary paths are outside the workarea and the project and sub-projects. This is, the IDE project has a local reference (common in the name but local to each machine) and the developer compiles there. This should work, but we are releasing some of the objects outside the workarea. We don't want to have control about intermediate debug individual compilations but, in the case of VS Studio, if we redirect the binary directory outside the workarea we can´t then have bin/Release compilations inside, and perhaps this ones are interesting for a build manager point of view.>>

·       We can tell to the project too that the files can be modified (project properties). This is used for Active/CM. In this case, we could have the binary directories inside the workarea. But, this doesn't work, at least the VS Studio 2005 and SYNERGY/CM integration gives an error.>>

·       Perhaps, managing properties/attributes of some directories and files tagging them with special tags that will give "lower punctuation" in parallel version check or that will allow not to be taken in account by the tool could be enough.>>

> >

Anyway, there should be a documented way of doing this. I've read about external projects and other solutions. But I think that this is not the same case.>>

> >

Any help?>>

> >

Need more specific explanations about the project and sub-projects configuration?>>

> >

Best regards.>>

Report this to a Moderator Report this to a Moderator
 12-Jan-2007 13:46
User is offline View Users Profile Print this message


Aitor Illarramendi

Posts: 38
Joined: 20-Feb-2006

One more thing. In the case that the project preferences are changed. This only applies for file modification enabling property on project preferences. But there is not "directory" modification feature. So I can assume that if I try to compile in a directory of the workarea I can have write problems. This is what VS Studio .NET 2005 says at least...
Report this to a Moderator Report this to a Moderator
 15-Jan-2007 07:25
User is offline View Users Profile Print this message


Aitor Illarramendi

Posts: 38
Joined: 20-Feb-2006

Answer Answer
Ups. I think that I had the answer in https://support.telelogic.com/...=Visual%20AND%20Studio Thank you all. Best regards.
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic SYNERGY forum.
There are currently 1 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 15:34.
There are currently 0 guests browsing this forum, which makes a total of 1 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.