PDA

View Full Version : Supplying bundleVM path to Ant script not working



ohadbn
02-14-2016, 03:39 AM
Hello,

After countless tries, I can't make this ant-script for building an installer to work (Some of the properties are inherited from the parent script calling this one).

I always get the following error message when i try to run it:


Building windows (VM) web installer...
Adding other errors: null win_jdk_1.8.0.vm
java.io.IOException: Path to executable in VM Pack is missing
at Flexeraael.al(Unknown Source)
at Flexeraael.am(Unknown Source)
at Flexeraaei.c3(Unknown Source)
at Flexeraael.an(Unknown Source)
at Flexeraaei.ag(Unknown Source)
at Flexeraad_.a4(Unknown Source)
at Flexeraad6.run(Unknown Source)

null
An I/O exception has occured: java.io.IOException: Path to executable in VM Pack is missing
null
Closed.

Here's the script:


<project name="IA-Installation-lang" default="build-installer" basedir=".">
<property name="jdk.win" value="win_jdk_1.8.0.vm"/>
<property name="gs.temp.jdk.path" value="${gs.temp}\external_files\jdk"/>

<target name="build-installer">
<buildinstaller
IALocation="${IA_HOME}"
IAProjectfile="${gs.temp}\${iap_xml}"
failOnError="true"
ProjectVersionMajor="${release.version}"
ProjectVersionMinor="${minor.version}${minor.minor.version}"
ProjectVersionRevision="${consolidated_number_fix}"
ProjectVersionSubrevision="${patch_level}"
OverrideAllPlatformSettings="true">

<configuration>
<target platform="Windows"
outputDir="windows"
buildWithVM="true"
buildWithNoVM="false"
bundledVM="${gs.temp.jdk.path}\${jdk.win}"/>
</configuration>
</buildinstaller>
</target>
</project>

What am i doing wrong? The path to the VM file is valid & still it doesn't work.

Plus, What are the valid configuration names? (for example: Default Configuration)