I would like to customise certain aspects of the autoupdater build, by passing in arbitrary variables (in the same way that I can use --setvars with the main builder).

At the moment this doesn't work. I can work around it by setting environment variables and referencing them within the customiser using ${env()} but is there a neater way to send them in via the command line?

asked 31 Jan '13, 09:25

Paul%20F's gravatar image

Paul F
21337
accept rate: 0%


Unfortunately it is not possible. However, since autoupdate projects are relatively small, you can perhaps use write a small script to generate the XML file dynamically?

link

answered 01 Feb '13, 09:30

wojciechka's gravatar image

wojciechka ♦♦
7.8k61122
accept rate: 26%

Thanks,

This doesn't offer a great deal over the ${env()} approach, and the latter is less cumbersome to implement in our existing Ant build, so we'll stick with that for now.

(06 Mar '13, 06:44) Paul F
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×52
×22
×19
×3

Asked: 31 Jan '13, 09:25

Seen: 1,195 times

Last updated: 06 Mar '13, 06:44