Package: eclipse / 3.8.1-10

remove-unnecessary-files.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: Benjamin Drung <bdrung@ubuntu.com>
Date: Thu, 15 Mar 2012 20:03:39 +0100
Subject: remove-unnecessary-files

---
 build.xml |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/build.xml b/build.xml
index 8d23803..3324dd7 100644
--- a/build.xml
+++ b/build.xml
@@ -956,6 +956,10 @@
 			</fileset>
 		</apply>
 		
+		<!-- Remove unnecessary metadata -->
+		<delete dir="${destDir}/${prefix}/${libDir}/eclipse/metadata/binary" />
+		<delete dir="${destDir}/${prefix}/${libDir}/eclipse/metadata/features" />
+		<delete dir="${destDir}/${prefix}/${libDir}/eclipse/metadata/plugins" />
 		<!-- Move config file to /etc -->
 		<mkdir dir="${destDir}/etc" />
 		<move file="${installationDir}/eclipse.ini" tofile="${destDir}/etc/eclipse.ini" />