Book a Demo

Author Topic: Share SVN model  (Read 4956 times)

ArnPSA

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Share SVN model
« on: July 21, 2010, 06:36:19 pm »
Hello,
I have a model under subversion and I want to give it to someone else for him to see how UML works.
My problem is that he doesn't have access to the subversion server (and he won't), so I want to give him a SVN free .EAP How can I do that without configuring each package one by one by hand?

Thank you for your help.
« Last Edit: July 21, 2010, 06:36:43 pm by nono26152 »

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Share SVN model
« Reply #1 on: July 21, 2010, 07:51:41 pm »
Start with your .EAP file, check everything out.

then just give him a copy of the EAP file.  It will contain everything.

So long as he doesn't try to check-in he should be able to do everything he wants to "play" with UML.

After you've made his copy, check everything back in from your copy.

HTH,
Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

ArnPSA

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: Share SVN model
« Reply #2 on: July 21, 2010, 08:07:12 pm »
Thanks for your answer, it should do the trick for this time.

Any other "cleaner"/more professional  method to do it ?

Paul Lotz

  • EA User
  • **
  • Posts: 248
  • Karma: +1/-0
    • View Profile
Re: Share SVN model
« Reply #3 on: July 22, 2010, 02:11:24 am »
Paolo's suggestion is simple and clean--and the best way to do this.  Just give your .eap file to the person.  (You don't actually have to check everything out first--just make sure your packages are up to date.)  It doesn't get much simpler than that.

pH

  • EA User
  • **
  • Posts: 72
  • Karma: +0/-0
    • View Profile
Re: Share SVN model
« Reply #4 on: July 22, 2010, 02:18:25 am »
Export the EA model as XMI and other person can just import it to have really "svn free" model. You can also importxmi and then share the EAP.

thx,
pH
<a href="http://webuml.org"><img src="http://webuml.org/images/webuml-badge.png" alt="Set UML Free!" style="border-width:0"></a>

ArnPSA

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: Share SVN model
« Reply #5 on: July 22, 2010, 06:08:18 pm »
Thanks for your answers.

@Paul Lotz :
If I don't do a check out before sharing my eap the other person can not edit it. So it seems that check out is necessary.

@pH :
When I export my model (or a package) as XMI and then import it in another project it keep it on svn. And this branch is synchronized between the two project (as if it was a pointer to the same xml file).

It seems that check out project and share it is the best solution.
Or maube I missed something.

Paul Lotz

  • EA User
  • **
  • Posts: 248
  • Karma: +1/-0
    • View Profile
Re: Share SVN model
« Reply #6 on: July 23, 2010, 03:01:20 am »
"@Paul Lotz :
If I don't do a check out before sharing my eap the other person can not edit it. So it seems that check out is necessary."

Not true.  When the person opens the .eap file you send, EA will try to connect to the version control server, but since this isn't possible, it will open .eap file with the packages not version-controlled (necessarily!).  At this point the person can edit them to his or her heart's content.  Of course, the person won't be able to check in the changes, but then he or she would need version control for that.  Anyway, try it!  

pH

  • EA User
  • **
  • Posts: 72
  • Karma: +0/-0
    • View Profile
Re: Share SVN model
« Reply #7 on: July 23, 2010, 01:52:08 pm »
I am not sure what you meant by "it keep it on svn".
When you export a model/package, the destination where it gets export by default would be svn location. But that can be changed to any non-svn location on local drives. In such case it will be totally "svn free"

pH
<a href="http://webuml.org"><img src="http://webuml.org/images/webuml-badge.png" alt="Set UML Free!" style="border-width:0"></a>

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Share SVN model
« Reply #8 on: July 26, 2010, 04:02:48 pm »
Doesn't Project/Work Offline help?

Geert

ArnPSA

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: Share SVN model
« Reply #9 on: July 26, 2010, 09:38:07 pm »
No if I do Project/work offline, all my packages are still "on SVN" (there is still the little key on all packages) but I can then do a checkOut package by package and work on it. But for a professional use it's not great to say to our clients "you have to manually check out every packages to use our model".

For now the best method is still to do a checkout of all packages and then distribute the .EAP.

NB: It's easier/faster with EA 8 because I can do a checkout in branch wich I couldn't do with previous version.

Thanks for your answers !