NAnt runner - long command line parameters

Hello,

At the moment I try to get our NAnt scripts working with the NAnt runner. Those scripts expect a whole bunch of command line parameters (basically NAnt variables containing directory names). The problem is that the "Command line parameters" text field's maximum length is way too short.

Is there another way to enter the command line parameters? I suppose it would be a pretty trivial task to change the configuration files manually. Unfortunately, I just migrated to MySQL...

Best regards, Christian

2 comments

Hello,

TeamCity stores build configuration files in the filesystem. Thus you may
change them by-hand.
Please have a look at \config\project-config.xml Find element project/build-type[id="" and name="]]>"]/run-parameters/param[name="runnerArgs"]
and update it's innter text to patch command line. Remember to backup
previous fail version!
You do not need even to shutdown server. It will update all settings on-the-fly.

--
Eugene Petrenko
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

Hello,

At the moment I try to get our NAnt scripts working with the NAnt
runner. Those scripts expect a whole bunch of command line parameters
(basically NAnt variables containing directory names). The problem is
that the "Command line parameters" text field's maximum length is way
too short.

Is there another way to enter the command line parameters? I suppose
it would be a pretty trivial task to change the configuration files
manually. Unfortunately, I just migrated to MySQL...

Best regards, Christian



0

Please sign in to leave a comment.