Sparx Systems Forum
Enterprise Architect => General Board => Topic started by: Miroslav Fris on May 21, 2012, 05:42:10 pm
-
I woul like to remove VC controlled package. It is Checked out, also parent package is checked-out.
Only way I know is to remove the packagr from version control, but the XML remains in the repository as a garbage.
On menu it is not possible to delete such a package, the message says "It is checked out", but I don't understand why this is a reason I cannot remove the package.
Thanks
-
Have you tried with the latest version of sparx - think i spotted a remove from version control option has been added...you can then just delete the package ???
Regards,
Jon.
-
Removing from VC is a bad way - the *.XML file remains in repository as a garbage. I found the way anyway. The deleted package has to be Checked-in and the parent checked-out. After that it can be deleted. But I will have to explore if the corresponding XML file is deleted from the disk and from repository (after commiting).
I use Subversion.
-
Hi,
to remove a package from VC you have to make sure that:
- You have checked out parent package
- The package you want to remove from VC is checked in
- With Right Click on Package, Package Control, Resynch Status with VC Provider you can update package status in EA
Then select Package, Package Control, Configure, deselect Control Package.
Then you can delete the packe in EA and the XML-File with your VC Tool.
Good luck,
Helmut
-
The problem is we have to delete XML files manualy. We have hundreds of files in format s1231g2g2d132dfgd.xml - the option when each package is controlled. And the team is about 5 people.
It is very easy to make mistake and remove wrong file from disk /repository, because EA doens't solve this. And it is very hard to teach team members to manualy delete the correct file - unpossible.
So there is growing garbage of orphan XML files and I don't have any idea how to delete those XML files, which are not in model any more.
I see it as a gap in EA VC system.
-
I understand.
If it's important for you write a little Addin. This Addin checks for every *.xml file if it is used in EA and...
Kind regards,
Helmut
-
It is not a bad idea - shouldn't be so complicated. Meanwhile I wrote a support request to improve this to Sparx :-)