Book a Demo

Author Topic: Version control - path to local copy?  (Read 3763 times)

Guillaume

  • EA Practitioner
  • ***
  • Posts: 1403
  • Karma: +42/-2
    • View Profile
    • www.umlchannel.com
Version control - path to local copy?
« on: April 24, 2008, 01:49:37 am »
Hi,

I'm using version control with Subversion/EA

I have an interface element in my model to which I'm linking word documents that are stored in the SVN repository.
I need all users to be able to launch this file and to do so, I need to specify their local working copy path.

This is set in the Version Control Settings > Local Working Path (e.g. C:\SVN\MyProject\)

The system environment I created with the uniqueID value points to the SVN url, not my working path
So, is there a way in EA to relate to this value stored in the version control settings?

I hope it makes sense...

Thanks
Guillaume

Blog: www.umlchannel.com | Free utilities addin: www.eautils.com


peter.zrnko

  • EA User
  • **
  • Posts: 253
  • Karma: +0/-0
    • View Profile
Re: Version control - path to local copy?
« Reply #1 on: April 24, 2008, 06:50:30 pm »
Look at "Local Paths". It's for paths to generated files but it could work also for linked files.
Peter

Guillaume

  • EA Practitioner
  • ***
  • Posts: 1403
  • Karma: +42/-2
    • View Profile
    • www.umlchannel.com
Re: Version control - path to local copy?
« Reply #2 on: April 24, 2008, 08:24:45 pm »
Hi

I checked the local paths and the version had already created one but it doesn't work with the Files tab in my interface element for some reasons.

In Local Paths:
TEST = C:\Project\Test

When I select my local file in the Interface Files tab, the full path is:
C:\Project\Test\Docs\test document.doc

With this path, the file opens ok.

When I change the path to \%TEST%\Docs\test document.doc or %TEST%\Docs\test document.doc, it doesn't open the file

It eventually opens a folder but if I've specified more than 1 file using different folders, it only opens one of the folder so not the expected behaviour...

Any help will be appreciated.

thanks
Guillaume

Blog: www.umlchannel.com | Free utilities addin: www.eautils.com