diff options
4 files changed, 129 insertions, 4 deletions
diff --git a/bundles/org.eclipse.core.filesystem.linux.x86/META-INF/MANIFEST.MF b/bundles/org.eclipse.core.filesystem.linux.x86/META-INF/MANIFEST.MF index d5348cd16..e71e0df94 100644 --- a/bundles/org.eclipse.core.filesystem.linux.x86/META-INF/MANIFEST.MF +++ b/bundles/org.eclipse.core.filesystem.linux.x86/META-INF/MANIFEST.MF @@ -2,7 +2,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: %fragmentName Bundle-SymbolicName: org.eclipse.core.filesystem.linux.x86; singleton:=true -Bundle-Version: 1.4.0.qualifier +Bundle-Version: 1.4.100.qualifier Bundle-Vendor: %providerName Fragment-Host: org.eclipse.core.filesystem;bundle-version="[1.3.0,2.0.0)" Bundle-Localization: fragment diff --git a/bundles/org.eclipse.core.filesystem.linux.x86/pom.xml b/bundles/org.eclipse.core.filesystem.linux.x86/pom.xml index f5b218bbb..de7d0523d 100644 --- a/bundles/org.eclipse.core.filesystem.linux.x86/pom.xml +++ b/bundles/org.eclipse.core.filesystem.linux.x86/pom.xml @@ -19,7 +19,7 @@ </parent> <groupId>org.eclipse.core</groupId> <artifactId>org.eclipse.core.filesystem.linux.x86</artifactId> - <version>1.4.0-SNAPSHOT</version> + <version>1.4.100-SNAPSHOT</version> <packaging>eclipse-plugin</packaging> <build> @@ -42,4 +42,66 @@ </plugin> </plugins> </build> + + <profiles> + <profile> + <id>build-natives</id> + <activation> + <property> + <!-- This has to be hardcoded. Profiles are not allowed to use pom defined properties :-( --> + <name>native</name> + <value>gtk.linux.x86</value> + </property> + </activation> + <build> + <plugins> + <plugin> + <artifactId>maven-antrun-plugin</artifactId> + <version>1.7</version> + <executions> + <execution> + <id>natives</id> + <phase>process-resources</phase> + <configuration> + <target> + <exec executable="make" newenvironment="false" dir="../org.eclipse.core.filesystem/natives/unix/linux/"/> + <copy todir="os/linux/x86" > + <fileset dir="../org.eclipse.core.filesystem/natives/unix/linux/"> + <include name="libunixfile_*.so"/> + </fileset> + </copy> + </target> + </configuration> + <goals> + <goal>run</goal> + </goals> + </execution> + </executions> + <dependencies> + <dependency> + <groupId>bsf</groupId> + <artifactId>bsf</artifactId> + <version>2.4.0</version> + </dependency> + <dependency> + <groupId>rhino</groupId> + <artifactId>js</artifactId> + <version>1.7R2</version> + </dependency> + <dependency> + <groupId>org.apache.ant</groupId> + <artifactId>ant-apache-bsf</artifactId> + <version>1.8.3</version> + </dependency> + <dependency> + <groupId>org.apache.ant</groupId> + <artifactId>ant-nodeps</artifactId> + <version>1.8.1</version> + </dependency> + </dependencies> + </plugin> + </plugins> + </build> + </profile> + </profiles> </project> diff --git a/bundles/org.eclipse.core.filesystem.linux.x86_64/META-INF/MANIFEST.MF b/bundles/org.eclipse.core.filesystem.linux.x86_64/META-INF/MANIFEST.MF index 2e27eefe0..eb4735516 100644 --- a/bundles/org.eclipse.core.filesystem.linux.x86_64/META-INF/MANIFEST.MF +++ b/bundles/org.eclipse.core.filesystem.linux.x86_64/META-INF/MANIFEST.MF @@ -2,7 +2,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: %fragmentName Bundle-SymbolicName: org.eclipse.core.filesystem.linux.x86_64; singleton:=true -Bundle-Version: 1.2.0.qualifier +Bundle-Version: 1.2.100.qualifier Bundle-Vendor: %providerName Fragment-Host: org.eclipse.core.filesystem;bundle-version="[1.3.0,2.0.0)" Bundle-Localization: fragment diff --git a/bundles/org.eclipse.core.filesystem.linux.x86_64/pom.xml b/bundles/org.eclipse.core.filesystem.linux.x86_64/pom.xml index 62606eeb8..2d10ee4ec 100644 --- a/bundles/org.eclipse.core.filesystem.linux.x86_64/pom.xml +++ b/bundles/org.eclipse.core.filesystem.linux.x86_64/pom.xml @@ -19,7 +19,7 @@ </parent> <groupId>org.eclipse.core</groupId> <artifactId>org.eclipse.core.filesystem.linux.x86_64</artifactId> - <version>1.2.0-SNAPSHOT</version> + <version>1.2.100-SNAPSHOT</version> <packaging>eclipse-plugin</packaging> <build> @@ -42,4 +42,67 @@ </plugin> </plugins> </build> + + <profiles> + <profile> + <id>build-natives</id> + <activation> + <property> + <!-- This has to be hardcoded. Profiles are not allowed to use pom defined properties :-( --> + <name>native</name> + <value>gtk.linux.x86_64</value> + </property> + </activation> + <build> + <plugins> + <plugin> + <artifactId>maven-antrun-plugin</artifactId> + <version>1.7</version> + <executions> + <execution> + <id>natives</id> + <phase>process-resources</phase> + <configuration> + <target> + <exec executable="make" newenvironment="false" dir="../org.eclipse.core.filesystem/natives/unix/linux/"/> + <mkdir dir="os/linux/x86_64/"/> + <copy todir="os/linux/x86_64/" > + <fileset dir="../org.eclipse.core.filesystem/natives/unix/linux/"> + <include name="libunixfile_*.so"/> + </fileset> + </copy> + </target> + </configuration> + <goals> + <goal>run</goal> + </goals> + </execution> + </executions> + <dependencies> + <dependency> + <groupId>bsf</groupId> + <artifactId>bsf</artifactId> + <version>2.4.0</version> + </dependency> + <dependency> + <groupId>rhino</groupId> + <artifactId>js</artifactId> + <version>1.7R2</version> + </dependency> + <dependency> + <groupId>org.apache.ant</groupId> + <artifactId>ant-apache-bsf</artifactId> + <version>1.8.3</version> + </dependency> + <dependency> + <groupId>org.apache.ant</groupId> + <artifactId>ant-nodeps</artifactId> + <version>1.8.1</version> + </dependency> + </dependencies> + </plugin> + </plugins> + </build> + </profile> + </profiles> </project> |