1. Build JBT TP' + JBDS TP' {code} cd ~/eclipse/workspace-jboss/jbosstools-github-master/jbosstools-target-platforms git checkout https://github.com/jbosstools/jbosstools-target-platforms/pull/36 BASEDIR=`pwd` for PROJECT in jbosstools jbdevstudio; do pushd ${BASEDIR}/${PROJECT}/multiple && mvn -U org.jboss.tools.tycho-plugins:target-platform-utils:0.16.0-SNAPSHOT:fix-versions -DtargetFile=${PROJECT}-multiple.target && rm -f ${PROJECT}-multiple.target ${PROJECT}-multiple.target_update_hints.txt && mv -f ${PROJECT}-multiple.target_fixedVersion.target ${PROJECT}-multiple.target && popd pushd ${BASEDIR}/${PROJECT} && mvn -U install -DtargetRepositoryUrl=file://${BASEDIR}/${PROJECT}/multiple/target/${PROJECT}-multiple.target.repo/ && popd; done {code} Resulting target platform sites are: ~/eclipse/workspace-jboss/jbosstools-github-master/jbosstools-target-platforms/jbosstools/multiple/target/jbosstools-multiple.target.repo ~/eclipse/workspace-jboss/jbosstools-github-master/jbosstools-target-platforms/jbdevstudio/multiple/target/jbdevstudio-multiple.target.repo --- 2. Build Central TP' {code} cd ~/eclipse/workspace-jboss/jbosstools-github-master/jbosstools-discovery/jbtcentraltarget/ git checkout https://github.com/jbosstools/jbosstools-discovery/pull/127 BASEDIR=`pwd` pushd multiple && mvn -U org.jboss.tools.tycho-plugins:target-platform-utils:0.19.0-SNAPSHOT:fix-versions -DtargetFile=jbtcentral-multiple.target && rm -f jbtcentral-multiple.target jbtcentral-multiple.target_update_hints.txt && mv -f jbtcentral-multiple.target_fixedVersion.target jbtcentral-multiple.target && popd && mvn -U install -DtargetRepositoryUrl=file://${BASEDIR}/multiple/target/jbtcentral-multiple.target.repo/ {code} Resulting target platform site is: ~/eclipse/workspace-jboss/jbosstools-github-master/jbosstools-discovery/jbtcentraltarget/multiple/target/jbtcentral-multiple.target.repo --- 3. Build a JBT' and JBDS' Central Discovery sites: i. Build the site: {code} cd ~/eclipse/workspace-jboss/jbosstools-github-master/jbosstools-discovery/jbosstools mvn clean install -DUPDATE_SITE=file:///home/nboldt/eclipse/workspace-jboss/jbosstools-github-master/jbosstools-build-sites/aggregate/site/target/repository/ \ -DEXTRAS_SITE=file:///home/nboldt/tru/disco/jbtcentraltarget/multiple/target/jbtcentral-multiple.target.repo/ cd ~/eclipse/workspace-jboss/jbosstools-github-master/jbosstools-discovery/jbdevstudio mvn clean install -DUPDATE_SITE=file:///home/nboldt/eclipse/workspace-jboss/jbdevstudio-github-master/jbdevstudio-product/site/target/repository/ \ -DEXTRAS_SITE=file:///home/nboldt/tru/disco/jbtcentraltarget/multiple/target/jbtcentral-multiple.target.repo/ {code} Resulting sites are here: ~/eclipse/workspace-jboss/jbosstools-github-master/jbosstools-discovery/jbosstools/org.jboss.tools.central.discovery/target/discovery-site ~/eclipse/workspace-jboss/jbosstools-github-master/jbosstools-discovery/jbdevstudio/com.jboss.jbds.central.discovery/target/discovery-site ii. Run a local web server to host the site: Launch a local web server as per https://github.com/jbosstools/jbosstools-discovery/blob/master/README.building.and.testing.txt so that you can resolve file:///home/nboldt/eclipse/workspace-jboss/jbosstools-github-master/jbosstools-discovery/ as http://localhost:8080/ Resulting discovery sites are here: http://localhost:8080/jbosstools/org.jboss.tools.central.discovery/target/discovery-site/ http://localhost:8080/jbdevstudio/com.jboss.jbds.central.discovery/target/discovery-site/ --- 4. Build JBT agg' using locally built JBT TP' i. Apply this PR to allow a jbosstools-target-site parameter as URL for a local site, and use that parameter as an associated site reference within the site's content.jar!/content.xml: https://github.com/jbosstools/jbosstools-build-sites/pull/132 ii. Then build: {code} cd ~/eclipse/workspace-jboss/jbosstools-github-master/jbosstools-build-sites/aggregate/site mvn clean install -Dno-target-platform -Djbosstools-target-site=file:///home/nboldt/eclipse/workspace-jboss/jbosstools-github-master/jbosstools-target-platforms/jbosstools/multiple/target/jbosstools-multiple.target.repo/ {code} Resulting site is: ~/eclipse/workspace-jboss/jbosstools-github-master/jbosstools-build-sites/aggregate/site/target/repository/ --- 5. Build JBDS' using locally built JBDS TP' + JBT agg' + Central TP' i. Apply this PR to allow a jbosstools-target-site parameter as URL for a local site https://github.com/jbdevstudio/jbdevstudio-product/pull/141 ii. Then build: {code} cd ~/eclipse/workspace-jboss/jbdevstudio-github-master/jbdevstudio-product mvn clean install -Dno-target-platform \ -Djbosstools-site=file:///home/nboldt/eclipse/workspace-jboss/jbosstools-github-master/jbosstools-build-sites/aggregate/site/target/repository/ \ -Djbosstools-target-site=file:///home/nboldt/eclipse/workspace-jboss/jbosstools-github-master/jbosstools-target-platforms/jbdevstudio/multiple/target/jbdevstudio-multiple.target.repo/ \ -DJBOSS_CENTRAL_URL=file:///home/nboldt/tru/disco/jbtcentraltarget/multiple/target/jbtcentral-multiple.target.repo/ \ -DJBOSS_CENTRAL_ZIP=file:///home/nboldt/tru/disco/jbtcentraltarget/multiple/target/jbtcentral-multiple.target.repo/ {code} Resulting installer jar will be in: /home/nboldt/eclipse/workspace-jboss/jbdevstudio-github-master/jbdevstudio-product/installer/target/ --- 6. Install JBT agg' + JBT Central' into Eclipse Luna 4.4M5 i. Unpack /home/nboldt/tmp/Eclipse_Bundles/eclipse-jee-luna-M5-linux-gtk-x86_64.tar.gz ii. Help > Install new > file:///home/nboldt/eclipse/workspace-jboss/jbosstools-github-master/jbosstools-build-sites/aggregate/site/target/repository/ > select "Abridged Tools" category > install. iii. When prompted to restart, SHUT DOWN Eclipse. iv. Edit the eclipse.ini file to add this to the end (after the vmargs): -Djboss.discovery.site.url=http://localhost:8080/jbosstools/org.jboss.tools.central.discovery/target/discovery-site/ v. Restart Eclipse and install everything from Central except: Android, GWT+WB, JRebel, and the Maven GWT connectors (4) You may get an error installing Spring IDE 3.4 due to AJDT incompatibilities, but that is out of scope of this testing. See JBIDE-16545. If you get an error installing the GPE or GWT connectors, this has been fixed in another branch. See JBIDE-16543 --- 7. Install JBDS' from installer Cannot install from local build due to errors such as: {code:title=http://pastebin.com/8rRxbykx} An error occurred while collecting items to be installed session context was:(profile=jbds, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=). Problems downloading artifact: osgi.bundle,org.eclipse.jst.ws.consumption,1.0.750.v201310240024. File has invalid content:/tmp/signatureFile3021125246029398903.jar Invalid content:webserviceutils.jar Caused by: org.eclipse.osgi.signedcontent.InvalidContentException: The file "webserviceutils.jar" in the jar "/tmp/signatureFile3021125246029398903.jar" has been tampered! Problems downloading artifact: osgi.bundle,org.eclipse.wst.command.env,1.0.450.v201401132315. File has invalid content:/tmp/signatureFile8051755916434362494.jar Invalid content:ant-lib/anttasks.jar Caused by: org.eclipse.osgi.signedcontent.InvalidContentException: The file "ant-lib/anttasks.jar" in the jar "/tmp/signatureFile8051755916434362494.jar" has been tampered! Application failed, log file location: /home/nboldt/jbdevstudio-product-universal-8.0.0.Alpha2-v20140221-2322_/studio/p2/director/configuration/1393031139465.log {code} 8. Install JBDS' + JBDS Central' into Eclipse Luna 4.4M5 i. Unpack /home/nboldt/tmp/Eclipse_Bundles/eclipse-jee-luna-M5-linux-gtk-x86_64.tar.gz ii. Help > Install new > file:///home/nboldt/eclipse/workspace-jboss/jbdevstudio-github-master/jbdevstudio-product/site/target/repository/ > select "JBDS 8 Core" category > install. iii. When prompted to restart, SHUT DOWN Eclipse. iv. Edit the eclipse.ini file to add this to the end (after the vmargs, replacing the existing entry): -Djboss.discovery.directory.url=http://localhost:8080/jbdevstudio/com.jboss.jbds.central.discovery/target/discovery-site/devstudio-directory.xml -Djboss.discovery.site.url=http://localhost:8080/jbdevstudio/com.jboss.jbds.central.discovery/target/discovery-site/ v. Restart Eclipse and install everything from Central except: Android, GWT+WB, JRebel, and the Maven GWT connectors (4) You may get an error installing Spring IDE 3.4 due to AJDT incompatibilities, but that is out of scope of this testing. See JBIDE-16545. If you get an error installing the GPE or GWT connectors, this has been fixed in another branch. See JBIDE-16543