Cory Foy

Monday, May 26, 2008

Serena Dimensions Redux

In a recent post I talked about being pretty disappointed with Serena Dimensions and its lack of strictly command line options. It appeared that no matter what you did, you still had to enter your credentials through the GUI pop-up box.

After reading through the 380+page command-line reference, I'm happy to report that I was wrong. The program is called dmcli.exe and takes in a variety of parameters. What worked for us was:

|C|dmcli.exe -user USER -pass PASS -host HOST -dbname DBNAME -dsn DSN -cmd FWI PROJECT:REV /USER_DIRECTORY=\"${srcroot}\" /NOTOUCH /OVERWRITE|EC|

where USER, PASS, HOST, DBNAME, SDN PROJECT, REV and srcroot are all whatever you would use. Right now I just have it forcing a build every hour in CruiseControl.NET, but eventually I'll write a wrapper to actually be able to check the repository for changes (assuming we continue to stick with Serena).

Thanks to the people in my last post who pointed out the command line guide.

0 Comments:

Post a Comment

Links to this post:

Create a Link

<< Home