directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seelm...@apache.org
Subject svn commit: r1625414 - in /directory/studio/branches/studio-tycho: ./ eclipse-target-platform/ eclipse-target-platform/eclipse-target-platform-template/ plugins/ plugins/common.core/ plugins/common.core/META-INF/
Date Tue, 16 Sep 2014 22:07:54 GMT
Author: seelmann
Date: Tue Sep 16 22:07:53 2014
New Revision: 1625414

URL: http://svn.apache.org/r1625414
Log:
Very basic tycho build for the first plugin. Additional module to handle 3rd party dependencies
and to generate Eclipse target platform configuration file. Use target platform for maven
build.

Added:
    directory/studio/branches/studio-tycho/eclipse-target-platform/   (with props)
    directory/studio/branches/studio-tycho/eclipse-target-platform/README.md
    directory/studio/branches/studio-tycho/eclipse-target-platform/eclipse-target-platform-template/
    directory/studio/branches/studio-tycho/eclipse-target-platform/eclipse-target-platform-template/eclipse-target-platform.target
  (with props)
    directory/studio/branches/studio-tycho/eclipse-target-platform/pom.xml   (with props)
    directory/studio/branches/studio-tycho/plugins/common.core/META-INF/
    directory/studio/branches/studio-tycho/plugins/common.core/META-INF/MANIFEST.MF
    directory/studio/branches/studio-tycho/plugins/common.core/build.properties
Modified:
    directory/studio/branches/studio-tycho/plugins/common.core/   (props changed)
    directory/studio/branches/studio-tycho/plugins/common.core/pom.xml
    directory/studio/branches/studio-tycho/plugins/pom.xml
    directory/studio/branches/studio-tycho/pom.xml

Propchange: directory/studio/branches/studio-tycho/eclipse-target-platform/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Tue Sep 16 22:07:53 2014
@@ -0,0 +1,4 @@
+.project
+.settings
+eclipse-target-platform.target
+target

Added: directory/studio/branches/studio-tycho/eclipse-target-platform/README.md
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-tycho/eclipse-target-platform/README.md?rev=1625414&view=auto
==============================================================================
--- directory/studio/branches/studio-tycho/eclipse-target-platform/README.md (added)
+++ directory/studio/branches/studio-tycho/eclipse-target-platform/README.md Tue Sep 16 22:07:53
2014
@@ -0,0 +1,14 @@
+
+This project generates two things:
+
+1. A local P2 repository for all 3rd party dependencies needed
+2. A Eclipse target platform file
+
+This project needs to be build first.
+
+New dependencies need to be added to pom.xml and to the template.
+
+Sources:
+
+* <https://github.com/skosmalla/generate-p2-repository-from-maven-artifacts>
+* <https://github.com/reficio/p2-maven-plugin>

Added: directory/studio/branches/studio-tycho/eclipse-target-platform/eclipse-target-platform-template/eclipse-target-platform.target
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-tycho/eclipse-target-platform/eclipse-target-platform-template/eclipse-target-platform.target?rev=1625414&view=auto
==============================================================================
Binary file - no diff available.

Propchange: directory/studio/branches/studio-tycho/eclipse-target-platform/eclipse-target-platform-template/eclipse-target-platform.target
------------------------------------------------------------------------------
    svn:mime-type = application/xml

Added: directory/studio/branches/studio-tycho/eclipse-target-platform/pom.xml
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-tycho/eclipse-target-platform/pom.xml?rev=1625414&view=auto
==============================================================================
Binary file - no diff available.

Propchange: directory/studio/branches/studio-tycho/eclipse-target-platform/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = application/xml

Propchange: directory/studio/branches/studio-tycho/plugins/common.core/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Tue Sep 16 22:07:53 2014
@@ -11,4 +11,3 @@ eclipse-classes
 *.iml
 *.ipr
 dependency-reduced-pom.xml
-META-INF

Added: directory/studio/branches/studio-tycho/plugins/common.core/META-INF/MANIFEST.MF
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-tycho/plugins/common.core/META-INF/MANIFEST.MF?rev=1625414&view=auto
==============================================================================
--- directory/studio/branches/studio-tycho/plugins/common.core/META-INF/MANIFEST.MF (added)
+++ directory/studio/branches/studio-tycho/plugins/common.core/META-INF/MANIFEST.MF Tue Sep
16 22:07:53 2014
@@ -0,0 +1,11 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Apache Directory Studio Common Core
+Bundle-Vendor: The Apache Software Foundation
+Bundle-Version: 2.0.0.qualifier
+Bundle-SymbolicName: org.apache.directory.studio.common.core;singleton:=true
+Bundle-License: http://www.apache.org/licenses/LICENSE-2.0.txt
+Bundle-RequiredExecutionEnvironment: JavaSE-1.6
+Export-Package: org.apache.directory.studio.common.core.jobs;version="2.0.0"
+Import-Package: org.apache.commons.lang
+Require-Bundle: org.eclipse.core.runtime

Added: directory/studio/branches/studio-tycho/plugins/common.core/build.properties
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-tycho/plugins/common.core/build.properties?rev=1625414&view=auto
==============================================================================
--- directory/studio/branches/studio-tycho/plugins/common.core/build.properties (added)
+++ directory/studio/branches/studio-tycho/plugins/common.core/build.properties Tue Sep 16
22:07:53 2014
@@ -0,0 +1,3 @@
+source.. = src/main/java/
+bin.includes = META-INF/,\
+               .

Modified: directory/studio/branches/studio-tycho/plugins/common.core/pom.xml
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-tycho/plugins/common.core/pom.xml?rev=1625414&r1=1625413&r2=1625414&view=diff
==============================================================================
--- directory/studio/branches/studio-tycho/plugins/common.core/pom.xml (original)
+++ directory/studio/branches/studio-tycho/plugins/common.core/pom.xml Tue Sep 16 22:07:53
2014
@@ -27,9 +27,9 @@
     <relativePath>../</relativePath>
   </parent>
 
-  <artifactId>common.core</artifactId>
+  <artifactId>org.apache.directory.studio.common.core</artifactId>
   <name>Apache Directory Studio Common Core</name>
-  <packaging>jar</packaging>
+  <packaging>eclipse-plugin</packaging>
 
   <description />
 

Modified: directory/studio/branches/studio-tycho/plugins/pom.xml
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-tycho/plugins/pom.xml?rev=1625414&r1=1625413&r2=1625414&view=diff
==============================================================================
--- directory/studio/branches/studio-tycho/plugins/pom.xml (original)
+++ directory/studio/branches/studio-tycho/plugins/pom.xml Tue Sep 16 22:07:53 2014
@@ -24,6 +24,7 @@
     <groupId>org.apache.directory.studio</groupId>
     <artifactId>parent</artifactId>
     <version>2.0.0-SNAPSHOT</version>
+    <relativePath>../</relativePath>
   </parent>
 
   <artifactId>parent-plugins</artifactId>

Modified: directory/studio/branches/studio-tycho/pom.xml
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-tycho/pom.xml?rev=1625414&r1=1625413&r2=1625414&view=diff
==============================================================================
--- directory/studio/branches/studio-tycho/pom.xml (original)
+++ directory/studio/branches/studio-tycho/pom.xml Tue Sep 16 22:07:53 2014
@@ -61,6 +61,8 @@
     <studio.dist.url>${project.distributionManagement.repository.url}</studio.dist.url>
     <distMgmtSiteUrl>scpexe://people.apache.org/www/directory.apache.org/studio/gen-docs/${project.version}</distMgmtSiteUrl>
 
+    <tycho.version>0.20.0</tycho.version>
+
     <!-- Set versions for dependencies -->
 <!--     <com.bandlem.eclipse.fullscreen.version>1.0.4.201108061054</com.bandlem.eclipse.fullscreen.version>
-->
 <!--     <net.sf.ehcache.version>2.4.4</net.sf.ehcache.version> -->
@@ -105,6 +107,72 @@
     <module>plugins</module>
   </modules>
 
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.eclipse.tycho</groupId>
+        <artifactId>tycho-maven-plugin</artifactId>
+        <extensions>true</extensions>
+      </plugin>
+
+      <plugin>
+        <groupId>org.eclipse.tycho</groupId>
+        <artifactId>target-platform-configuration</artifactId>
+        <configuration>
+          <target>
+             <artifact>
+                <groupId>org.apache.directory.studio</groupId>
+                <artifactId>eclipse-target-platform</artifactId>
+                <version>${project.version}</version>
+             </artifact>
+          </target>
+          <environments>
+            <environment>
+              <os>linux</os>
+              <ws>gtk</ws>
+              <arch>x86</arch>
+            </environment>
+            <environment>
+              <os>linux</os>
+              <ws>gtk</ws>
+              <arch>x86_64</arch>
+            </environment>
+            <environment>
+              <os>win32</os>
+              <ws>win32</ws>
+              <arch>x86</arch>
+            </environment>
+            <environment>
+              <os>win32</os>
+              <ws>win32</ws>
+              <arch>x86_64</arch>
+            </environment>
+            <environment>
+              <os>macosx</os>
+              <ws>cocoa</ws>
+              <arch>x86_64</arch>
+            </environment>
+          </environments>
+        </configuration>
+      </plugin>
+    </plugins>
+
+    <pluginManagement>
+      <plugins>
+        <plugin>
+          <groupId>org.eclipse.tycho</groupId>
+          <artifactId>tycho-maven-plugin</artifactId>
+          <version>${tycho.version}</version>
+        </plugin>
+        <plugin>
+          <groupId>org.eclipse.tycho</groupId>
+          <artifactId>target-platform-configuration</artifactId>
+          <version>${tycho.version}</version>
+        </plugin>
+      </plugins>
+    </pluginManagement>
+  </build>
+
 <!--   <profiles> -->
     <!-- Skip tests -->
 <!--     <profile> -->



Mime
View raw message