Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 385030 | Differences between
and this patch

Collapse All | Expand All

(-)a/bundles/org.eclipse.core.net/fragments/org.eclipse.core.net.linux.x86/pom.xml (+61 lines)
Lines 42-45 Link Here
42
    </plugins>
42
    </plugins>
43
  </build>
43
  </build>
44
44
45
  <profiles>
46
    <profile>
47
      <id>build-natives</id>
48
      <activation>
49
        <property>
50
          <!-- This has to be hardcoded. Profiles are not allowed to use pom defined properties :-( -->
51
          <name>native</name>
52
          <value>gtk.linux.x86</value>
53
        </property>
54
      </activation>
55
      <build>
56
        <plugins>
57
          <plugin>
58
            <artifactId>maven-antrun-plugin</artifactId>
59
            <version>1.7</version>
60
            <executions>
61
              <execution>
62
                <id>natives</id>
63
                <phase>process-resources</phase>
64
                <configuration>
65
                  <target>
66
                    <exec executable="make" newenvironment="false" dir="../../natives/unix/linux/"/>
67
           <copy todir="." >
68
           <fileset dir="../../natives/unix/linux/">
69
               <include name="libgnomeproxy-*.so"/>
70
           </fileset>
71
           </copy>
72
                  </target>
73
                </configuration>
74
                <goals>
75
                  <goal>run</goal>
76
                </goals>
77
              </execution>
78
            </executions>
79
            <dependencies>
80
              <dependency>
81
                <groupId>bsf</groupId>
82
                <artifactId>bsf</artifactId>
83
                <version>2.4.0</version>
84
              </dependency>
85
              <dependency>
86
                <groupId>rhino</groupId>
87
                <artifactId>js</artifactId>
88
                <version>1.7R2</version>
89
              </dependency>
90
              <dependency>
91
                <groupId>org.apache.ant</groupId>
92
                <artifactId>ant-apache-bsf</artifactId>
93
                <version>1.8.3</version>
94
              </dependency>
95
              <dependency>
96
                <groupId>org.apache.ant</groupId>
97
                <artifactId>ant-nodeps</artifactId>
98
                <version>1.8.1</version>
99
              </dependency>
100
            </dependencies>
101
          </plugin>
102
        </plugins>
103
      </build>
104
    </profile>
105
  </profiles>
45
</project>
106
</project>
(-)a/bundles/org.eclipse.core.net/fragments/org.eclipse.core.net.linux.x86_64/pom.xml (+62 lines)
Lines 43-46 Link Here
43
      </plugin>
43
      </plugin>
44
    </plugins>
44
    </plugins>
45
  </build>
45
  </build>
46
47
  <profiles>
48
    <profile>
49
      <id>build-natives</id>
50
      <activation>
51
        <property>
52
          <!-- This has to be hardcoded. Profiles are not allowed to use pom defined properties :-( -->
53
          <name>native</name>
54
          <value>gtk.linux.x86_64</value>
55
        </property>
56
      </activation>
57
      <build>
58
        <plugins>
59
          <plugin>
60
            <artifactId>maven-antrun-plugin</artifactId>
61
            <version>1.7</version>
62
            <executions>
63
              <execution>
64
                <id>natives</id>
65
                <phase>process-resources</phase>
66
                <configuration>
67
                  <target>
68
                    <exec executable="make" newenvironment="false" dir="../../natives/unix/linux/x86_64/"/>
69
           <copy todir="." >
70
           <fileset dir="../../natives/unix/linux/x86_64/">
71
               <include name="libgnomeproxy-*.so"/>
72
           </fileset>
73
           </copy>
74
                  </target>
75
                </configuration>
76
                <goals>
77
                  <goal>run</goal>
78
                </goals>
79
              </execution>
80
            </executions>
81
            <dependencies>
82
              <dependency>
83
                <groupId>bsf</groupId>
84
                <artifactId>bsf</artifactId>
85
                <version>2.4.0</version>
86
              </dependency>
87
              <dependency>
88
                <groupId>rhino</groupId>
89
                <artifactId>js</artifactId>
90
                <version>1.7R2</version>
91
              </dependency>
92
              <dependency>
93
                <groupId>org.apache.ant</groupId>
94
                <artifactId>ant-apache-bsf</artifactId>
95
                <version>1.8.3</version>
96
              </dependency>
97
              <dependency>
98
                <groupId>org.apache.ant</groupId>
99
                <artifactId>ant-nodeps</artifactId>
100
                <version>1.8.1</version>
101
              </dependency>
102
            </dependencies>
103
          </plugin>
104
        </plugins>
105
      </build>
106
    </profile>
107
  </profiles>
46
</project>
108
</project>

Return to bug 385030