PDA

View Full Version : Unattended Build Options: Versions to Build


EvRenesse
08-26-2008, 07:54 AM
Hi,

is there any possibility to select the "Versions to Build" within one single build configuration when using the unattended build process? I don't want to manually create build configurations for each possible combination of OldVersionX -> NewestVersion, when a lot of versions are available.

The option /CONST:<<ini file path>> allows to specify design-time constants, but i cannot see how to select the "Versions to Build" by design-time constants.

Thanks for every tip.
EvRenesse

Lorne
08-26-2008, 12:01 PM
I don't think there is a directive for that...that's a very good idea though, so we'll try to add that in a future version. REF: 17711

EvRenesse
08-27-2008, 02:20 AM
Hi,

thanks, i look forward to versions to come.

In the meantime i will use a workaround: The "Versions to Build" can be changed in the XML project file *.vp2. I use 'Visual Build' for my build process, and there is an action 'Write XML' to create or change values. The XPath to the 1st version to build is:

DocumentData/BuildConfigurations/BuildConfig/VersionsInBuild/VersionName[1]

The XPath to the 2nd version to build is:

DocumentData/BuildConfigurations/BuildConfig/VersionsInBuild/VersionName[2]

There are some problems with German Umlaut and the copyright sign, because the project files are made with the Ansi characterset. But by searching and replacing with Unicode coding like &#xxx; these problems can be solved automatically within the build process.

EvRenesse

Lorne
08-27-2008, 09:50 AM
Ah, excellent workaround! Good thinking EvRenesse.