2012-08-31 09:59:11 +00:00
|
|
|
--- eclipse.platform.team/bundles/org.eclipse.core.net/fragments/org.eclipse.core.net.linux.x86/pom.xml
|
|
|
|
+++ eclipse.platform.team/bundles/org.eclipse.core.net/fragments/org.eclipse.core.net.linux.x86/pom.xml
|
|
|
|
@@ -42,4 +42,65 @@
|
|
|
|
</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>
|
2012-09-19 11:20:23 +00:00
|
|
|
+ <value>gtk.linux.x86</value>
|
2012-08-31 09:59:11 +00:00
|
|
|
+ </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="../../natives/unix/linux/"/>
|
|
|
|
+ <copy todir="." >
|
|
|
|
+ <fileset dir="../../natives/unix/linux/">
|
|
|
|
+ <include name="libgnomeproxy-*.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.team/bundles/org.eclipse.core.net/fragments/org.eclipse.core.net.linux.x86_64/pom.xml
|
|
|
|
+++ eclipse.platform.team/bundles/org.eclipse.core.net/fragments/org.eclipse.core.net.linux.x86_64/pom.xml
|
|
|
|
@@ -43,4 +43,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>
|
2012-09-19 11:20:23 +00:00
|
|
|
+ <value>gtk.linux.x86_64</value>
|
2012-08-31 09:59:11 +00:00
|
|
|
+ </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>
|
2012-10-19 15:07:20 +00:00
|
|
|
+ <exec executable="make" newenvironment="false" dir="../../natives/unix/linux/"/>
|
2012-08-31 09:59:11 +00:00
|
|
|
+ <copy todir="." >
|
2012-10-19 15:07:20 +00:00
|
|
|
+ <fileset dir="../../natives/unix/linux/">
|
2012-08-31 09:59:11 +00:00
|
|
|
+ <include name="libgnomeproxy-*.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>
|