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 385010 | Differences between
and this patch

Collapse All | Expand All

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

Return to bug 385010