Difference between revisions of "Talk:Target Platform"

From Developer Documents
Jump to navigation Jump to search
Line 24: Line 24:
 
===== Install Buckminster Headless =====
 
===== Install Buckminster Headless =====
  
Shell-script:
+
Installation shell script:
 
<div style="background-color:#f8f8f8; border: 1px dashed #cccccc; padding: 1ex; margin-left:2em; margin-top: 1em; margin-bottom:1em;">
 
<div style="background-color:#f8f8f8; border: 1px dashed #cccccc; padding: 1ex; margin-left:2em; margin-top: 1em; margin-bottom:1em;">
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
 
!#/bin/bash
 
!#/bin/bash
  
ver=$1
+
VER=$1
 +
TARGET=$2
  
 
wget -O director_latest.zip "http://www.eclipse.org/downloads/download.php?file=/tools/buckminster/products/director_latest.zip&url=http://ftp-stud.fht-esslingen.de/pub/Mirrors/eclipse/tools/buckminster/products/director_latest.zip&mirror_id=17"
 
wget -O director_latest.zip "http://www.eclipse.org/downloads/download.php?file=/tools/buckminster/products/director_latest.zip&url=http://ftp-stud.fht-esslingen.de/pub/Mirrors/eclipse/tools/buckminster/products/director_latest.zip&mirror_id=17"
 
unzip director_latest.zip
 
unzip director_latest.zip
  
director/director -r http://download.eclipse.org/tools/buckminster/headless-${ver}/ -d /var/hudson/bin/buckminster -p Buckminster -i org.eclipse.buckminster.cmdline.product
+
director/director -r http://download.eclipse.org/tools/buckminster/headless-${VER}/ -d ${TARGET} -p Buckminster -i org.eclipse.buckminster.cmdline.product
for i in core cvs git maven pde; do buckminster install http://download.eclipse.org/tools/buckminster/headless-${ver}/ org.eclipse.buckminster.$i.headless.feature; done
+
 
buckminster install http://download.eclipse.org/tools/buckminster/headless-${ver}/ org.eclipse.buckminster.psf.feature
+
cd ${TARGET}
buckminster install http://download.cloudsmith.com/buckminster/external-${ver}/ org.eclipse.buckminster.subversive.headless.feature
+
 
 +
for i in core cvs git maven pde; do ./buckminster install http://download.eclipse.org/tools/buckminster/headless-${VER}/ org.eclipse.buckminster.$i.headless.feature; done
 +
./buckminster install http://download.eclipse.org/tools/buckminster/headless-${VER}/ org.eclipse.buckminster.psf.feature
 +
./buckminster install http://download.cloudsmith.com/buckminster/external-${VER}/ org.eclipse.buckminster.subversive.headless.feature
 
</syntaxhighlight>
 
</syntaxhighlight>
 
</div>
 
</div>
  
* director -r http://download.eclipse.org/tools/buckminster/headless-3.6/ -d /var/hudson/bin/buckminster -p Buckminster -i org.eclipse.buckminster.cmdline.product
+
Installation batch script:
* for i in core cvs git maven pde; do buckminster install http://download.eclipse.org/tools/buckminster/headless-3.6/ org.eclipse.buckminster.$i.headless.feature; done
+
<div style="background-color:#f8f8f8; border: 1px dashed #cccccc; padding: 1ex; margin-left:2em; margin-top: 1em; margin-bottom:1em;">
* buckminster install http://download.eclipse.org/tools/buckminster/headless-3.6/ org.eclipse.buckminster.psf.feature
+
<syntaxhighlight lang="bat">
* buckminster install http://download.cloudsmith.com/buckminster/external-3.6 org.eclipse.buckminster.subversive.headless.feature
+
set VER=%1
 +
set TARGET=%2
 +
 
 +
director\director -r http://download.eclipse.org/tools/buckminster/headless-%VER%/ -d %TARGET% -p Buckminster -i org.eclipse.buckminster.cmdline.product
  
 +
cd /D %TARGET%
 +
 +
for %i in (core cvs git maven pde) do buckminster install http://download.eclipse.org/tools/buckminster/headless-%VER%/ org.eclipse.buckminster.%i.headless.feature
 +
buckminster install http://download.eclipse.org/tools/buckminster/headless-%VER%/ org.eclipse.buckminster.psf.feature
 +
buckminster install http://download.cloudsmith.com/buckminster/external-%VER%/ org.eclipse.buckminster.subversive.headless.feature
 +
</syntaxhighlight>
 +
</div>
  
 
* Install Buckminster
 
* Install Buckminster

Revision as of 11:14, 23 June 2011

Buckminster

Installation

  1. Install headless command line tool
  2. Install hudson Buckminster plug-in and configure hudson to use command line tool

Helpful links:

Headless command line tool

Install P2 director
@eclipsec.exe -nosplash -application org.eclipse.equinox.p2.director %*

OR

Install Buckminster Headless

Installation shell script:

<syntaxhighlight lang="bash"> !#/bin/bash

VER=$1 TARGET=$2

wget -O director_latest.zip "http://www.eclipse.org/downloads/download.php?file=/tools/buckminster/products/director_latest.zip&url=http://ftp-stud.fht-esslingen.de/pub/Mirrors/eclipse/tools/buckminster/products/director_latest.zip&mirror_id=17" unzip director_latest.zip

director/director -r http://download.eclipse.org/tools/buckminster/headless-${VER}/ -d ${TARGET} -p Buckminster -i org.eclipse.buckminster.cmdline.product

cd ${TARGET}

for i in core cvs git maven pde; do ./buckminster install http://download.eclipse.org/tools/buckminster/headless-${VER}/ org.eclipse.buckminster.$i.headless.feature; done ./buckminster install http://download.eclipse.org/tools/buckminster/headless-${VER}/ org.eclipse.buckminster.psf.feature ./buckminster install http://download.cloudsmith.com/buckminster/external-${VER}/ org.eclipse.buckminster.subversive.headless.feature </syntaxhighlight>

Installation batch script:

<syntaxhighlight lang="bat"> set VER=%1 set TARGET=%2

director\director -r http://download.eclipse.org/tools/buckminster/headless-%VER%/ -d %TARGET% -p Buckminster -i org.eclipse.buckminster.cmdline.product

cd /D %TARGET%

for %i in (core cvs git maven pde) do buckminster install http://download.eclipse.org/tools/buckminster/headless-%VER%/ org.eclipse.buckminster.%i.headless.feature buckminster install http://download.eclipse.org/tools/buckminster/headless-%VER%/ org.eclipse.buckminster.psf.feature buckminster install http://download.cloudsmith.com/buckminster/external-%VER%/ org.eclipse.buckminster.subversive.headless.feature </syntaxhighlight>

  • Install Buckminster
  director
	-r http://www.simantics.org/update/
	-d <buckminster install folder>
	-p Buckminster
	-i org.eclipse.buckminster.cmdline.product
  • Install Addons
    • Go to buckminster install folder.
 buckminster listsite
 buckminster listsite http://www.simantics.org/update/buckminster/
 buckminster install http://www.simantics.org/update/ org.eclipse.buckminster.subversive.headless.feature
 buckminster install http://www.simantics.org/update/ org.eclipse.buckminster.pde.headless.feature

Original Helios repositories, Use these incase of problems

Original Indigo repositories:

One line install:

eclipsec.exe -nosplash -application org.eclipse.equinox.p2.director  -d ~/buckminster_yritys2 -p Buckminster -r http://download.eclipse.org/tools/buckminster/headless-3.6/,http://download.cloudsmith.com/buckminster/external-3.6,http://download.eclipse.org/releases/helios -i org.eclipse.buckminster.pde.headless.feature.feature.group,org.eclipse.buckminster.subversive.headless.feature.feature.group,org.eclipse.buckminster.core.headless.feature.feature.group,org.eclipse.buckminster.cmdline.product

Resource Map

Jotta Simanticsin sisältö ja sisällön sijainti kartoittuu ja tulee helpommin buckminsterin saataville on tärkeää, että Simantics.rmap laitetaan saataville suoraan simantics.org:sta.

Tip.png Go to http://www.simantics.org/download/ for Simantics-related Buckminster resources.


Latest version
http://www.simantics.org/download/head
1.4 Release
http://www.simantics.org/download/1.4 for 1.4

Ylläpito kannattaa tehdä SVN:ssä (brancheineen). Lisätään cronjob varmistamaan saatavuuden simantics.org:ssa. Rmap laitetaan Simantics-versioiden mukaisesti versioituihin hakemistoihin.

Actions

  • CQUERY SDK ja Sysdynin materialisointiin SVN:stä Simantics RMAPin perusteella.
  • site.p2: Target platformien generointiin materialisoidun workspacen perusteella.
  • site.p2.zip: Zipatun P2 repositoryn generointiin.

B3

http://www.eclipse.org/modeling/emft/b3/ http://wiki.eclipse.org/Eclipse_b3/aggregator/manual http://www.eclipse.org/downloads/download.php?file=/modeling/emft/b3/documentation/B3Book2.pdf

Tarvitaan lisää tietoa, mutta vaikuttaa potentiaalisesti hyödylliseltä työkalulta erilaisten kokoonpanojen helpommassa koostamisessa.

Installation

director -r http://download.eclipse.org/modeling/emft/b3/headless-3.6 -d /var/hudson/bin/b3 -p b3 -i org.eclipse.b3.cli.product -i org.eclipse.b3.aggregator.engine.feature.feature.group