views:

352

answers:

1

I'm trying out CCNetConfig (warning, website a little slow). Great app, one annoyance.

I can see in the documentation and even in the source code (Look at the end of the Initialize method) that I should be able to pass in a command line parameter to automatically load the configuration file.

I have tried:

-f E:\CruiseControl.Net\server\ccnet.config
-file E:\CruiseControl.Net\server\ccnet.config
-f=E:\CruiseControl.Net\server\ccnet.config
-file=E:\CruiseControl.Net\server\ccnet.config

And the same 4 switches with quotes around the file name just in case.

They all produce errors or just don't work. Has anyone had success doing this?

Thanks in advance.

A: 

Try moving it to a different path. Try the simplest thing: c:\ccnet.config.

I'm guessing it's the source of the problem because I recall CCNetConfig gave me sh!t early on when I tried to open files in paths that had spaces in them (e..g in Program Files).

Assaf Lavie