How to bypass the warning "too large ear file" and continue with the build when using buildear utility, within a script?
book
Article ID: KB0084461
calendar_today
Updated On:
Products
Versions
TIBCO Administrator
-
Not Applicable
-
Description
Resolution: Problem description: When running buildear for a large project, it prompts the message given below, when EAR file size is more than a certain size. Is there a command line parameter that will make it bypass this warning prompt, so we can run the command in a script unattended?
[echo] Building Ear file from Archive file /test.archive Starting up... The ear file could archive up to: 33 MB in size. Are you sure you want to build it? [y]Ear building was cancelled by the user
Workaround: Insert/modify the following property in designer.tra/buildear.tra so that the warning appears only when the size is larger than the given size.
java.property.designer.ear.water.mark.size=32
For example, if you change the value to 32 (this value is in megabytes.), the warning only appears if you are loading a file that is greater than 32 MB.
Issue/Introduction
How to bypass the warning "too large ear file" and continue with the build when using buildear utility, within a script?