Difference between revisions of "Buckminster"

From Developer Documents
Jump to navigation Jump to search
(Created page with "== Buckminster == === Installation === # Install headless command line tool # Install [http://www.google.fi/search?sourceid=chrome&ie=UTF-8&q=jenkins+buckminster Buckminster pl...")
 
 
(18 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Buckminster ==
+
== Installation ==
  
=== Installation ===
+
# [[#Headless command line tool|Install headless command line tool]]
 
+
# Install [https://wiki.jenkins-ci.org/display/JENKINS/Buckminster+PlugIn Buckminster plug-in] into Jenkins and configure Jenkins to use command the line tool
# Install headless command line tool
 
# Install [http://www.google.fi/search?sourceid=chrome&ie=UTF-8&q=jenkins+buckminster Buckminster plug-in] into Jenkins and configure Jenkins to use command line tool
 
  
 
Helpful links:
 
Helpful links:
Line 10: Line 8:
 
* http://www.ralfebert.de/blog/eclipsercp/rcp_builds/
 
* http://www.ralfebert.de/blog/eclipsercp/rcp_builds/
  
==== Headless command line tool ====
+
=== Headless command line tool ===
===== Install P2 director =====
+
==== Install P2 director ====
  
 
* Download and extract latest P2 Director ( http://www.eclipse.org/buckminster/downloads.html )
 
* Download and extract latest P2 Director ( http://www.eclipse.org/buckminster/downloads.html )
 
** http://www.eclipse.org/downloads/download.php?file=/tools/buckminster/products/director_latest.zip  
 
** http://www.eclipse.org/downloads/download.php?file=/tools/buckminster/products/director_latest.zip  
  
===== Install Buckminster Headless =====
+
==== Install Buckminster Headless ====
  
 
; Linux
 
; Linux
* Download [[:file:buckminster-install.sh|Shell-script for installation in Linux]].
+
* Download [[:file:buckminster-install.sh|shell-script for installation in Linux]].
* <code>sh buckminster-install.sh 3.7 /opt/buckminster-3.7</code>
+
* <code>sh buckminster-install.sh 4.3 /opt/buckminster-4.3</code>
  
 
; Windows
 
; Windows
* Download [[:file:buckminster-install.txt|Batch script for installation in Windows]].
+
* Download [[:file:buckminster-install.txt|batch script for installation in Windows]].
 
* <code>rename buckminster-install.txt buckminster-install.bat</code>
 
* <code>rename buckminster-install.txt buckminster-install.bat</code>
* <code>buckminster-install 3.7 X:\opt\buckminster-3.7</code>
+
* <code>buckminster-install 4.3 X:\opt\buckminster-4.3</code>
  
  
 
'''NOTE:''' The installation directory '''must be an absolute directory path''' (with drive letter in Windows), otherwise the installed buckminster product will not work properly.
 
'''NOTE:''' The installation directory '''must be an absolute directory path''' (with drive letter in Windows), otherwise the installed buckminster product will not work properly.
  
=== Resource Maps ===
+
== Resource Maps ==
 +
 
 +
Resource maps are used to describe where and how resources, such as Eclipse plug-ins and features (i.e. OSGi bundles), are available to consumers.
  
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.
+
In order to make available and propagate knowledge about the component structure of the Simantics platform to users and especially to buckminster, it is important to have Simantics resource maps openly available on the web.
  
 
<blockquote style="background-color: #eff5fa; border: solid thin lightgrey; padding: 1ex">
 
<blockquote style="background-color: #eff5fa; border: solid thin lightgrey; padding: 1ex">
Line 42: Line 42:
  
 
;Latest version: http://www.simantics.org/download/head
 
;Latest version: http://www.simantics.org/download/head
;1.4 Release: http://www.simantics.org/download/1.4 for 1.4
+
;1.11 Release: http://www.simantics.org/download/1.11
 +
;1.10 Release: http://www.simantics.org/download/1.10
 +
;1.9 Release: http://www.simantics.org/download/1.9
 +
;1.8 Release: http://www.simantics.org/download/1.8
 +
;1.7 Release: http://www.simantics.org/download/1.7
 +
;1.6 Release: http://www.simantics.org/download/1.6
 
|}
 
|}
 
</blockquote>
 
</blockquote>
  
Ylläpito kannattaa tehdä SVN:ssä (brancheineen). Lisätään cronjob varmistamaan saatavuuden simantics.org:ssa. Rmap laitetaan Simantics-versioiden mukaisesti versioituihin hakemistoihin.
+
Resource map maintenance is performed under version control. Separate branches are kept for Simantics versions. Credentials are needed for access.
 +
svn checkout https://www.simantics.org/svn/simantics/target/branches/{head,1.11,1.10,1.9,1.8,1.7,1.6}
 +
 
 +
Deprecated repository:
 +
git clone ssh://gitosis@www.simantics.org/simantics-buckminster
  
=== Actions ===
+
== Actions ==
  
* CQUERY SDK ja Sysdynin materialisointiin SVN:stä Simantics RMAPin perusteella.
+
* ''Component queries'' (CQUERY) are used for materializing components from version control based on ''resource maps'' (RMAP)
* site.p2: Target platformien generointiin materialisoidun workspacen perusteella.
+
* site.p2: For generating a full-fledged P2 site from a specified Eclipse feature project
* site.p2.zip: Zipatun P2 repositoryn generointiin.
+
* site.p2.zip: For ZIP archiving the the P2 site generated by the ''site.p2'' action.
  
 
== B3 ==
 
== B3 ==
Line 60: Line 69:
 
http://www.eclipse.org/downloads/download.php?file=/modeling/emft/b3/documentation/B3Book2.pdf
 
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.
+
More information on this tool is still needed, but it seems to be potentially useful in Simantics for easily composing aggregate P2 sites out of all our P2 sites.
  
 
=== Installation ===
 
=== Installation ===
  
<code>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</code>
+
<pre style="white-space: pre-wrap">director -r http://download.eclipse.org/modeling/emft/b3/headless-3.6 -d /opt/b3 -p b3 -i org.eclipse.b3.cli.product -i org.eclipse.b3.aggregator.engine.feature.feature.group</pre>

Latest revision as of 00:48, 8 November 2013

Installation

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

Helpful links:

Headless command line tool

Install P2 director

Install Buckminster Headless

Linux
Windows


NOTE: The installation directory must be an absolute directory path (with drive letter in Windows), otherwise the installed buckminster product will not work properly.

Resource Maps

Resource maps are used to describe where and how resources, such as Eclipse plug-ins and features (i.e. OSGi bundles), are available to consumers.

In order to make available and propagate knowledge about the component structure of the Simantics platform to users and especially to buckminster, it is important to have Simantics resource maps openly available on the web.

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


Latest version
http://www.simantics.org/download/head
1.11 Release
http://www.simantics.org/download/1.11
1.10 Release
http://www.simantics.org/download/1.10
1.9 Release
http://www.simantics.org/download/1.9
1.8 Release
http://www.simantics.org/download/1.8
1.7 Release
http://www.simantics.org/download/1.7
1.6 Release
http://www.simantics.org/download/1.6

Resource map maintenance is performed under version control. Separate branches are kept for Simantics versions. Credentials are needed for access.

svn checkout https://www.simantics.org/svn/simantics/target/branches/{head,1.11,1.10,1.9,1.8,1.7,1.6}

Deprecated repository:

git clone ssh://gitosis@www.simantics.org/simantics-buckminster

Actions

  • Component queries (CQUERY) are used for materializing components from version control based on resource maps (RMAP)
  • site.p2: For generating a full-fledged P2 site from a specified Eclipse feature project
  • site.p2.zip: For ZIP archiving the the P2 site generated by the site.p2 action.

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

More information on this tool is still needed, but it seems to be potentially useful in Simantics for easily composing aggregate P2 sites out of all our P2 sites.

Installation

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