Skip to content

Commit 7fa8527

Browse files
authored
Fix Tycho build for native fragments (#14)
1 parent 9b994c9 commit 7fa8527

19 files changed

Lines changed: 97 additions & 5 deletions

File tree

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Manifest-Version: 1.0
2+
Bundle-ManifestVersion: 2
3+
Bundle-Name: ISL Core Bundle
4+
Bundle-SymbolicName: com.emmtrix.isl.core
5+
Bundle-Version: 0.1.0.qualifier
6+
Bundle-Vendor: Emmtrix
7+
Export-Package: com.emmtrix.isl.core
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
source.. = src/main/java/
2+
output.. = target/classes/
3+
bin.includes = META-INF/,.

bundles/com.emmtrix.isl.core/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
</parent>
1313

1414
<artifactId>com.emmtrix.isl.core</artifactId>
15-
<packaging>bundle</packaging>
15+
<packaging>eclipse-plugin</packaging>
1616
<name>ISL Core Bundle</name>
1717

1818
<build>
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Manifest-Version: 1.0
2+
Bundle-ManifestVersion: 2
3+
Bundle-Name: ISL JNI Bundle
4+
Bundle-SymbolicName: com.emmtrix.isl.jni
5+
Bundle-Version: 0.1.0.qualifier
6+
Bundle-Vendor: Emmtrix
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
bin.includes = META-INF/,
2+
.

bundles/com.emmtrix.isl.jni/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
</parent>
1313

1414
<artifactId>com.emmtrix.isl.jni</artifactId>
15-
<packaging>bundle</packaging>
15+
<packaging>eclipse-plugin</packaging>
1616
<name>ISL JNI Bundle</name>
1717

1818
<build>
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
Manifest-Version: 1.0
2+
Bundle-ManifestVersion: 2
3+
Bundle-Name: ISL Native Fragment (linux x86_64)
4+
Bundle-SymbolicName: com.emmtrix.isl.native.linux.x86_64
5+
Bundle-Version: 0.1.0.qualifier
6+
Bundle-Vendor: Emmtrix
7+
Fragment-Host: com.emmtrix.isl.jni
8+
Bundle-NativeCode: native/linux/x86_64/libisl_wrapper.so;osname=linux;
9+
processor=x86_64
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
bin.includes = META-INF/,
2+
native/

bundles/com.emmtrix.isl.native.linux.x86_64/pom.xml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,21 @@
1212
</parent>
1313

1414
<artifactId>com.emmtrix.isl.native.linux.x86_64</artifactId>
15-
<packaging>bundle</packaging>
15+
<packaging>eclipse-plugin</packaging>
1616
<name>ISL Native Fragment (linux x86_64)</name>
1717

1818
<build>
1919
<plugins>
2020
<plugin>
21+
<groupId>org.eclipse.tycho</groupId>
22+
<artifactId>tycho-compiler-plugin</artifactId>
23+
<version>${tycho.version}</version>
24+
<executions>
25+
<execution>
26+
<id>default-validate-classpath</id>
27+
<phase>none</phase>
28+
</execution>
29+
</executions>
2130
<groupId>org.apache.felix</groupId>
2231
<artifactId>maven-bundle-plugin</artifactId>
2332
<version>${maven.bundle.plugin.version}</version>
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
This is a placeholder for the Linux native JNI library.
2+
Build native artifacts with CMake to replace this file.

0 commit comments

Comments
 (0)