

May 28, 2007 from Owen:
Re: Sourcemason Free version 1.0.5.0
Question: Why don't I see compiled code after clicking compile?
Answer: SourceMason.Runner only shows the template output in the text area. Compile errors are
shown in the bottom window with the source line number of the template. In the intro
article the basic business object source is what is appearing in the text area (output window).
Question continued I'm not seeing any output at all in the Output window when clicking
Compile, only the output from clicking Run. As I say, I may be missing the point of Runner included
in the free version. Is it used only for testing a template's ability to compile, or should I be
receiving the finished code in the Output window?
Answer continued You will only get template output when you click run. You will not see any
output in the main window when you click compile. The only output that will appear when clicking
compile will be in the bottom window. SourceMason Studio will show you the template source and
generated code.
Question continued Thanks, that explains it. The first screenshot in the Intro article
appears to show the generated code, which is what confused me. Run just shows the text output,
eg "This is output from a master template, This is output from a sub template..." (no source,
just text). The free version can't be used for generating the resulting code, at least not in a
way that's usable in a project?
Answer continued Generated Code is created by SourceMason.Engine to run the template and
create the corresponding output. Even though this is only available through SourceMason.Studio
it is not normally the means used to automate code generation. To usual way to automate code
generation is through the use of the SourceMason Commandline tool included in the Standard and
Studio versions. With the Free version you will need to manually cut/paste the output to use in
the appropriate project.
Question continued Thanks for the clarification. I'm looking forward to seeing a trial of
Standard, or a longer trial period of Professional (current one finishes in two days). It will
really be worthwhile if MySQL support is added at a future date. It runs nicely with C#.
Answer continued We will be releasing another 30 day trial version in the next few days.
We are currently completing our licensing system, and when this is done a trial verison will
get 30 days from the date of download via a trial key. We are currently working on the Firebird
schema driver and plan to add the MySql and Oracle driver in the next few months.