Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Ended up with Maven based build against "Eclipse for RCP and RAP Developers" plus delta pack plus SWTBot. Both were deployed to my Maven repository and are unpacked during the build (if required). Therefore, I no longer care about the size of the target platform.</p> <pre><code>&lt;build&gt; &lt;plugins&gt; &lt;plugin&gt; &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt; &lt;artifactId&gt;maven-dependency-plugin&lt;/artifactId&gt; &lt;version&gt;2.4&lt;/version&gt; &lt;executions&gt; &lt;!-- Deploy target platform if required --&gt; &lt;execution&gt; &lt;id&gt;unpack-target-platform&lt;/id&gt; &lt;phase&gt;initialize&lt;/phase&gt; &lt;goals&gt; &lt;goal&gt;unpack&lt;/goal&gt; &lt;/goals&gt; &lt;configuration&gt; &lt;markersDirectory&gt;${target.platform.dir}&lt;/markersDirectory&gt; &lt;artifactItems&gt; &lt;artifactItem&gt; &lt;groupId&gt;org.eclipse&lt;/groupId&gt; &lt;artifactId&gt;rcp-target-platform&lt;/artifactId&gt; &lt;version&gt;3.7.2-win32-x86_64&lt;/version&gt; &lt;type&gt;zip&lt;/type&gt; &lt;outputDirectory&gt;${target.platform.dir.sdk}&lt;/outputDirectory&gt; &lt;/artifactItem&gt; &lt;artifactItem&gt; &lt;groupId&gt;org.eclipse&lt;/groupId&gt; &lt;artifactId&gt;rcp-target-platform-delta-pack&lt;/artifactId&gt; &lt;version&gt;3.7.2&lt;/version&gt; &lt;type&gt;zip&lt;/type&gt; &lt;outputDirectory&gt;${target.platform.dir.deltapack}&lt;/outputDirectory&gt; &lt;/artifactItem&gt; &lt;artifactItem&gt; &lt;groupId&gt;org.eclipse&lt;/groupId&gt; &lt;artifactId&gt;swtbot.eclipse&lt;/artifactId&gt; &lt;version&gt;2.0.5.20111003_1754-3676ac8-dev-e36&lt;/version&gt; &lt;type&gt;zip&lt;/type&gt; &lt;outputDirectory&gt;${target.platform.dir.swtbot}&lt;/outputDirectory&gt; &lt;/artifactItem&gt; &lt;/artifactItems&gt; &lt;/configuration&gt; &lt;/execution&gt; &lt;/executions&gt; &lt;/plugin&gt; &lt;/plugins&gt; &lt;/build&gt; &lt;properties&gt; &lt;!-- Build system properties --&gt; &lt;target.platform.dir&gt;/rcp-target-platform-3.7.2&lt;/target.platform.dir&gt; &lt;target.platform.dir.swtbot&gt;${target.platform.dir}/swtbot&lt;/target.platform.dir.swtbot&gt; &lt;target.platform.dir.swtbot.plugins&gt;${target.platform.dir.swtbot}/eclipse/plugins&lt;/target.platform.dir.swtbot.plugins&gt; &lt;target.platform.dir.sdk&gt;${target.platform.dir}/sdk&lt;/target.platform.dir.sdk&gt; &lt;target.platform.dir.sdk.plugins&gt;${target.platform.dir.sdk}/eclipse/plugins&lt;/target.platform.dir.sdk.plugins&gt; &lt;target.platform.dir.deltapack&gt;${target.platform.dir}/deltapack&lt;/target.platform.dir.deltapack&gt; &lt;target.platform.dir.deltapack.plugins&gt;${target.platform.dir.deltapack}/eclipse/plugins&lt;/target.platform.dir.deltapack.plugins&gt; &lt;pdebuild.launcherVersion&gt;1.2.0.v20110502&lt;/pdebuild.launcherVersion&gt; &lt;pdebuild.plugin.version&gt;3.7.0.v20111116-2009&lt;/pdebuild.plugin.version&gt; &lt;pdebuild.antDelegateBuildfile&gt;${pdebuild.configDirectory}/pdebuild-ant-from-mvn.xml&lt;/pdebuild.antDelegateBuildfile&gt; &lt;pdebuild.configDirectory&gt;${basedir}/pdebuild&lt;/pdebuild.configDirectory&gt; &lt;pdebuild.buildDirectory&gt;${project.build.directory}/${pdebuild.directory}&lt;/pdebuild.buildDirectory&gt; &lt;pdebuild.directory&gt;pde-build&lt;/pdebuild.directory&gt; &lt;/properties&gt; </code></pre> <p>I then call ant build from Maven like this:</p> <pre><code> &lt;!-- Delegate execution to PDE/Build via ant --&gt; &lt;plugin&gt; &lt;artifactId&gt;maven-antrun-plugin&lt;/artifactId&gt; &lt;version&gt;1.7&lt;/version&gt; &lt;executions&gt; &lt;execution&gt; &lt;phase&gt;compile&lt;/phase&gt; &lt;configuration&gt; &lt;target&gt; &lt;ant antfile="${pdebuild.antDelegateBuildfile}"&gt; &lt;property name="equinoxLauncherPluginVersion" value="${pdebuild.launcherVersion}" /&gt; &lt;property name="pdeBuildPluginVersion" value="${pdebuild.plugin.version}" /&gt; &lt;property name="projectsDirectory" value="${basedir}" /&gt; &lt;property name="baseLocation" value="${target.platform.dir}" /&gt; &lt;property name="buildDirectory" value="${pdebuild.buildDirectory}" /&gt; &lt;property name="builder" value="${pdebuild.configDirectory}" /&gt; &lt;property name="product" value="${gui.product}"/&gt; &lt;property name="runPackager" value="${pdebuild.runPackager}"/&gt; &lt;/ant&gt; &lt;/target&gt; &lt;/configuration&gt; &lt;goals&gt; &lt;goal&gt;run&lt;/goal&gt; &lt;/goals&gt; &lt;/execution&gt; &lt;/executions&gt; &lt;/plugin&gt; </code></pre> <p>I am happy with the set up now.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload