This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- Re: Using build properties XML file
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 03, 2008
12:44 PM
Using build properties XML file
Hi
I have modified the BuildProperties.xml file by uncommenting the build output property and setting it to the path I want. I then included the 'propertesfile' attribute in the ANT task and set that to the full path to this file. But when I run the task, the properties file does not appear to be read as the setting gets ignored.
Can anybody help?
Thanks
D
I have modified the BuildProperties.xml file by uncommenting the build output property and setting it to the path I want. I then included the 'propertesfile' attribute in the ANT
Can anybody help?
Thanks
D
(5) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 03, 2008
01:47 PM
As a test, does it work if you run the command-line builder outside of the Ant task?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 04, 2008
05:39 AM
Hi
I ran that test you suggested but still no joy. The template syntax looks suspect to me - can't be simply a matter of uncommenting the line for the property you wish to set and changing the value.
Besides, the error I get is:
The reading of build settings properties file failed
Error: Element type "BuildOutputLocation" must be followed by either attribute specifications, ">" or "/>".
All I've done in the properties file is change this section (but this doesn't look syntactically correct to me - so what is correct?):
Thanks for your help,
D
I ran that test you suggested but still no joy. The template syntax looks suspect to me - can't be simply a matter of uncommenting the line for the property you wish to set and changing the value.
Besides, the error I get is:
The reading of build settings properties file failed
Error: Element type "BuildOutputLocation" must be followed by either attribute specifications, ">" or "/>".
All I've done in the properties file is change this section (but this doesn't look syntactically correct to me - so what is correct?):
Thanks for your help,
D
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 04, 2008
12:24 PM
Does it work if you just use:
BuildOutputLocation="C:\Temp\testANT\output"
(that is, remove the surrounding angle brackets, BuildOutputLocation being an attribute of the build element)?
BuildOutputLocation="C:\Temp\testANT\output"
(that is, remove the surrounding angle brackets, BuildOutputLocation being an attribute of the build element)?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 18, 2008
03:53 AM
even this is not working.. 😞
how to build ,such that... it will output the install.exe to specified location
how to build ,such that... it will output the install.exe to specified location
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 17, 2010
09:57 AM
Don't want to bump an old thread, but it was the first item when I searched the Knowledge base. The sample file given is faulty xml. You need to remove the > after build and remove all the comments. You want something like this:
OverrideAllPlatformSettings="true"
BuildLinuxWithVM="false"
BuildLinuxWithoutVM="true"
BuildAIXWithVM="false"
BuildAIXWithoutVM="true"
BuildSolarisWithVM="false"
BuildSolarisWithoutVM="true"
BuildHPUXWithVM="false"
BuildHPUXWithoutVM="false"
BuildNamedUnixWithVM="false"
BuildNamedUnixWithoutVM="false"
BuildUnixAll="false"
BuildMacOSX="false"
BuildWindowsWithVM="false"
BuildWindowsWithoutVM="true"
BuildPureJava="false"
UnixDefaultUI="Console"
WindowsDefaultUI="GUI"
BuildWebInstaller="false"
BuildCDROMInstaller="true"
BuildMergeModule="false"
BuildReadOnlyMergeModule="false"
BuildWorkdirLocation="cdWorkDir"
OptimizeCDROMInstaller="true"
InstallerStdOutRedirect="InstallBuildOut.log"
InstallerStdErrRedirect="InstallBuildErr.log">
OverrideAllPlatformSettings="true"
BuildLinuxWithVM="false"
BuildLinuxWithoutVM="true"
BuildAIXWithVM="false"
BuildAIXWithoutVM="true"
BuildSolarisWithVM="false"
BuildSolarisWithoutVM="true"
BuildHPUXWithVM="false"
BuildHPUXWithoutVM="false"
BuildNamedUnixWithVM="false"
BuildNamedUnixWithoutVM="false"
BuildUnixAll="false"
BuildMacOSX="false"
BuildWindowsWithVM="false"
BuildWindowsWithoutVM="true"
BuildPureJava="false"
UnixDefaultUI="Console"
WindowsDefaultUI="GUI"
BuildWebInstaller="false"
BuildCDROMInstaller="true"
BuildMergeModule="false"
BuildReadOnlyMergeModule="false"
BuildWorkdirLocation="cdWorkDir"
OptimizeCDROMInstaller="true"
InstallerStdOutRedirect="InstallBuildOut.log"
InstallerStdErrRedirect="InstallBuildErr.log">
![](/skins/images/A5EADE085F77DE82FB3B14D6B307AE6A/responsive_peak/images/icon_anonymous_message.png)