[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

SVN question

From: Luca Zorzi <lzorzi_at_atomat.com>
Date: Thu, 28 May 2009 16:44:32 +0200

Good morning,

I need help support.

Info: Windows XP Sp3, TortoiseSVN 1.6.2.16344, VisualSVN-Server-1.7.2.

I have to put under version control four projects: a main project and three
sub-projects. Every project has its repository, cause we need different
revision numbers between projects. Main project is composed by some files
from other subprojects: this seems to be unattainable.

Let me explain a simplified sample, the project/subproject structure is a
bit complex compared to the samples that I've seen (comments are pre-fixed
with # character).

 

 

# Main project which refers to:

# -libraries (single file es. scripting.dll)

# -features (composed by files stored in a specific structure es.
Features)

\MainProject

   Application.exe

   Application.ini

   scripting.dll # This is the
library generated by ScriptingProject

   \Features

      \Feature1

         fea1main.ini # Only this file
belong to MainProject, the others below are references from other projects

         fea1main.bat # >From BatProject

         \sub-features1 #

            fea1sub1globals.bat # >From BatProject

            fea1sub1functions.bat # >From BatProject

            fea1sub1others.com # >From ComProject

         \sub-features2 #

..

 

 

# Scripting project which generates library scripting.dll needed by
Application.exe (without dll Application.exe won't run!)

\ScriptingProject

   Scripting.sln

   Scripting.cs

   \Release

      scripting.dll # This library is
referenced in MainProject (note1)

..

 

 

# Com project which contains com files

\ComProject

   \Features # >From here, the
structure corrispond to MainProject\Features (note2)

      \Feature1 #

         \sub-features1 #

            fea1sub1others.com #

..

 

 

# Bat project which contains bat files

\BatProject

   \Features # >From here, the
structure corrispond to MainProject\Features (note2)

      \Feature1 #

         fea1main.bat #

         \sub-features1 #

            fea1sub1globals.bat #

            fea1sub1functions.bat #

..

 

Notes

Question1 (refer to Note1): I need to refer to a specific file revision,
with svn:externals there's a problem: MainProject needs to refer to
scripting.dll stored in ScriptingProject, external files references works
only in the same repository. I found only an alternative solution but it
refers to a kind of links that Windows doesn't support. Any suggestions?

Question2 (refer to Note2): I need to refer to a specific folder revision
and the destination for BatProject and ComProject is the same, with
svn:externals there's a problem: can't exists the destination folder
(doesn't matter I can move fea1main.ini within BatProject or ComProject) and
the last external were updated correctly but the previous were removed.
Alternatively, I've tried to use svn switch instruction, but it updates
files contents only if the file exists in both repositories (from .. to ..)!
It's really a hard solution to maintain, we go a lot of files and the number
of them could often change. Any suggestions?

 

Thanks for all.

 

Luca Zorzi.

Questo messaggio e' di carattere riservato ed e' indirizzato esclusivamente al destinatario specificato. L'accesso, la divulgazione, la copia o la diffusione sono vietate a chiunque altro ai sensi delle normative vigenti, e possono costituire una violazione penale. Nel caso abbiate ricevuto questo messaggio per errore siete tenuti a cancellarlo immediatamente confermando al mittente, a mezzo e-mail, l'avvenuta cancellazione. (Legge Italiana 196/2003). This e-mail is confidential and is for the intended recipient only. Access, disclosure, copying, distribution or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and email confirmation to sender. (Italian Law 196/2003).

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2356196

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-05-28 16:51:10 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.