Project

General

Profile

Dependency Zip Files

Added by Todd Forsberg almost 4 years ago

On a new "clone svn repo" I get an error opening a table.

P:\Projects\TheHammer\Hammer\Programs\Hammer3.exe
Can't open table. Table = P:\Projects\TheHammer\Hammer\Data\VDFCLS (1)

Error: 75
Error Source = Flexdrvr.Open

MSG_OPENTH3DB (11540) - oApplication (39) - at address 81283
[start] - at address 108550

I know what this is. I need to copy the contents of the Hammer-vdf12-dependencies.zip into my data folder.

My question is why?

Why not just put these files into the data folder and then commit them into the repo?

EDIT: I would also just drop the VDF7 Dependency Zip File. Too old.


Replies (3)

RE: Dependency Zip Files - Added by Wil van Antwerpen almost 4 years ago

The main reason is history.

With normal DataFlex workspaces having the data files under source control you get very noisy source control where you have to check in every time you save.
Unless you move the datafiles into an "ignore on commit" list.

With the Hammer this used to be true as well when it still had the editor data file.
That file has been replaced by the .hws file local to the workspace.

Your suggestion now starts to make more sense as the remaining files are not changing as much. Unless you add your own classes to the data files.
I will think a bit more about it what is the most elegant way.
Note the current datafiles are in the "daily" zip.

Meanwhile I moved the VDF7 dependencies to the Hammer2 branch.

Wil

RE: Dependency Zip Files - Added by Todd Forsberg almost 4 years ago

I always include empty datafiles in my repos. I never update them unless the data structure changes.

RE: Dependency Zip Files - Added by Wil van Antwerpen almost 4 years ago

Everybody his own I guess.

In this case however, the data is more important as the data structure.

The data structure is in the .DEF files which I normally check in for that purpose.
The script that I use to create a new subversion workspace adds, .def, .tag and .fd which is all you need to create new files.

Strange that there were no .DEF files, I created them and checked those in.

    (1-3/3)