[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: How is svn work with ModelMaker?

From: Martin Tomes <lists_at_tomes.org>
Date: 2004-12-24 15:26:59 CET

Diviner wrote:
> Martin Tomes,
> At the moment, I am no idea to manage versioning about ModelMaker,
> even I have less experience in SubVersion/cvs also. All the idea I just get
> from several document only.
> - When using project bundles it is sufficient to add the <model>.mpb file
> to version control... (exact wording in manual)

I add this and the generated source code.

> - Strongly suggests put the new code on ModelMaker (Model Code) then
> apply it to Delphi unit. Keep this cycle in whole development;

I do this too!

> - Itís a good idea to use a version control system and put the model files
> under version control too. Although a model contains everything that is
> needed to (re-)generate the source files...(exact wording in manual)

See above, put it all under revision control.

> - If some new coding is added in Delphi IDE but has somethings wrong there,
> ModelMaker will not import from Delphi. So if you don't aware, and
> re-generate again, the code in Delphi will be lost! (Oh... horrible!!)
> What I read from manual are:

If you work in ModelMaker and put both the model and the code in version
control then the code will be OK - i.e., ModelMaker will be able to
understand it as it generated it.

The ModelMaker docs. assume version control with locks (coming in 1.2)
which allows you to serialise changes to the model file (which is non

If you have several people working on the same code at the same time either:

   - Each have your own separate ModelMaker model files, then there will
never be a need to merge a model.
   - or, use the same ModelMaker files but when there is a conflict
revert the file, merge the generated files, ensure they compile in
Delphi and then re-import them into the model.

Have a great Christmas.
Martin Tomes
echo 'martin at tomes x org x uk'\
  | sed -e 's/ x /\./g' -e 's/ at /@/'
The Subversion Wiki is at http://www.subversionary.org/
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Dec 24 15:29:01 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.