After 25 years of working with computers and programming I really should know that things rarely, if ever, take the time that looks reasonable! No such luck, I still haven't got it;)

I started the day by sleeping in! Figured I might as well give my brain some rest before digging deep into version control. It was nice, but in the end I'm not sure it helped much!;)


I decided to start by installing VisualSVN Server on the machine where I have the SVN server installed. It told me that it would install Apache, so I stopped it and made a copy of my Apache install and created a restore point in case it messed up my existing Apache install. Ran the install and it went through without any problems and I choose all the default settings. I was able to access my repository without any problems and everything looked very good.

I added a user, very originally called "Arnor" and life was good. That is until I ran TortoiseSVN and tried to create a folder in one of my repositories and got an error about not having access to do that. I checked the user authentication files that TortoiseSVN creates and realized that VisualSVN was not touching those files at all and whatever VisualSVN was doing, TortoiseSVN was completely ignoring. After some head scratching I found that VisualSVN was creating the user files in the root of the repository (see screenshot above) and they did not look like they even had the same format as the TortoiseSVN files in the "conf" folder under each repository, see screenshot below.

After some more head scratching I decided to just skip this user authentication stuff in VisualSVN and copy the authentication files (see screenshot on the right) from TortoiseSVN to all my repositories. Growing up with DOS and BATch files came in handy when copying those files into 16 other repositories!

This got me going so I could now connect properly to my repositories and start messing with TortoiseSVN. I've spent the rest of the day trying to come to grips with TortoiseSVN. One of the design questions is about files and folders that perhaps should be ignored. For example all generated files are placed into subfolders, such as z-clw, z-inc, z-obj32, z-lib etc. This makes it very easy to do a clean compile, just delete all files from those folders and compile! But the question is should they be excluded or not? I'm not 100% sure yet. There are certainly advantages in keeping the generated source files (.clw and .inc) in case of an emergency corruption or something like that. But on the other hand rebuilding an application from clw and inc files would be a heck of a lot of work - besides I do have backups of the original sources outside of the version control. So I'm leaning toward ignoring all generated files.

Setting up the ignore list in TortoiseSVN is confusing. You can set it via properties and use the svn:ignore and check the "Apply property recursively" but it doesn't seem to work recursively on folders or, more likely, I'm not finding the right combination of folder name/wildcards or the right syntax. It appears that forward slash should be used in paths in the ignore list rather than backslash, but it doesn't seem to make any difference for me. Files in those folders are still versioned. For now I will just use the manual method. It is painful and it is easy to miss folders of test apps, but so be it. I can't spend days on chasing down information on software that is not well documented to start with, although it has to be said that TortoiseSVN has better documentation than just about any other open source project I have tried - one reason why I shy away from open source projects.

So, all counted, I'm getting there but by no means done! I've given myself until Monday morning to get this set up and done. I'm really glad I'm messing with this on a virtual machine where I can't mess anything up:)

Monday afternoon I'm heading to Redmond for a .NET user group meeting where John Stallo, who is a Lead Program Manager on the Visual Studio LightSwitch product team, will talk about LightSwitch which is being released into first beta on Monday! I'm excited about this product and think it may be what I had hoped that Clarion.NET would be.

Arnor Baldvinsson

After spending couple of days arranging over thirty thousand files into the new folder structure, I spent today going throug Build Automator scripts and editor projects to change paths from the old source paths to the new ones. Tedious, error prone and utterly boring but had to be done!


Tomorrow I will finally get to start setting up the version control.

I'm using the latest builds of Subversion and TortoiseSVN. Yesterday I got a suggestion about using VisualSVN Server as management program for the Subversion repositories. Installing VisualSVN will probably be the first thing I do tomorrow to see how it works and then move on to get the repositories set up. Then it's on to finish setting up the repositories (I have most of them set up already) and get this thing all working nice and smooth!

Once I have all of this up and running, I will do a series of blogs about how to set this up. I am NOT an expert on this and have been fortunate to have some people in the Clarion community help me out, most notably Rick Martin, who did a webinar on this very subject on June 5, 2009 at Clarion Live (View webinar) and another one on August 6, 2010 (View webinar) Rick gave me some good ideas on how to set up the folder structure and I'm very grateful for that!

Why do I need version control? Good question! Stay tuned for the answer:)

Arnor Baldvinsson

Microsoft has just released the first beta build of Visual Studio LightSwitch to MSDN subscribers. You can find it at the MSDN download site under the "New Downloads" section and then under "Visual Studio 2010". The full DVD image download is 507MB.

For more information about LightSwitch visit the Microsoft LightSwitch page. Watch the keynote presentation where, Jason Zander, Corporate Vice President, Visual Studio, announces a new addition to the Visual Studio product line. There are also couple of other videos that go a bit further demonstrating the product, but they all deal with exactly the same scenario so they repeat a lot of stuff.

LightSwitch is a new developer tool that makes creating business applications easy. In many ways it is like Clarion for SilverLight. We are looking forward to taking a good look at this too during the beta cycle and I am downloading beta 1 as I write this!

Arnor Baldvinsson

In the past couple of days we have been getting spam from... well... us...B) Not really, but someone out there is sending spam with the support@icetips.com in the From header, like:

From: "icetips.com" <support@icetips.com>

The real sender is from industryd0463@resaleworld.com or some other name at resaleworld.com, but even this is bogus. I have been in touch with them and they assured me that this email address does not exist on their servers and has nothing to do with them. In my case the URL in the email is pointing to http://www.bims.web.tr/index2.html which can't be resolved, and pinging it says it can't be found, but the .tr country extension belongs to Turkey.

The content of the email is text indicating that your account needs to be attended to with a link, something like this:

"REFERENCE: Your Email to .

You recently sent email to a mailbox that requires authentication of the sender to reduce spam. Before your message can be delivered you must confirm that you are the sender by clicking on the link below and then clicking on the "Deliver" button that will be displayed. Once you have completed this step, no further authorization will be required for future emails that you send to this address.

Please confirm your email by visiting the URL

Thank you for your cooperation in helping us to fight spam.

Regards,
icetips.com Account Services
-------------------------"

So if you get an email like this, you can be absolutely sure that it has nothing to do with us and did not come from us!

Arnor Baldvinsson

We have made Clarion 7.2 compatible builds of all our products available for download from our website. You can now go ahead and download the new installs. All subscribers should have received an email from us with the download links. If you haven't please check your spam filter and if you still haven't received it check the email address in your Icetips account or drop me an email to let me know:)

You need to have a valid subscription to be able to download the installs. If you need to renew your subscription, please go to http://www.icetips.com/renewsubscriptions.php and purchase a renewal. If you do not have an Icetips Subscription, please go to http://www.icetips.com/subscribe.php to purchase.

Arnor Baldvinsson

Softvelocity released Clarion 7.2 yesterday (Friday, June 4, 2010). As I started testing with it this morning, I immediately ran into an old problem with the #RUNDLL template statement which I use in various places in our templates. This was fixed in 7.1 (or around 7.1 somewhere) but before that it would show a harmless GPF message in the output window but would not cause any issues. Well, that was not the case now as it would make the IDE become unresponsive and it had to be killed with the task manager. So this had to be fixed or worked around one way or the other!

After messing with this for a while and not getting anywhere with it, I decided to bite the bullet and reconstruct my old Borland C++ dll in Visual C++ as I have suspected that there are some incompatibility issues between Clarion 7 and the DLLs created by my old Borland C++ compiler. And lo and behold it fixed the problem! Now the new clean installs work perfectly!

I am currently rebuilding all the installs with the new dll and will finish that tonight and will resume testing in the morning. All new builds of our products will be available some time tomorrow!

Arnor Baldvinsson

The past couple of weeks have been on the difficult side for me as I had a bit of a cold and as sometimes happens to me I ended up with an eye infection for most of last week, which does not help with productivity in front of a computer screen! I got a good rest this last weekend and fortunately this nasty infection seems to be completely gone now!

On March 15, we released new builds of all of our products, mainly maintenance for Clarion 7.1 support. We also released a new build of our Runtime which is used by our templates. Unfortunately some of our installs that we released on the 15 had the wrong runtime DLLs, so I suggest that you download the latest build to make sure that you have the correct DLLs. Nothing serious is going to happen if you have the wrong ones and they will be replaced with new builds soon. Note that those runtimes are only used in the templates in the Clarion IDE and have nothing at all to do with what you need to distribute with your applications.

I have been working on further documenting the Utilities and there will be a release early next week with more updates. Currently I'm working on the Controls Class and the File Search Class. I have also been working on research and alpha testing on a new Utilities product, but it has been slower than I had hoped so I'm not planning on a beta release until around the middle of April.

Arnor Baldvinsson