2d2e1c3aa6
- Native filesystem support added.
142 lines
4.7 KiB
Diff
142 lines
4.7 KiB
Diff
--- eclipse.platform.resources/bundles/org.eclipse.core.filesystem.linux.x86/pom.xml
|
|
+++ eclipse.platform.resources/bundles/org.eclipse.core.filesystem.linux.x86/pom.xml
|
|
@@ -45,4 +45,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>linux.gtk.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>
|
|
--- eclipse.platform.resources/bundles/org.eclipse.core.filesystem.linux.x86_64/pom.xml
|
|
+++ eclipse.platform.resources/bundles/org.eclipse.core.filesystem.linux.x86_64/pom.xml
|
|
@@ -45,4 +45,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>linux.gtk.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/"/>
|
|
+ <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>
|
|
--
|
|
1.7.10.4
|
|
|