Community
Participate
Working Groups
extraManifests="${extraManifests}"
extraSourceLocations="${extraSourceLocations}"/>
</target>
<target name="build.cfiles" depends="init">
<mkdir dir="${build.result.folder}/library"/>
<copy todir="${build.result.folder}/library">
<fileset dir="${plugindir}/Eclipse SWT/common/library"/>
<fileset dir="${plugindir}/Eclipse SWT AWT/gtk/library"/>
<fileset dir="${plugindir}/Eclipse SWT Mozilla/common/library"/>
<fileset dir="${plugindir}/Eclipse SWT OpenGL/glx/library"/>
<fileset dir="${plugindir}/Eclipse SWT PI/cairo/library"/>
<fileset dir="${plugindir}/Eclipse SWT PI/common/library"/>
<fileset dir="${plugindir}/Eclipse SWT PI/gtk/library"/>
<fileset dir="${plugindir}/Eclipse SWT Program/cde/library"/>
<fileset dir="${plugindir}/Eclipse SWT Program/gnome/library"/>
<fileset dir="${plugindir}/Eclipse SWT WebKit/gtk/library"/>
</copy>
<target name="build.nativeLibraries" depends="build.cfiles">
<exec dir="${build.result.folder}/library" executable="sh">
<env key="OUTPUT_DIR" value="${build.result.folder}"/>
<arg line="${build.result.folder}/library/build.sh"/>
<arg line="install"/>
</exec>
</project>
<artifactId>org.eclipse.swt</artifactId>
<version>3.100.0-SNAPSHOT</version>
<packaging>eclipse-plugin</packaging>
<profiles>
<profile>
<activation>
<file>
<!-- maybe it is possible to check here all the files -->
<missing>../../../eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.linux.x86_64/libswt-atk-gtk-4229.so</missing>
</file>
</activation>
<build>
<plugins>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.7</version>
<executions>
<execution>
<phase>compile</phase>
<configuration>
<target>
<ant antfile="build.xml" target="build.nativeLibraries"
dir="../../../eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.linux.x86_64"/>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<packaging>pom</packaging>
<modules>
<!--
<module>bundles/org.eclipse.swt</module>
<module>bundles/org.eclipse.swt.opengl</module>
<module>bundles/org.eclipse.swt.tools</module>
<module>examples/org.eclipse.swt.examples</module>