a show stopper when loading a project from a par file to an existing ctier

1 view
Skip to first unread message

raphy

unread,
Nov 8, 2009, 10:28:58 AM11/8/09
to ControlTier
Hi

I am using ctier 3.4.6
I think that I found a bug in the way projects are either deleted
using workbench or are loaded from a par file.

I have done the following:

I have a working project which is quite big. I have made a backup of
it a few weeks ago, and continued to work on the existing version
adding types and object. Now for a good reason I decided I wanted to
go back to my backed up version.

I have deleted the currently existing project and reloaded the par
file from the backup on my computer.

When I try to do ctl-depot install, I get an error because the ctl-
depot is trying to load objects that were created after I have made
the backup par. I found that the deployment.properties file(taken
from the webdav) are not removed when I delete the project and are not
replaced when I load the new par.

This is a very pain full bug, because it requires me to start from a
clean ctier version.

Is there a work around for that? Is it solved in the newer versions?

Thanks

Raphy

Alex-SF

unread,
Nov 8, 2009, 10:54:25 AM11/8/09
to ControlTier
Hi Raphy,
You'll need to clean up your local CTL depot's if you are rolling back
the project model. You can do this in a couple ways.
One way is to purge all the objects and then re-run install:
ctl-depot -p demo -a purge
ctl-depot -p demo -a install

Alternatively, you could use ctl-depot's strict option "-S" with the
"install" action:
ctl-depot -p demo -a install -S
This will run "Install" on all registered deployments for that Node
but then purge the ones that are no longer registered there.
Reply all
Reply to author
Forward
0 new messages