cancel
Showing results for 
Search instead for 
Did you mean: 

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.
Labels (1)
0 Kudos
5 Replies

Re: Ant task build fails after upgrade from 2011 SP2 to 2012 SP1

Hi,

This is a known bug and is being addressed.

Thanks,
Ramya
0 Kudos

Re: Ant task build fails after upgrade from 2011 SP2 to 2012 SP1

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=Q.... 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.
0 Kudos

Re: Ant task build fails after upgrade from 2011 SP2 to 2012 SP1

Hi,

This is a bug reported post release, so you will not find it in the kb article.
Thanks
0 Kudos

Available fix?

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
0 Kudos
Highlighted

Re: Ant task build fails after upgrade from 2011 SP2 to 2012 SP1

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.
0 Kudos