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
- :
- Ant task build fails after upgrade from 2011 SP2 to 2012 SP1
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
‎Mar 08, 2013
09:34 AM
Ant task build fails after upgrade from 2011 SP2 to 2012 SP1
Hi,
I'm trying to update a working project running under IA 2011 SP2 to IA 2012 SP1.
We have a ant task to build it and it works perfectly when using IA 2011 SP2.
All build information is defined in the ANT script, there is nothing defined in the iap_xml file in the section BuildInstaller/Build configuration. We don't need anything there as the project is never built from the IDE.
Unfortunately when using IA 2012, the ANT task doesn't work anymore.
The error message doesn't tell precisely what is wrong:
[buildinstaller] BuildInstaller: Loading external build settings file: C:\MyPath\iabuild.xml
[buildinstaller] java.lang.ArrayIndexOutOfBoundsException: 0
[buildinstaller] at Flexeraadw.at(Unknown Source)
[buildinstaller] at Flexeraadw.ad(Unknown Source)
[buildinstaller] at Flexeraadw.aa(Unknown Source)
[buildinstaller] at Flexeraads.ha(Unknown Source)
[buildinstaller] at Flexeraads.bx(Unknown Source)
[buildinstaller] at InstallAnywhere.ae(Unknown Source)
[buildinstaller] at InstallAnywhere.main(Unknown Source)
[buildinstaller] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[buildinstaller] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[buildinstaller] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[buildinstaller] at java.lang.reflect.Method.invoke(Unknown Source)
[buildinstaller] at com.zerog.lax.LAX.launch(Unknown Source)
[buildinstaller] at com.zerog.lax.LAX.main(Unknown Source)
[buildinstaller]
[buildinstaller] ============================================================
[buildinstaller]
[buildinstaller] The reading of build settings properties file failed
[buildinstaller] Error: 0
[buildinstaller] Using project settings
[buildinstaller]
[buildinstaller] ============================================================
[buildinstaller]
[buildinstaller] No Build targets selected.
[buildinstaller] ============================================================
[buildinstaller]
[buildinstaller]
[buildinstaller] Terminating Build process...
[buildinstaller] ============================================================
[buildinstaller]
[buildinstaller]
Then follow usage of build that we do not use as we use ANT:
[buildinstaller] ============================================================
[buildinstaller]
[buildinstaller] Usage: build [ file [ options ] ]
[buildinstaller]
[buildinstaller] Usage: build [ file [ options ] [ [ options ] ] ]
[buildinstaller]
[buildinstaller] Description:
[buildinstaller] InstallAnywhere can perform command line builds using the options described below.
[buildinstaller]
[buildinstaller] On Windows, only the 'build.exe' executable will allow you to do
[buildinstaller] command line builds.
....
[buildinstaller] InstallAnywhere has experienced an error building/saving this project. Please consult the build log (console.txt) for additional information concerning
this problem. For further assistance, please contact InstallAnywhere Technical Support.
[buildinstaller] EXITING: 201
My ANT task is quite simple;
IAProjectFile="ia/MyProject.iap_xml"
failOnError="true"
OverrideAllPlatformSettings="true"
BuildCDROMInstaller="true"
BuildWEBInstaller="false"
BuildMergeModule="false"
BuildReadOnlyMergeModule="false"
ProjectVersionMajor="${version.major}"
ProjectVersionMinor="${version.minor}"
ProjectVersionRevision="${version.service.pack}"
ProjectVersionSubrevision="${version.build}" >
outputDir="windows"
buildWithNoVM="false"
buildWithVM="true"
bundledVM="${ia.vm.pack.windows}" >
Is it a known bug?
Does someone tried to migrated a project using only the ANT task to build?
Thanks,
Xavier.
I'm trying to update a working project running under IA 2011 SP2 to IA 2012 SP1.
We have a ant task to build it and it works perfectly when using IA 2011 SP2.
All build information is defined in the ANT script, there is nothing defined in the iap_xml file in the section BuildInstaller/Build configuration. We don't need anything there as the project is never built from the IDE.
Unfortunately when using IA 2012, the ANT task doesn't work anymore.
The error message doesn't tell precisely what is wrong:
[buildinstaller] BuildInstaller: Loading external build settings file: C:\MyPath\iabuild.xml
[buildinstaller] java.lang.ArrayIndexOutOfBoundsException: 0
[buildinstaller] at Flexeraadw.at(Unknown Source)
[buildinstaller] at Flexeraadw.ad(Unknown Source)
[buildinstaller] at Flexeraadw.aa(Unknown Source)
[buildinstaller] at Flexeraads.ha(Unknown Source)
[buildinstaller] at Flexeraads.bx(Unknown Source)
[buildinstaller] at InstallAnywhere.ae(Unknown Source)
[buildinstaller] at InstallAnywhere.main(Unknown Source)
[buildinstaller] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[buildinstaller] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[buildinstaller] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[buildinstaller] at java.lang.reflect.Method.invoke(Unknown Source)
[buildinstaller] at com.zerog.lax.LAX.launch(Unknown Source)
[buildinstaller] at com.zerog.lax.LAX.main(Unknown Source)
[buildinstaller]
[buildinstaller] ============================================================
[buildinstaller]
[buildinstaller] The reading of build settings properties file failed
[buildinstaller] Error: 0
[buildinstaller] Using project settings
[buildinstaller]
[buildinstaller] ============================================================
[buildinstaller]
[buildinstaller] No Build targets selected.
[buildinstaller] ============================================================
[buildinstaller]
[buildinstaller]
[buildinstaller] Terminating Build process...
[buildinstaller] ============================================================
[buildinstaller]
[buildinstaller]
Then follow usage of build that we do not use as we use ANT:
[buildinstaller] ============================================================
[buildinstaller]
[buildinstaller] Usage: build [ file [ options ] ]
[buildinstaller]
[buildinstaller] Usage: build [ file [ options ] [
[buildinstaller]
[buildinstaller] Description:
[buildinstaller] InstallAnywhere can perform command line builds using the options described below.
[buildinstaller]
[buildinstaller] On Windows, only the 'build.exe' executable will allow you to do
[buildinstaller] command line builds.
....
[buildinstaller] InstallAnywhere has experienced an error building/saving this project. Please consult the build log (console.txt) for additional information concerning
this problem. For further assistance, please contact InstallAnywhere Technical Support.
[buildinstaller] EXITING: 201
My ANT task is quite simple;
IAProjectFile="ia/MyProject.iap_xml"
failOnError="true"
OverrideAllPlatformSettings="true"
BuildCDROMInstaller="true"
BuildWEBInstaller="false"
BuildMergeModule="false"
BuildReadOnlyMergeModule="false"
ProjectVersionMajor="${version.major}"
ProjectVersionMinor="${version.minor}"
ProjectVersionRevision="${version.service.pack}"
ProjectVersionSubrevision="${version.build}" >
outputDir="windows"
buildWithNoVM="false"
buildWithVM="true"
bundledVM="${ia.vm.pack.windows}" >
Is it a known bug?
Does someone tried to migrated a project using only the ANT task to build?
Thanks,
Xavier.
(5) Replies
‎Mar 11, 2013
04:24 AM
Hi,
This is a known bug and is being addressed.
Thanks,
Ramya
This is a known bug and is being addressed.
Thanks,
Ramya
‎Mar 11, 2013
08:04 AM
RamyaVenkatesh wrote:
Hi,
This is a known bug and is being addressed.
Thanks,
Ramya
Hi,
good to know it doesn't come from the project itself. 🙂
I haven't seen the issue at this page: http://kb.flexerasoftware.com/selfservice/microsites/search.do?cmd=displayKC&docType=kc&externalId=Q209992. Did I overlooked or is there a more recent list?
Also more important, is there any date estimation when this will be available? In the SP2?
Thanks,
Xavier.
‎Mar 14, 2013
01:31 AM
Hi,
This is a bug reported post release, so you will not find it in the kb article.
Thanks
This is a bug reported post release, so you will not find it in the kb article.
Thanks
‎Mar 15, 2013
03:25 AM
RamyaVenkatesh wrote:
Hi,
This is a bug reported post release, so you will not find it in the kb article.
Thanks
Hi,
will it be fixed in 2012 SP2? When 2012 SP2 is planned to be available?
Thanks
‎Apr 05, 2013
07:30 AM
RamyaVenkatesh wrote:
Hi,
This is a bug reported post release, so you will not find it in the kb article.
Thanks
Hi,
Is this issue specifi to IA 2012 SP1 or it exist also in IA 2012 GA?
Thanks,
Xavier.