maandag 18 april 2011

Exporting to separate files

By default, when you export your sources from a Uniface repository you get one big file with all the objects that fit the profile. Sometimes you may need separate files for each object. There is a simple way of achieving this.
(This works for Uniface 8 and 9)

Step 1:
Go online and find a free version management tool that is SCCI based.
You do not need to install it if you just want clustered exports, you just need the .DLL.
(I use igloo.dll)

Step 2:
Goto Utilities -> Preferences -> System
Enter the location of the DLL.

Step 3:
Press the Clustering… button.
Adjust the settings to your own taste.

Step 4:
When doing an export, make sure the option Use File Clustering Defaults is checked.

Step 5:
Check your result.

woensdag 13 april 2011

Uniface Open Source

I have been making and distributing Uniface samples and utilities for a while now.
Usually upload these to my www.box.net account.
Then I "spam" the link to my blog, www.uniface.info, the Uniface Group on LinkedIn and the Uniface page on Facebook.
This works pretty well, I am getting a nice number of pageviews and downloads.


But since making these samples and utilities is something that I do in my spare time, they are never perfect, and I cannot offer support on them.


Every now and then somebody mails me an improvement, for which I am very gratefull.
But it made me think that there must be a better way.
I do not want to own and maintain my own website so a public open source platform might be an interesting idea.


I am a total novice at this, but I gave it a first try on SourceForge. You can find the CompileMaster that I published last week also on SourceForge.


Any idea's on how to proceed with this are more than welcome.

vrijdag 8 april 2011

Change entity, compile forms

It is something all experienced Uniface developers know:
If you change an entity you must recompile all Uniface components where it is painted on.
Uniface uses the entity definition as found in the first component that opens the table.
It is very easy to forget a component, and it takes a long time to compile the entire application.

My colleague Karl Janowiak has made an excellent tool to help you with this.

It checks the last compilation date of the component against:
   - Last modification date of the component
   - Last modifcation date of the subtype
   - Last modification date of the entity
   - Last modification date of any of the fields of the entity

Press the download button to get a zip file with a Uniface export and a readme file.

Thank you Karl !