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
- :
- IA reports erro when building from command line, but builds fine with GUI
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 20, 2013
01:05 PM
IA reports erro when building from command line, but builds fine with GUI
Hi,
The error I get varies with configuration:
E,g when I try building "windows_only" target
command line
%IA%\build.exe my.iap_xml windows_only
I have:
The -i build option MUST be followed by a valid System i Login credentials info
(and lots of other messages that really hide the problem)
with another configuration
command line
%IA%\build.exe my.iap_xml
I have among other messages:
The -d build option MUST be followed by a valid directory
Those configurations build fine from UI.
Where I can look what configuration looks like. Output is very huge but lists only general help information and command line prameters.
I am attaching one of them below.
Thanks!
The error I get varies with configuration:
E,g when I try building "windows_only" target
command line
%IA%\build.exe my.iap_xml windows_only
I have:
The -i build option MUST be followed by a valid System i Login credentials info
(and lots of other messages that really hide the problem)
with another configuration
command line
%IA%\build.exe my.iap_xml
I have among other messages:
The -d build option MUST be followed by a valid directory
Those configurations build fine from UI.
Where I can look what configuration looks like. Output is very huge but lists only general help information and command line prameters.
I am attaching one of them below.
Thanks!
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 22, 2013
02:46 AM
ikhasin wrote:
Hi,
The error I get varies with configuration:
E,g when I try building "windows_only" target
command line
%IA%\build.exe my.iap_xml windows_only
I have:
The -i build option MUST be followed by a valid System i Login credentials info
(and lots of other messages that really hide the problem)
with another configuration
command line
%IA%\build.exe my.iap_xml
I have among other messages:
The -d build option MUST be followed by a valid directory
Those configurations build fine from UI.
Where I can look what configuration looks like. Output is very huge but lists only general help information and command line prameters.
I am attaching one of them below.
Thanks!
I found that you use command line "C:\IAProjects\JVM_PATCH>%IA%\build.exe JVM_PATCH.iap_xml win".
From the user guide arguments "win" is not supported by "build.exe". Perhaps this is the cause.
It should be "build.exe JVM_PATCH.iap_xml +w" for building windows without VM.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 23, 2013
11:49 AM
jchfeng wrote:
I found that you use command line "C:\IAProjects\JVM_PATCH>%IA%\build.exe JVM_PATCH.iap_xml win".
From the user guide arguments "win" is not supported by "build.exe". Perhaps this is the cause.
It should be "build.exe JVM_PATCH.iap_xml +w" for building windows without VM.
Hi -
thanks for responding.
"win" in my case is a configuration name (maybe not the best)
I have other configuration names like "nd32bit" for configuration with command line being
>%IA%\build.exe JVM_PATCH.iap_xml nd32bit
and it has same errors (pleas, see below).
Project builds fine 1) without configuration name;2) from UI "Build selected"
Thanks.
C:\test\ivmpatch.tool\lwp\jvmpatcher\JVM2012>%IA%\build.exe JVM2012.iap_xml
bit
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
...
============================================================
The -d build option MUST be followed by a valid directory
============================================================
============================================================
...
Started Update Service
Looking up Update Service
__________________________________________________________________________
InstallAnywhere 2012
Version: 14.0
Build: 4390
__________________________________________________________________________
Mon Sep 23 12:48:37 EDT 2013
Free Memory: 16197 kB
Total Memory: 23872 kB
3 Command Line Args:
0: -b
1: C:\test\ivmpatch.tool\lwp\jvmpatcher\JVM2012\JVM2012.iap_xml
2: nd32bit
java.class.path:
c:\Program Files\InstallAnywhere 2012\resource\bcapi\bcprov-jdk15on-147
...
============================================================
The -d build option MUST be followed by a valid directory
============================================================
============================================================
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 25, 2013
01:18 AM
ikhasin wrote:
Hi -
thanks for responding.
"win" in my case is a configuration name (maybe not the best)
I have other configuration names like "nd32bit" for configuration with command line being
>%IA%\build.exe JVM_PATCH.iap_xml nd32bit
and it has same errors (pleas, see below).
Project builds fine 1) without configuration name;2) from UI "Build selected"
Thanks.
C:\test\ivmpatch.tool\lwp\jvmpatcher\JVM2012>%IA%\build.exe JVM2012.iap_xml
bit
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
...
============================================================
The -d build option MUST be followed by a valid directory
============================================================
============================================================
...
Started Update Service
Looking up Update Service
__________________________________________________________________________
InstallAnywhere 2012
Version: 14.0
Build: 4390
__________________________________________________________________________
Mon Sep 23 12:48:37 EDT 2013
Free Memory: 16197 kB
Total Memory: 23872 kB
3 Command Line Args:
0: -b
1: C:\test\ivmpatch.tool\lwp\jvmpatcher\JVM2012\JVM2012.iap_xml
2: nd32bit
java.class.path:
c:\Program Files\InstallAnywhere 2012\resource\bcapi\bcprov-jdk15on-147
...
============================================================
The -d build option MUST be followed by a valid directory
============================================================
============================================================
Not sure.. But there is another option that, perhaps you can use a "buildproperties.properties" file, there is a sample under C:\Program Files (x86)\InstallAnywhere 2012\resource\build, in which
# Number of configurations to build
number.of.configs=2
# Build Configuration names
config.1.name=win
config.2.name=nd32bit
...
And then you can build your configuration by "build.exe JVM_PATCH.iap_xml -p buildproperties.properties".