cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
jchfeng
Level 4

Strange error when build IA project with command line "build.exe My_Product.iap_xml"

I'm using IA2012 SP1 to build a sample project with command line "build.exe My_Product.iap_xml", but there are below error messages:

C:\Program Files (x86)\InstallAnywhere 2012>build.exe c:\Project\For_Test\My_Product\My_Product.iap_xml
Trying to checkout IAEB version=14.0
No Such Feature Exists (-5,3037)
Trying to checkout IACB version=14.0
No Such Feature Exists (-5,3037)
Trying to checkout IAEE version=14.0
Starting Update Service
Started Update Service
Looking up Update Service
__________________________________________________________________________

InstallAnywhere 2012
Version: 14.0
Build: 4390
__________________________________________________________________________

Fri Aug 30 19:36:01 CST 2013

Free Memory: 16853 kB
Total Memory: 23872 kB

2 Command Line Args:
0: -b
1: c:\Project\For_Test\My_Product\My_Product.iap_xml

java.class.path:
C:\Program Files (x86)\InstallAnywhere 2012\resource\bcapi\bcprov-jdk15on-147.jar
C:\Program Files (x86)\InstallAnywhere 2012\resource\bcapi\bcpkix-jdk15on-147.jar
C:\Program Files (x86)\InstallAnywhere 2012\resource\image_defaults
C:\Program Files (x86)\InstallAnywhere 2012\resource
C:\Program Files (x86)\InstallAnywhere 2012\resource\compiler.zip
C:\Program Files (x86)\InstallAnywhere 2012\resource\jvms
C:\Program Files (x86)\InstallAnywhere 2012\IAClasses.zip
C:\Program Files (x86)\InstallAnywhere 2012\resource\linking.zip
C:\Program Files (x86)\InstallAnywhere 2012\resource\update\update.jar
C:\Program Files (x86)\InstallAnywhere 2012\resource\build
C:\Program Files (x86)\InstallAnywhere 2012\resource\7-zip\J7Zip.jar
C:\Program Files (x86)\InstallAnywhere 2012\resource\ant\ant.jar
C:\Program Files (x86)\InstallAnywhere 2012\isus\us.jar
C:\Program Files (x86)\InstallAnywhere 2012\resource\dim\dim.jar
C:\Program Files (x86)\InstallAnywhere 2012\resource\ice\ib6core.jar
C:\Program Files (x86)\InstallAnywhere 2012\resource\ice\ib6access.jar
C:\Program Files (x86)\InstallAnywhere 2012\resource\ice\ib6extra.jar
C:\Program Files (x86)\InstallAnywhere 2012\resource\ice\ib6http.jar
C:\Program Files (x86)\InstallAnywhere 2012\resource\ice\ib6js.jar
C:\Program Files (x86)\InstallAnywhere 2012\resource\ice\ib6https.jar
C:\Program Files (x86)\InstallAnywhere 2012\resource\ice\ib6ntlm.jar
C:\Program Files (x86)\InstallAnywhere 2012\resource\ice\ib6swing.jar
C:\Program Files (x86)\InstallAnywhere 2012\resource\ice\ib6util.jar
C:\Program Files (x86)\InstallAnywhere 2012\resource\ice\ib6xalan.jar
C:\Program Files (x86)\InstallAnywhere 2012\resource\ice\ui.jar
C:\Program Files (x86)\InstallAnywhere 2012\resource\ibm\os400\jt400Small.jar
C:\Program Files (x86)\InstallAnywhere 2012\resource\commons-codec-1.3.jar
C:\Program Files (x86)\InstallAnywhere 2012\resource\fnp\EccpressoAll.jar
C:\Program Files (x86)\InstallAnywhere 2012\resource\fnp\flexlm.jar
C:\Program Files (x86)\InstallAnywhere 2012\VMPackUtility
C:\Program Files (x86)\InstallAnywhere 2012\VMPackUtility\Utility.jar
C:\Program Files (x86)\InstallAnywhere 2012\resource\sftp\jsch-0.1.45.jar
C:\Program Files (x86)\InstallAnywhere 2012\resource\visdk\vijava520110926.jar
C:\Program Files (x86)\InstallAnywhere 2012\resource\ovf_schema_jar\ovfschemaJava6.jar
C:\Program Files (x86)\InstallAnywhere 2012\VM_Template_CreationUtility
C:\Program Files (x86)\InstallAnywhere 2012\resource\visdk\dom4j-1.6.1.jar
C:\Program Files (x86)\InstallAnywhere 2012\resource\amazon\http\httpclient-4.1.1.jar
C:\Program Files (x86)\InstallAnywhere 2012\resource\amazon\http\httpcore-4.1.jar
C:\Program Files (x86)\InstallAnywhere 2012\resource\amazon\aws-java-sdk-1.3.18.jar
C:\Program Files (x86)\InstallAnywhere 2012\resource\amazon\commons-logging-
1.1.1.jar
C:\Program Files (x86)\InstallAnywhere 2012\resource\visdk\javagnutar\activa
tion.jar
C:\Program Files (x86)\InstallAnywhere 2012\resource\visdk\javagnutar\javagn
utar.jar
C:\Program Files (x86)\InstallAnywhere 2012\lax.jar

ZGUtil.CLASS_PATH:
C:\Program Files (x86)\InstallAnywhere 2012\resource\bcapi\bcprov-jdk15on-14
7.jar
C:\Program Files (x86)\InstallAnywhere 2012\resource\bcapi\bcpkix-jdk15on-14
7.jar
C:\Program Files (x86)\InstallAnywhere 2012\resource\image_defaults
C:\Program Files (x86)\InstallAnywhere 2012\resource
C:\Program Files (x86)\InstallAnywhere 2012\resource\jvms
C:\Program Files (x86)\InstallAnywhere 2012\IAClasses.zip
C:\Program Files (x86)\InstallAnywhere 2012\resource\build
C:\Program Files (x86)\InstallAnywhere 2012\resource\7-zip\J7Zip.jar
C:\Program Files (x86)\InstallAnywhere 2012\isus\us.jar
C:\Program Files (x86)\InstallAnywhere 2012\resource\dim\dim.jar
C:\Program Files (x86)\InstallAnywhere 2012\resource\ice\ib6core.jar
C:\Program Files (x86)\InstallAnywhere 2012\resource\ice\ib6access.jar
C:\Program Files (x86)\InstallAnywhere 2012\resource\ice\ib6extra.jar
C:\Program Files (x86)\InstallAnywhere 2012\resource\ice\ib6http.jar
C:\Program Files (x86)\InstallAnywhere 2012\resource\ice\ib6js.jar
C:\Program Files (x86)\InstallAnywhere 2012\resource\ice\ib6https.jar
C:\Program Files (x86)\InstallAnywhere 2012\resource\ice\ib6ntlm.jar
C:\Program Files (x86)\InstallAnywhere 2012\resource\ice\ib6util.jar
C:\Program Files (x86)\InstallAnywhere 2012\resource\ice\ib6xalan.jar
C:\Program Files (x86)\InstallAnywhere 2012\resource\ibm\os400\jt400Small.ja
r
C:\Program Files (x86)\InstallAnywhere 2012\resource\commons-codec-1.3.jar
C:\Program Files (x86)\InstallAnywhere 2012\resource\fnp\EccpressoAll.jar
C:\Program Files (x86)\InstallAnywhere 2012\resource\fnp\flexlm.jar
C:\Program Files (x86)\InstallAnywhere 2012\VMPackUtility
C:\Program Files (x86)\InstallAnywhere 2012\VMPackUtility\Utility.jar
C:\Program Files (x86)\InstallAnywhere 2012\resource\sftp\jsch-0.1.45.jar
C:\Program Files (x86)\InstallAnywhere 2012\resource\visdk\vijava520110926.j
ar
C:\Program Files (x86)\InstallAnywhere 2012\resource\ovf_schema_jar\ovfschem
aJava6.jar
C:\Program Files (x86)\InstallAnywhere 2012\VM_Template_CreationUtility
C:\Program Files (x86)\InstallAnywhere 2012\resource\visdk\dom4j-1.6.1.jar
C:\Program Files (x86)\InstallAnywhere 2012\resource\amazon\http\httpclient-
4.1.1.jar
C:\Program Files (x86)\InstallAnywhere 2012\resource\amazon\http\httpcore-4.
1.jar
C:\Program Files (x86)\InstallAnywhere 2012\resource\amazon\aws-java-sdk-1.3
.18.jar
C:\Program Files (x86)\InstallAnywhere 2012\resource\amazon\commons-logging-
1.1.1.jar
C:\Program Files (x86)\InstallAnywhere 2012\resource\visdk\javagnutar\activa
tion.jar
C:\Program Files (x86)\InstallAnywhere 2012\resource\visdk\javagnutar\javagn
utar.jar

sun.boot.class.path:
C:\Program Files (x86)\InstallAnywhere 2012\jre\lib\resources.jar
C:\Program Files (x86)\InstallAnywhere 2012\jre\lib\rt.jar
C:\Program Files (x86)\InstallAnywhere 2012\jre\lib\sunrsasign.jar
C:\Program Files (x86)\InstallAnywhere 2012\jre\lib\jsse.jar
C:\Program Files (x86)\InstallAnywhere 2012\jre\lib\jce.jar
C:\Program Files (x86)\InstallAnywhere 2012\jre\lib\charsets.jar
C:\Program Files (x86)\InstallAnywhere 2012\jre\classes

java.ext.dirs:
C:\Program Files (x86)\InstallAnywhere 2012\jre\lib\ext
C:\windows\Sun\Java\lib\ext

java.version == 1.7.0 (Java 1)
java.vm.name == Java HotSpot(TM) Client VM
java.vm.vendor == Oracle Corporation
java.vm.version == 21.0-b17
java.vm.specification.name == Java Virtual Machine Specification
java.vm.specification.vendor == Oracle Corporation
java.vm.specification.version == 1.7
java.specification.name == Java Platform API Specification
java.specification.vendor == Oracle Corporation
java.specification.version == 1.7
java.vendor == Oracle Corporation
java.vendor.url == http://java.oracle.com/
java.class.version == 51.0
java.compiler == null
java.home == C:\Program Files (x86)\InstallAnywhere 2012\jre

java.io.tmpdir == C:\Users\jchfeng\AppData\Local\Temp\
os.name == Windows 7
os.arch == x86
os.version == 6.1
path.separator == ;
file.separator == \
file.encoding == GBK
user.name == jchfeng
user.home == C:\Users\jchfeng
user.dir == C:\Program Files (x86)\InstallAnywhere 2012
user.language == en
user.region == null
__________________________________________________________________________

BuildInstaller: Asked to load C:\Project\For_Test\My_Product\My_Product.iap_xml
System's temporary directory = C:\Users\jchfeng\AppData\Local\Temp
BuildInstaller: error loading project file:
Flexeraak4: C:\Program Files (x86)\InstallAnywhere 2012\null\My_ProductBuild.iap_xml (The system cannot find the path specified)
at Flexeraak0.putStream(Unknown Source)
at Flexeraala.putStream(Unknown Source)
at Flexeraaky.ac(Unknown Source)
at com.zerog.ia.installer.actions.CopyFile.copyFile(Unknown Source)
at com.zerog.ia.installer.actions.CopyFile.copyFile(Unknown Source)
at Flexeraads.be(Unknown Source)
at Flexeraads.bp(Unknown Source)
at Flexeraads.bo(Unknown Source)
at Flexeraads.bn(Unknown Source)
at Flexeraads.bx(Unknown Source)
at InstallAnywhere.ae(Unknown Source)
at InstallAnywhere.main(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.zerog.lax.LAX.launch(Unknown Source)
at com.zerog.lax.LAX.main(Unknown Source)
InstallAnywhere was unable to load this project file. If you continue to have pr
oblems loading this project, please contact InstallAnywhere Technical Support a
nd report the following error:

IAScript.loadScript() failed:
Flexeraak4: C:\Program Files (x86)\InstallAnywhere 2012\null\My_ProductBuild.iap_xml (The system cannot find the path specified)

You may be asked to attach this project file to an email.

============================================================

The project C:\Project\For_Test\My_Product\My_Product.iap_xml could not be loaded.
Terminating build.


Can anyone help to check why there is such kind of error?
Labels (1)
0 Kudos
(1) Reply
greenaj
Level 3

A lot of the build.exe output to STDOUT seems like noise, but towards the end:

IAScript.loadScript() failed:
Flexeraak4: C:\Program Files (x86)\InstallAnywhere 2012\null\My_ProductBuild.iap_xml (The system cannot find the path specified)

You may be asked to attach this project file to an email.

============================================================

The project C:\Project\For_Test\My_Product\My_Product.iap_xml could not be loaded.
Terminating build.

It seems to be confused about a path, hence "C:\Program Files (x86)\InstallAnywhere 2012\null\My_ProductBuild.iap_xml" You may try placing your project file in

C:\MyPathNoSpaces\My_Product.iap_xml

From a DOS prompt,

C:\Windows\system32>cd C:\MyPathNoSpaces
C:\MyPathNoSpaces>SET PATH=%PATH%;C:\Program Files\InstallAnywhere 2012
C:\MyPathNoSpaces>build My_Product.iap_xml

See if that works.
0 Kudos