≡ Menu

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.

Comments on this entry are closed.

  • Anonymous June 23, 2009, 10:14 am

    Hi Cory
    Have you ever gotten around to creating the wrapper to detect changes in Serena Dimensions?
    If you have I would love to see a sample, as we are beginning to set up cruise control to work with Dimensions after we upgraded from PVCS.
    Thanks, Anja
    Denmark

  • David February 23, 2010, 9:14 pm

    Do you know how comes PVCS sometimes increments the revision by dots instead of the next integer number?

    Thanks, David.

  • Paul Wardle August 18, 2010, 3:21 am

    Hi Cory,

    I am interested in seeing your solution for CruiseControl.Net. We are trying to get an automated build working with Dimensions; this may save me hours of work!!

    Anja – did you ever get this working??

  • ong jun ming March 28, 2012, 11:22 pm

    Hi Cory,

    i am working on an automated build to work with Dimensions. I am keen on your solution, would you be able to guide me along?

    Thanks.