-
Notifications
You must be signed in to change notification settings - Fork 80
Build
Rajib Biswas edited this page Mar 23, 2017
·
4 revisions
Currently the process of creating the installer is a manual process, which is described below. Follow the steps mentioned below to build and create a installer zip file for release and distribution:
- Extract/Unzip the latest installer, which is 'TIB_BW_Maven_Plugin_1.1.0.zip' to a location of your preference. Let's assume this location to be \Installer.
- For latest 'bw6.studio.maven.feature', create a 'Deployable features' from Eclipse to produce bw6.studio.maven.feature_1.1.0.zip.
- Copy/replace this newly created feature bw6.studio.maven.feature_1.1.0.zip file to \Installer\TIB_BW_Maven_Plugin_1.1.0\config.
- If you need to change the version (major or minor), then change the version in following places:
- \Installer\TIB_BW_Maven_Plugin_1.1.0\build.xml:
<p2.install repo="jar:file:///${project.dir}/config/bw6.studio.maven.feature_1.1.0.zip!/" ius="bw6.studio.maven.feature.feature.group"/>
- feature.xml of 'bw6.studio.maven.feature':
version="1.1.0.qualifier"
- Inside bw6.studio.maven.feature, category.xml
- AbstractPOMBuilder.java
- Inside bw6-maven-plugin.zip, install.bat and install.sh
- Extract/Unzip \Installer\TIB_BW_Maven_Plugin_1.1.0\config\bw6-maven-plugin.zip.
- Create new 'bw6-maven-plugin-1.1.0.jar' by running command 'mvn package' at the source code location: \Source\bw6-maven-plugin.
- Copy/replace file 'bw6-maven-plugin-1.1.0.jar' from \Source\bw6-maven-plugin\target\ to \Installer\TIB_BW_Maven_Plugin_1.1.0\config\bw6-maven-plugin.
- At location \Installer\TIB_BW_Maven_Plugin_1.1.0\config, delete the old 'bw6-maven-plugin.zip' and create a new zip file from location: \Installer\TIB_BW_Maven_Plugin_1.1.0\config\bw6-maven-plugin. Then delete directory 'bw6-maven-plugin'.
- At location: \Installer, delete the old TIB_BW_Maven_Plugin_1.1.0.zip and create a new zip file from \Installer\TIB_BW_Maven_Plugin_1.1.0.
- Now you have the latest bw6-plugin-maven installer TIB_BW_Maven_Plugin_1.1.0.zip.
While upgrading the version, change the version in following places:
Project: bw6.studio.maven.feature
- feature.xml
version="1.2.1.qualifier" [2 places]
- category.xml
url="features/bw6.studio.maven.feature_1.2.1.qualifier.jar"
version="1.2.1.qualifier
Project: bw6.studio.maven.plugin
- MANIFEST.MF
Bundle-Version: 1.2.1.qualifier
- AbstractPOMBuilder.java
plugin.setVersion("1.2.1");
Project: bw6-maven-plugin
- pom.xml
<version>1.2.1</version>
Inside Installer:
- build.xml
repo="jar:file:///${project.dir}/config/bw6.studio.maven.feature_1.2.1.zip!/"
- config / bw6-maven-plugin.zip / install.bat
-Dfile=bw6-maven-plugin-1.2.1.jar
- config / bw6-maven-plugin.zip / install.sh
-Dfile=bw6-maven-plugin-1.2.1.jar
- config / bw6-maven-plugin.zip / pom.xml
<version>1.2.1</version>
Getting started
- Steps to Mavenize BW Application
- Building applications for BWCE
- EAR deployment with Config File
- Shared Modules with Maven
- Add Process Diagram in EAR
- BW Design Utility Goals
- CI/CD using Jenkins
- Custom XPath Function
- Deploy Shared Module on Remote Repository
- TCI Deployment using Maven Plugin
Unit Testing
- Primitive Assertion
- Activity Assertion
- Activity Assertion with Gold Input File
- Mock Output
- Mock Fault
- Test Suite
- Plugin Properties
Help & Contribute