Book a Demo

Author Topic: Move or rename XMI-Files of Controlled Packages  (Read 3680 times)

Dieter Goetz

  • EA User
  • **
  • Posts: 43
  • Karma: +0/-1
    • View Profile
Move or rename XMI-Files of Controlled Packages
« on: March 14, 2014, 07:51:29 pm »
I am working with controlled packages and subversion. If a package is configured as controlled package renaming or moving the XML files requires to disconnect it from version control. But in this case all commit messages get lost.
If I want to keep the commit messages I have to move the XML file in the svn repository. But then I have to assign an existing XML file to a package. Is this possible?


Helmut Ortmann

  • EA User
  • **
  • Posts: 970
  • Karma: +42/-1
    • View Profile
Re: Move or rename XMI-Files of Controlled Package
« Reply #1 on: March 14, 2014, 08:10:31 pm »
Hi Dieter,

1. Remove package from version control
2. Delete package
3. Move *.xml file with SVN to new location
4. Import *.xml file

Helmut
Coaching, Training, Workshop (Addins: hoTools, Search&Replace, LineStyle)

Helmut Ortmann

  • EA User
  • **
  • Posts: 970
  • Karma: +42/-1
    • View Profile
Re: Move or rename XMI-Files of Controlled Package
« Reply #2 on: March 15, 2014, 12:40:01 am »
Hi,

sorry, forget this procedure. It doesn't work as expected.

The right one is:
1. Move package with svn to new location
2. Change package location in *.xml file.
3. Use an Addin or an DB-Tool to change path in *.eap or dbms

Helmut
Coaching, Training, Workshop (Addins: hoTools, Search&Replace, LineStyle)

Helmut Ortmann

  • EA User
  • **
  • Posts: 970
  • Karma: +42/-1
    • View Profile
Re: Move or rename XMI-Files of Controlled Package
« Reply #3 on: March 15, 2014, 12:52:27 am »
Hi,

I will try it and report about it.

Helmut
Coaching, Training, Workshop (Addins: hoTools, Search&Replace, LineStyle)