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
- :
- How works InstallAnywhere Ant Task with Bundled VMs?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
‎Sep 11, 2009
04:11 AM
How works InstallAnywhere Ant Task with Bundled VMs?
Hi,
I'm trying to use the ANT Task to build my project on a build machine.
I would like to use bundled VMs.
I want to use bundled VMs that I download from my config management server.
I want to keep empty the/resource/installer_vms directory.
I tried to set in the buildinstaller task:
but I got this:
[CODE]
[buildinstaller] Building Linux (VM) web installer...
[buildinstaller] Adding other errors: Unable to retrieve VM pack executable path from: SunJRE160_12LinuxINTEL.vm
[buildinstaller] Build failure: Error Generating the Linux with VM Installer.
[buildinstaller] java.io.IOException: Path to executable in VM Pack is missing
[/CODE]
I also tried to put only the path to the folder when is the bundled VM as the name path would suggest. But I got the same result.
Interestingly, once I put the VM in the/resource/installer_vms.
it works but only if the path is the path that contains the vm name.
So what is the use of this parameter if it cannot be used?
Also I tried to use the configuration element I got the same issues and besides as I have a platform with too different VMs, I'm not able to set as in the iap_xml file the output folder. It creates for instance Linux and Linux_1
Document is very poor as usual. 😞
Could someone help me on this?
Thanks,
X.
I'm trying to use the ANT Task to build my project on a build machine.
I would like to use bundled VMs.
I want to use bundled VMs that I download from my config management server.
I want to keep empty the
I tried to set in the buildinstaller task:
BuildLinuxWithVM="true"
LinuxVMPackLocation="${bundled_vm.dir}/SunJRE160_12LinuxINTEL.vm"
but I got this:
[CODE]
[buildinstaller] Building Linux (VM) web installer...
[buildinstaller] Adding other errors: Unable to retrieve VM pack executable path from: SunJRE160_12LinuxINTEL.vm
[buildinstaller] Build failure: Error Generating the Linux with VM Installer.
[buildinstaller] java.io.IOException: Path to executable in VM Pack is missing
[/CODE]
I also tried to put only the path to the folder when is the bundled VM as the name path would suggest. But I got the same result.
Interestingly, once I put the VM in the
it works but only if the path is the path that contains the vm name.
So what is the use of this parameter if it cannot be used?
Also I tried to use the configuration element I got the same issues and besides as I have a platform with too different VMs, I'm not able to set as in the iap_xml file the output folder. It creates for instance Linux and Linux_1
Document is very poor as usual. 😞
Could someone help me on this?
Thanks,
X.
(2) Replies
‎Oct 02, 2009
03:14 PM
Same issue but for Windows VM pack. And I've read many similar complaints. Does this parameter to the build task actually work or not (seems that it doesn't)?
The documentation for the buildinstaller ant task is...cursory at best...
In fact, the documentation for the entire product is kind of a joke.
The documentation for the buildinstaller ant task is...cursory at best...
In fact, the documentation for the entire product is kind of a joke.
‎Oct 02, 2009
08:29 PM
I had the same issues as you guys. I eventually just put the vms in a location where I had the diskspace to keep them and put soft links to the vms in the installer_vm directory.
This is what I used:
IALocation="${env.IA_HOME}"
IAProjectFile="@{project.file}"
BuildOutputLocation="../../@{build.dir}"
OverrideAllPlatformSettings="true"
AutoCleanComponents="false"
>
true
false
@{vm}
This allowed me to loop through the platforms and use any platform I wanted, with any vm I wanted, as long as soft links or the vm was present in the projects directory or the installer_vm directory. Again I realize this isn't what you want, but it works.
This is what I used:
IALocation="${env.IA_HOME}"
IAProjectFile="@{project.file}"
BuildOutputLocation="../../@{build.dir}"
OverrideAllPlatformSettings="true"
AutoCleanComponents="false"
>
This allowed me to loop through the platforms and use any platform I wanted, with any vm I wanted, as long as soft links or the vm was present in the projects directory or the installer_vm directory. Again I realize this isn't what you want, but it works.