Blob Blame Raw
--- eclipse.platform.swt.binaries/bundles/binaries-parent/pom.xml.orig	2019-05-01 16:18:20.026476746 +0100
+++ eclipse.platform.swt.binaries/bundles/binaries-parent/pom.xml	2019-05-01 16:18:30.068453716 +0100
@@ -75,18 +75,6 @@
                         </goals>
                     </execution>
                 </executions>
-                <dependencies>
-                    <dependency>
-                        <groupId>org.mozilla</groupId>
-                        <artifactId>rhino</artifactId>
-                        <version>1.7.10</version>
-                    </dependency>
-                    <dependency>
-                        <groupId>org.apache.ant</groupId>
-                        <artifactId>ant-apache-bsf</artifactId>
-                        <version>1.10.5</version>
-                    </dependency>
-                </dependencies>
             </plugin>
         </plugins>
     </build>
--- eclipse.platform.swt/bundles/org.eclipse.swt/buildSWT.xml.orig	2019-05-01 15:19:21.784965731 +0100
+++ eclipse.platform.swt/bundles/org.eclipse.swt/buildSWT.xml	2019-05-01 16:40:48.623849151 +0100
@@ -399,27 +399,8 @@
 	<!-- Set swt_version, new_version, (and rev, min_ver, maj_ver, new_rev, new_min_ver, new_maj_ver) from the make_common.mak  -->
 	<target name="get_version" unless="swt_version">
 		<loadproperties srcFile="${repo.src}/${file_make_common}"/>
-		<script language="javascript">
-		<![CDATA[
-			rev = project.getProperty("rev");
-			min_ver = project.getProperty("min_ver");
-			maj_ver = project.getProperty("maj_ver");
-			new_rev = parseInt(rev) + 1;
-			new_min_ver = min_ver;
-			new_maj_ver = maj_ver;
-			one = new_maj_ver;
-			two = new_min_ver;
-			three = new_rev;
-			four = 0;
-			project.setProperty("new_rev", new_rev);
-			project.setProperty("new_min_ver", new_min_ver);
-			project.setProperty("new_maj_ver", new_maj_ver);
-			project.setProperty("new_comma_ver", one + "," + two + "," + three + "," + four);
-   	 	]]>
-		</script>
 		<property name="swt_version" value="${maj_ver}${min_ver}r${rev}"/>
-		<property name="new_version" value="${new_maj_ver}${new_min_ver}r${new_rev}"/>
-		<echo>Version=${swt_version}; New=${new_version}; New comma_ver=${new_comma_ver}</echo>
+		<echo>Version=${swt_version}</echo>
 	</target>
 
 	<target name="get_new_release_version" unless="min_ver">
@@ -548,11 +529,7 @@
 		</condition>
 		<property name="fragment_dir" value="${repo.bin}/bundles/${fragment}"/>
 		<property name="sha1_file" value="${fragment_dir}/build.sha1"/>
-		<script language="javascript">
-			<![CDATA[
-				project.setProperty("library_src", project.getProperty("src_" + project.getProperty("swt.ws")));
-	   	 	]]>
-		</script>
+		<property name="library_src" value="${src_gtk}"/>
 	</target>
 	
 	<target name="update_sha1_file_in_fragment">
@@ -686,23 +663,15 @@
 	</target>
 
 	<target name="copy.library.src">
-		<script language="javascript">
-			<![CDATA[
-				var File = java.io.File;
-				var StreamTokenizer = java.io.StreamTokenizer;
-				var StringReader = java.io.StringReader;
-				task = project.createTask("copy");
-				projectDir = project.getProperty("project_dir");
-				task.setTodir(new File(project.getProperty("build_dir")));
-				tk = new StreamTokenizer(new StringReader(project.getProperty("library_src")));
-				while ((token = tk.nextToken()) != StreamTokenizer.TT_EOF) {
-					fileset = project.createDataType("fileset");
-					fileset.setDir(new File(projectDir + "/" + tk.sval + "/"));
-					task.addFileset(fileset);
-				}
-				task.execute();
-	   	 	]]>
-		</script>
+		<copy todir="${build_dir}">
+			<fileset dir="${project_dir}/bundles/org.eclipse.swt/Eclipse SWT/common/library/"/>
+			<fileset dir="${project_dir}/bundles/org.eclipse.swt/Eclipse SWT PI/common/library/"/>
+			<fileset dir="${project_dir}/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/"/>
+			<fileset dir="${project_dir}/bundles/org.eclipse.swt/Eclipse SWT AWT/gtk/library/"/>
+			<fileset dir="${project_dir}/bundles/org.eclipse.swt/Eclipse SWT OpenGL/glx/library/"/>
+			<fileset dir="${project_dir}/bundles/org.eclipse.swt/Eclipse SWT PI/cairo/library/"/>
+			<fileset dir="${project_dir}/bundles/org.eclipse.swt/Eclipse SWT WebKit/gtk/library/"/>
+		</copy>
 	</target>
 
 	<!-- Params: swt.ws, swt.os, swt.arch -->