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

Collapse All | Expand All

(-)a/bundles/org.eclipse.swt/buildFragment.xml (+26 lines)
Lines 584-587 Link Here
584
			extraManifests="${extraManifests}"
584
			extraManifests="${extraManifests}"
585
			extraSourceLocations="${extraSourceLocations}"/>
585
			extraSourceLocations="${extraSourceLocations}"/>
586
	</target>
586
	</target>
587
588
	
589
	<target name="build.cfiles" depends="init">
590
		<mkdir dir="${build.result.folder}/library"/>
591
		<copy todir="${build.result.folder}/library">
592
			<fileset dir="${plugindir}/Eclipse SWT/common/library"/>
593
			<fileset dir="${plugindir}/Eclipse SWT AWT/gtk/library"/>
594
			<fileset dir="${plugindir}/Eclipse SWT Mozilla/common/library"/>
595
			<fileset dir="${plugindir}/Eclipse SWT OpenGL/glx/library"/>
596
			<fileset dir="${plugindir}/Eclipse SWT PI/cairo/library"/>
597
			<fileset dir="${plugindir}/Eclipse SWT PI/common/library"/>
598
			<fileset dir="${plugindir}/Eclipse SWT PI/gtk/library"/>
599
			<fileset dir="${plugindir}/Eclipse SWT Program/cde/library"/>
600
			<fileset dir="${plugindir}/Eclipse SWT Program/gnome/library"/>
601
			<fileset dir="${plugindir}/Eclipse SWT WebKit/gtk/library"/>
602
		</copy>
603
	</target>
604
605
	<target name="build.nativeLibraries" depends="build.cfiles">
606
		<exec dir="${build.result.folder}/library" executable="sh">
607
			<env key="OUTPUT_DIR" value="${build.result.folder}"/>
608
			<arg line="${build.result.folder}/library/build.sh"/>
609
			<arg line="install"/>
610
		</exec>
611
	</target>
612
587
</project>
613
</project>
(-)a/bundles/org.eclipse.swt/pom.xml (+33 lines)
Lines 23-26 Link Here
23
  <artifactId>org.eclipse.swt</artifactId>
23
  <artifactId>org.eclipse.swt</artifactId>
24
  <version>3.100.0-SNAPSHOT</version>
24
  <version>3.100.0-SNAPSHOT</version>
25
  <packaging>eclipse-plugin</packaging>
25
  <packaging>eclipse-plugin</packaging>
26
27
  <profiles>
28
    <profile>
29
      <activation>
30
        <file>
31
	  <!-- maybe it is possible to check here all the files -->
32
          <missing>../../../eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.linux.x86_64/libswt-atk-gtk-4229.so</missing>
33
        </file>	
34
      </activation>
35
      <build>
36
        <plugins>
37
          <plugin>
38
            <artifactId>maven-antrun-plugin</artifactId>
39
            <version>1.7</version>
40
            <executions>
41
              <execution>
42
                <phase>compile</phase>
43
                <configuration>
44
                  <target>
45
                    <ant antfile="build.xml" target="build.nativeLibraries" 
46
			dir="../../../eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.linux.x86_64"/>
47
                  </target>
48
                </configuration>
49
                <goals>
50
                  <goal>run</goal>
51
                </goals>
52
            </execution>
53
          </executions>
54
        </plugin>
55
      </plugins>
56
    </build>
57
    </profile>
58
  </profiles>
26
</project>
59
</project>
(-)a/pom.xml (-1 / +1 lines)
Lines 27-34 Link Here
27
  <packaging>pom</packaging>
27
  <packaging>pom</packaging>
28
28
29
  <modules>
29
  <modules>
30
<!-- 
31
    <module>bundles/org.eclipse.swt</module>
30
    <module>bundles/org.eclipse.swt</module>
31
<!--
32
    <module>bundles/org.eclipse.swt.opengl</module>
32
    <module>bundles/org.eclipse.swt.opengl</module>
33
    <module>bundles/org.eclipse.swt.tools</module>
33
    <module>bundles/org.eclipse.swt.tools</module>
34
    <module>examples/org.eclipse.swt.examples</module>
34
    <module>examples/org.eclipse.swt.examples</module>

Return to bug 372794