lbsa71.net Just another WordPress weblog

23Apr/090

Installing the JChem Server as a service on Windows Server 2008

The JChem installation instructions points you to using srvany.exe to wrap the server.bat startup script.

Srvany is the old (pre-Vista/2008) way of wrapping any exe or cmd in a service container. (This is needed to provide the service start, stop, pause hooks that services need, and normal exes don't provide)

On Windows 2008 Server and Windows Vista, Instad of installing the server using srvany.exe, you simply create a Scheduled Task that is set to trigger on system startup.

Program/Script should be the
ChemAxonJChemcartridgeserver.bat
argument simply
start

Be sure to specify startup directory
ChemAxonJChemcartridge

and "run wheter user is logged on or not". You should be able to run the task as SYSTEM.

In Task "Properties/Settings" I would suggest you set "run task as soon..." to true, and specify failure recovery policy.

22Apr/090

Using TIBCO Designer with SVN

Since TIBCO Designer doesn't support ignoring .svn, here's how to do it:

http://unentangled.net/posts/use-svn-with-tibco-designer/

Also, here's how to retain SVN history when renaming objects:

http://unentangled.net/posts/retain-svn-history-with-designer/

9Apr/092

Nunit, Custom CategoryAttribute and ReSharper testrunner

JetBrains recently announced the new ReSharper 4.5.

One of the bugs that was fixed in this release, is that the testrunner now correctly displays custom NUnit categories based on CustomAttribute.

Custom NUnit categories is very useful for grouping tests in the same solution, so that you can manually choose what group to run (unit tests, database tests, system tests) - or set a job up that tests using the /exclude and /include command line switches on the runner.

Of course, various other NUnit runners have been honouring subclassed categories since the feature was introduced in NUnit 2.4, but it's nice to have it in my favourite runner.

Filed under: Programming 2 Comments
   

Pages

Categories

twitter.com/lbsa71

    Blogroll

    Comics

    Meta