The buildear utility builds an EAR file based on the Enterprise Archive resource that is defined in a TIBCO Designer project. When saving, buildear increments the archive build number and saves it to the project.
The buildear utility and buildear.tra file are installed in the <<TIBCO_HOME>>\tra\version\bin directory. Navigate to this location through command prompt and run below command by passing required parameters mentioned as below :
buildear -v -s -ear /Deployments/TechsNibApp.archive -o c:\ear\deployment\TechsNibApp.ear -p c:\tibco\projects\TechsNibApp
-v --> Validate the project before creating the archive. Aborts on errors If you don't specify '-ear' argument, then tool will create a full project ear packaging all adapters in their own adapter archives and all process definitions in a single process archive. Note this feature is not implemented for packaging other types of archives. |
buildear utility writes log information to the designer.tra file. By default, on Windows, the log is located in the C:\Documents and Settings\user-name\.TIBCO\logs folder and even we can change this default log location in TIBCO designer.
i have this error,
ReplyDeleteUnable to find '/opt/TestBuild/EBPP_CHANNEL_VA_ALL/Deployment/EBPP_CHANNEL_VA_ALL.archive'
Failed at locating resource at: /opt/TestBuild/EBPP_CHANNEL_VA_ALL/Deployment/EBPP_CHANNEL_VA_ALL.archive
Aborting.