eclipse/eclipse-fix-compatibility-class.patch
Krzysztof Daniel 369feb9678 Get rid off javax.xml. Fix building launcher on arm. Fix RHBZ #878210.
The launcher was not built properly because Equinox Launcher build
script had no support for arm architectures, therefore it did not knew
where to copy the binary.

javax.xml is provided by the VM so there is no need to bundle it. Due to
inconsistencies in packaging, some errors appear (see RHBZ #710815).
This is removal in a first place (eclipse-dtp and eclipse-mylyn updates
will follow).

Additionally, the binary class was not copied properly into the
compatibility bundle. We can't build it properly (because it was some
old, unknown version), but we can build current version and hope for the
best.
2012-11-26 12:14:39 +01:00

68 lines
2.3 KiB
Diff

--- eclipse.platform.runtime/bundles/org.eclipse.core.runtime.compatibility.registry/pom.xml.bak 2012-07-25 17:28:30.000000000 +0200
+++ eclipse.platform.runtime/bundles/org.eclipse.core.runtime.compatibility.registry/pom.xml 2012-07-30 15:48:17.936540760 +0200
@@ -23,4 +23,64 @@
<artifactId>org.eclipse.core.runtime.compatibility.registry</artifactId>
<version>3.5.100-SNAPSHOT</version>
<packaging>eclipse-plugin</packaging>
+ <build>
+ <resources>
+ <resource>
+ <directory>classes</directory>
+ </resource>
+ </resources>
+ </build>
+ <profiles>
+ <profile>
+ <activation>
+ <file>
+ <missing>classes/org/eclipse/core/runtime/IPluginDescriptor.class</missing>
+ </file>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <version>1.7</version>
+ <executions>
+ <execution>
+ <id>natives</id>
+ <phase>generate-resources</phase>
+ <configuration>
+ <target>
+ <copy todir="classes/org/eclipse/core/runtime" file="../org.eclipse.core.runtime/target/classes/org/eclipse/core/runtime/IPluginDescriptor.class"/>
+ </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>