Closed bunztic closed 3 years ago
Hi @bunztic, Standalone installation can be achieved by setting up local eclipse p2 repo mirror. I am sharing a script to help you create zip for org.eclipse.equinox.p2.discovery.feature
.
Steps :
download-build.xml
ant script.repo.dir
property to point to a temporary location.<TIBCO_HOME>\tools\p2director\eclipse
and execute -
eclipse.exe -nosplash -verbose -application org.eclipse.ant.core.antRunner -buildfile <path-to-build-file>\download-build.xml
build.xml
file from Maven plugin installer and change -
From -
<p2.install repo="http://download.eclipse.org/releases/luna" ius="org.eclipse.equinox.p2.discovery.feature.feature.group"/>
To -
<p2.install repo="jar:file:///<path-to-zip>\org.eclipse.equinox.p2.discovery.feature.zip!/" ius="org.eclipse.equinox.p2.discovery.feature.feature.group"/>
UPDATE : The eclipse repo http://download.eclipse.org/releases/luna is no longer available. Please use - https://download.eclipse.org/eclipse/updates/4.4/ https://github.com/TIBCOSoftware/bw6-plugin-maven/wiki/Troubleshooting#installation-error---http-server-unkn[…]oadeclipseorgreleaseslunaartifactsxml
Hi @vpawar-ai,
Thank you for your precious help. I managed to install the plugin and run "Generate POM for Application" on Studio. But in the end I have this error:
@default-central-https\://repo.maven.apache.org/maven2/.lastUpdated=1604594047275 https\://repo.maven.apache.org/maven2/.error=Could not transfer artifact com.tibco.plugins\:com.tibco.bw.palette.shared\:jar\:6.1.100 from/to central (https\://repo.maven.apache.org/maven2)\: repo.maven.apache.org
Hi, we attempted the same steps for maven plugin v2.8 installation against BWCEv2.6. The Ant script looks completed successfully.
$ ./install.sh Starting Plugin Code for Apache Maven and TIBCO BusinessWorks™ installation .... Unable to locate tools.jar. Expected to find it in /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.242.b08-0.el7_7.x86_64/lib/tools.jar Buildfile: /d1/Install/bwce-upgrade-2.6/TIB_BW_Maven_Plugin_2.8.0/build.xml
getTibcoHome:
[echo]
[echo] %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
[echo] Installing Plugin Code for Apache Maven and TIBCO BusinessWorks™
[echo] %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
[echo]
[input]
[input] %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
[input]
[input] Input the path for Tibco Home here. Default will be c:\tibco
[input]
[input] %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
[input]
[input]
/d1/opt/tibco/bwce
[echo] BWCE Version 2.6
setupMacros:
vbuild.launcher.jar:
devbuild.launcher.jar:
studio-install: [echo] Installing Eclipse M2E Plugin to Tibco Home [exec] Installing org.eclipse.equinox.p2.discovery.feature.feature.group 1.0.200.v20140512-1802. [exec] Operation completed in 6386 ms. [exec] Installing bw6.maven.dependencies.feature.feature.group 1.0.0.001. [exec] Operation completed in 5897 ms. [exec] Installing org.eclipse.m2e.feature.feature.group 1.6.2.20151013-0836. [exec] Installing org.eclipse.m2e.sdk.feature.feature.group 1.6.2.20151013-0836. [exec] Installing org.eclipse.m2e.logback.feature.feature.group 1.6.2.20151013-0836. [exec] Operation completed in 7767 ms. [echo] UnInstalling the existing version of Plugin Code for Apache Maven and TIBCO BusinessWorks™ [exec] org.eclipse.m2e.logback.configuration: The org.eclipse.m2e.logback.configuration bundle was activated before the state location was initialized. Will retry after the state location is initialized. [exec] The installable unit bw6.studio.maven.feature.feature.group has not been found. [exec] Application failed, log file location: /d1/opt/tibco/bwce/studio/4.0/eclipse/configuration/1613447344007.log [exec] Installation failed. [exec] [exec] Result: 13 [echo] Installing Studio Plugin for Plugin Code for Apache Maven and TIBCO BusinessWorks™ to the Tibco Home [exec] org.eclipse.m2e.logback.configuration: The org.eclipse.m2e.logback.configuration bundle was activated before the state location was initialized. Will retry after the state location is initialized. [exec] Installing bw6.studio.maven.feature.feature.group 2.8.0.001. [exec] Operation completed in 5959 ms.
maven-install: [echo] Installing Maven Plugin for Plugin Code for Apache Maven and TIBCO BusinessWorks™ to Local Maven Repository [mkdir] Created dir: /d1/opt/tibco/bwce/bwce/2.6/maven/plugins [unzip] Expanding: /d1/Install/bwce-upgrade-2.6/TIB_BW_Maven_Plugin_2.8.0/config/bw6-maven-plugin.zip into /d1/opt/tibco/bwce/bwce/2.6/maven/plugins/bw6-maven-plugin
winInstall:
linuxInstall: [exec] Installing Maven Plugin to Maven Repository [exec] [INFO] Scanning for projects... [exec] [INFO] Inspecting build with total of 1 modules... [exec] [INFO] Installing Nexus Staging features: [exec] [INFO] ... total of 1 executions of maven-deploy-plugin replaced with nexus-staging-maven-plugin [exec] [INFO] [exec] [INFO] -----------------< com.tibco.plugins:bw6-maven-plugin >----------------- [exec] [INFO] Building Plugin Code for Apache Maven and TIBCO BusinessWorks™ 2.8.0 [exec] [INFO] ----------------------------[ maven-plugin ]---------------------------- [exec] [INFO] [exec] [INFO] --- maven-install-plugin:2.4:install-file (default-cli) @ bw6-maven-plugin --- [exec] [INFO] Installing /d1/opt/tibco/bwce/bwce/2.6/maven/plugins/bw6-maven-plugin/com.tibco.bw.palette.shared_6.1.100.003.jar to /d1/usr/ASXPROD/yau_k/.m2/repository/com/tibco/plugins/com.tibco.bw.palette.shared/6.1.100/com.tibco.bw.palette.shared-6.1.100.jar [exec] [INFO] ------------------------------------------------------------------------ [exec] [INFO] BUILD SUCCESS [exec] [INFO] ------------------------------------------------------------------------ [exec] [INFO] Total time: 1.100 s [exec] [INFO] Finished at: 2021-02-16T14:49:20+11:00 [exec] [INFO] ------------------------------------------------------------------------ [exec] [INFO] Scanning for projects... [exec] [INFO] Inspecting build with total of 1 modules... [exec] [INFO] Installing Nexus Staging features: [exec] [INFO] ... total of 1 executions of maven-deploy-plugin replaced with nexus-staging-maven-plugin [exec] [INFO] [exec] [INFO] -----------------< com.tibco.plugins:bw6-maven-plugin >----------------- [exec] [INFO] Building Plugin Code for Apache Maven and TIBCO BusinessWorks™ 2.8.0 [exec] [INFO] ----------------------------[ maven-plugin ]---------------------------- [exec] [INFO] [exec] [INFO] --- maven-install-plugin:2.4:install-file (default-cli) @ bw6-maven-plugin --- [exec] [INFO] Installing /d1/opt/tibco/bwce/bwce/2.6/maven/plugins/bw6-maven-plugin/com.tibco.xml.cxf.common_1.3.200.001.jar to /d1/usr/ASXPROD/yau_k/.m2/repository/com/tibco/plugins/com.tibco.xml.cxf.common/1.3.200/com.tibco.xml.cxf.common-1.3.200.jar [exec] [INFO] ------------------------------------------------------------------------ [exec] [INFO] BUILD SUCCESS [exec] [INFO] ------------------------------------------------------------------------ [exec] [INFO] Total time: 1.083 s [exec] [INFO] Finished at: 2021-02-16T14:49:23+11:00 [exec] [INFO] ------------------------------------------------------------------------ [exec] [INFO] Scanning for projects... [exec] [INFO] Inspecting build with total of 1 modules... [exec] [INFO] Installing Nexus Staging features: [exec] [INFO] ... total of 1 executions of maven-deploy-plugin replaced with nexus-staging-maven-plugin [exec] [INFO] [exec] [INFO] -----------------< com.tibco.plugins:bw6-maven-plugin >----------------- [exec] [INFO] Building Plugin Code for Apache Maven and TIBCO BusinessWorks™ 2.8.0 [exec] [INFO] ----------------------------[ maven-plugin ]---------------------------- [exec] [INFO] [exec] [INFO] --- maven-install-plugin:2.4:install-file (default-cli) @ bw6-maven-plugin --- [exec] [INFO] Installing /d1/opt/tibco/bwce/bwce/2.6/maven/plugins/bw6-maven-plugin/bw6-maven-plugin-2.8.0.jar to /d1/usr/ASXPROD/yau_k/.m2/repository/com/tibco/plugins/bw6-maven-plugin/2.8.0/bw6-maven-plugin-2.8.0.jar [exec] [INFO] Installing /d1/opt/tibco/bwce/bwce/2.6/maven/plugins/bw6-maven-plugin/pom.xml to /d1/usr/ASXPROD/yau_k/.m2/repository/com/tibco/plugins/bw6-maven-plugin/2.8.0/bw6-maven-plugin-2.8.0.pom [exec] [INFO] ------------------------------------------------------------------------ [exec] [INFO] BUILD SUCCESS [exec] [INFO] ------------------------------------------------------------------------ [exec] [INFO] Total time: 1.100 s [exec] [INFO] Finished at: 2021-02-16T14:49:25+11:00 [exec] [INFO] ------------------------------------------------------------------------ [exec] [INFO] Scanning for projects... [exec] [INFO] Inspecting build with total of 1 modules... [exec] [INFO] Installing Nexus Staging features: [exec] [INFO] ... total of 1 executions of maven-deploy-plugin replaced with nexus-staging-maven-plugin [exec] [INFO] [exec] [INFO] -----------------< com.tibco.plugins:bw6-maven-plugin >----------------- [exec] [INFO] Building Plugin Code for Apache Maven and TIBCO BusinessWorks™ 2.8.0 [exec] [INFO] ----------------------------[ maven-plugin ]---------------------------- [exec] [INFO] [exec] [INFO] --- maven-install-plugin:2.4:install-file (default-cli) @ bw6-maven-plugin --- [exec] [INFO] Installing /d1/opt/tibco/bwce/bwce/2.6/maven/plugins/bw6-maven-plugin/fabric8/fabric8-maven-plugin-4.4.1.jar to /d1/usr/ASXPROD/yau_k/.m2/repository/io/fabric8/fabric8-maven-plugin/4.4.1/fabric8-maven-plugin-4.4.1.jar [exec] [INFO] Installing /d1/opt/tibco/bwce/bwce/2.6/maven/plugins/bw6-maven-plugin/fabric8/pom.xml to /d1/usr/ASXPROD/yau_k/.m2/repository/io/fabric8/fabric8-maven-plugin/4.4.1/fabric8-maven-plugin-4.4.1.pom [exec] [INFO] ------------------------------------------------------------------------ [exec] [INFO] BUILD SUCCESS [exec] [INFO] ------------------------------------------------------------------------ [exec] [INFO] Total time: 1.217 s [exec] [INFO] Finished at: 2021-02-16T14:49:28+11:00 [exec] [INFO] ------------------------------------------------------------------------
maven-plugin-install:
setup:
BUILD SUCCESSFUL Total time: 1 minute 3 seconds
However, after importing a project with pom.xml, the Studio hung indefinitely when building workspace.
Hi everyone,
I try to install version 2.7.0 of the plugin for my client whose computers are not authorized to access the internet. How can I do?
The problem is located in this step of the plugin's build.xml file