Skip to content

Commit 68c962d

Browse files
authored
Bundle vs pomfirst separate build and groupid (#240)
* rename folder full_compilation into tycho_full_compilation * use org.eclipse.gemoc.gemoc-studio.bundle as groupid All artefacts built using tycho in the gemoc-studio repository use this groupid * store launchconf for building the tycho part * add pomfirst build with support of BOM dependencies introduce the build of pomfirst jar with clean dependency management between jar and version management with a BOM (Bill of Materials) * add maven for thirdparty dependencies without explicit deployment (ie. not available on maven central) they are deployed as "bundle" ie. simple jar without maven dependency tree * add emf compare to thirdparties jars * version 3.4.0 Signed-off-by: Didier Vojtisek <[email protected]>
1 parent 6f3b24e commit 68c962d

File tree

66 files changed

+912
-24
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+912
-24
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2+
<launchConfiguration type="org.eclipse.m2e.Maven2LaunchConfigurationType">
3+
<booleanAttribute key="M2_DEBUG_OUTPUT" value="false"/>
4+
<stringAttribute key="M2_GOALS" value="clean package dependency:tree"/>
5+
<booleanAttribute key="M2_NON_RECURSIVE" value="false"/>
6+
<booleanAttribute key="M2_OFFLINE" value="false"/>
7+
<stringAttribute key="M2_PROFILES" value=""/>
8+
<listAttribute key="M2_PROPERTIES"/>
9+
<stringAttribute key="M2_RUNTIME" value="EMBEDDED"/>
10+
<booleanAttribute key="M2_SKIP_TESTS" value="true"/>
11+
<intAttribute key="M2_THREADS" value="1"/>
12+
<booleanAttribute key="M2_UPDATE_SNAPSHOTS" value="false"/>
13+
<stringAttribute key="M2_USER_SETTINGS" value=""/>
14+
<booleanAttribute key="M2_WORKSPACE_RESOLUTION" value="false"/>
15+
<mapAttribute key="org.eclipse.debug.core.environmentVariables">
16+
<mapEntry key="JAVAFX_HOME" value="/lib/javafx/javafx-sdk-11.0.2"/>
17+
</mapAttribute>
18+
<booleanAttribute key="org.eclipse.jdt.launching.ATTR_ATTR_USE_ARGFILE" value="false"/>
19+
<booleanAttribute key="org.eclipse.jdt.launching.ATTR_USE_CLASSPATH_ONLY_JAR" value="false"/>
20+
<stringAttribute key="org.eclipse.jdt.launching.WORKING_DIRECTORY" value="${workspace_loc:/gemoc-studio/dev_support/pomfirst_full_compilation}"/>
21+
</launchConfiguration>
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2+
<launchConfiguration type="org.eclipse.m2e.Maven2LaunchConfigurationType">
3+
<booleanAttribute key="M2_DEBUG_OUTPUT" value="false"/>
4+
<stringAttribute key="M2_GOALS" value="clean package"/>
5+
<booleanAttribute key="M2_NON_RECURSIVE" value="false"/>
6+
<booleanAttribute key="M2_OFFLINE" value="false"/>
7+
<stringAttribute key="M2_PROFILES" value="test_linux"/>
8+
<listAttribute key="M2_PROPERTIES"/>
9+
<stringAttribute key="M2_RUNTIME" value="EMBEDDED"/>
10+
<booleanAttribute key="M2_SKIP_TESTS" value="true"/>
11+
<intAttribute key="M2_THREADS" value="1"/>
12+
<booleanAttribute key="M2_UPDATE_SNAPSHOTS" value="false"/>
13+
<stringAttribute key="M2_USER_SETTINGS" value=""/>
14+
<booleanAttribute key="M2_WORKSPACE_RESOLUTION" value="false"/>
15+
<mapAttribute key="org.eclipse.debug.core.environmentVariables">
16+
<mapEntry key="JAVAFX_HOME" value="/home/dvojtise/Downloads/javafx-sdk-17.0.0.1"/>
17+
</mapAttribute>
18+
<booleanAttribute key="org.eclipse.jdt.launching.ATTR_ATTR_USE_ARGFILE" value="false"/>
19+
<booleanAttribute key="org.eclipse.jdt.launching.ATTR_USE_CLASSPATH_ONLY_JAR" value="false"/>
20+
<stringAttribute key="org.eclipse.jdt.launching.WORKING_DIRECTORY" value="${workspace_loc:/gemoc-studio/dev_support/tycho_full_compilation}"/>
21+
</launchConfiguration>
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<project xmlns="http://maven.apache.org/POM/4.0.0"
2+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4+
<modelVersion>4.0.0</modelVersion>
5+
<groupId>org.eclipse.gemoc.gemoc_studio</groupId>
6+
<artifactId>org.eclipse.gemoc.gemoc_studio.pomfirst</artifactId>
7+
<version>3.4.0-SNAPSHOT</version>
8+
9+
<packaging>pom</packaging>
10+
11+
<modules>
12+
<module>../../gemoc_studio/pomfirst</module>
13+
<module>../../../gemoc-studio-modeldebugging/pomfirst</module>
14+
</modules>
15+
</project>

dev_support/full_compilation/README.asciidoc renamed to dev_support/tycho_full_compilation/README.asciidoc

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Then compile using maven:
3838

3939
[source,bourne]
4040
----
41-
cd gemoc-studio/dev_support/full_compilation
41+
cd gemoc-studio/dev_support/tycho_full_compilation
4242
mvn package -Dmaven.repo.local=$PWD/localm2
4343
----
4444

@@ -76,6 +76,12 @@ You can save some time on the compilation in development mode using some of the
7676
* `-DskipTests=true` do not launch unit tests
7777
====
7878

79+
[NOTE]
80+
====
81+
The current versio compiles using Java11 and Java FX.
82+
You need to indicate the location of javafx using an environment variable JAVAFX_HOME indicating the location of your java fx installation.
83+
====
84+
7985

8086

8187
==== Advanced usage using docker

0 commit comments

Comments
 (0)