Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Removing a component from repository

I am extending the Jazz repository.
However, anytime I make any changes to my schema I need to run repotools -createTables and then run repotools -import.

I was wondering if there is a way I can just remove the database corresponding to my component and then be able to recreate it using repotools -addTables.

addTables seems to work fine if I am installing the component the first time in the repository.

Thanks
- Vibha

0 votes



One answer

Permanent link
Removing the tables of a single component is not supported in RTC 1.0.
The best way to develop a component is with a test database so that the
entire DB can be thrown away and re-created as your model changes.

Once you model has stabilized to the point that it's useful, you should
add a migration handler to migrate your production data from one model
version to another.

Matt Lavin
Jazz Server Team


vssinha wrote:
I am extending the Jazz repository.
However, anytime I make any changes to my schema I need to run
repotools -createTables and then run repotools -import.

I was wondering if there is a way I can just remove the database
corresponding to my component and then be able to recreate it using
repotools -addTables.

addTables seems to work fine if I am installing the component the
first time in the repository.

Thanks
- Vibha

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,939

Question asked: Sep 03 '08, 5:28 a.m.

Question was seen: 6,400 times

Last updated: Sep 03 '08, 5:28 a.m.

Confirmation Cancel Confirm