File: build.xml

package info (click to toggle)
eclipse-jdt-core 4.30-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 109,636 kB
  • sloc: java: 1,640,182; xml: 5,702; sh: 22; makefile: 6
file content (88 lines) | stat: -rw-r--r-- 4,766 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<?xml version="1.0" encoding="UTF-8"?>
<project>

  <include file="/usr/share/eclipse-debian-helper/build-eclipse-bundle.xml"/>

  <!-- Eclipse JDT Annotations for Enhanced Null Analysis -->
  <target name="org.eclipse.jdt.annotation">
    <make-bundle name="org.eclipse.jdt.annotation" basedir="."/>
  </target>

  <!-- Eclipse Java Annotation Processing Core -->
  <target name="org.eclipse.jdt.apt.core" depends="org.eclipse.jdt.core,org.eclipse.jdt.core.compiler.batch">
    <make-bundle name="org.eclipse.jdt.apt.core" release="11" basedir="." depends="org.eclipse.jdt.core,org.eclipse.jdt.core.compiler.batch">
      <pathelement path="/usr/share/java/ant.jar"/>
      <pathelement path="/usr/share/java/equinox-app.jar"/>
      <pathelement path="/usr/share/java/equinox-common.jar"/>
      <pathelement path="/usr/share/java/equinox-preferences.jar"/>
      <pathelement path="/usr/share/java/equinox-registry.jar"/>
      <pathelement path="/usr/share/java/eclipse-core-jobs.jar"/>
      <pathelement path="/usr/share/java/eclipse-core-resources.jar"/>
      <pathelement path="/usr/share/java/eclipse-core-runtime.jar"/>
    </make-bundle>
  </target>

  <!-- Eclipse Java Compiler Apt IDE -->
  <target name="org.eclipse.jdt.apt.pluggable.core" depends="org.eclipse.jdt.core,org.eclipse.jdt.apt.core,org.eclipse.jdt.core.compiler.batch">
    <make-bundle name="org.eclipse.jdt.apt.pluggable.core" basedir="." depends="org.eclipse.jdt.core,org.eclipse.jdt.apt.core,org.eclipse.jdt.core.compiler.batch" release="17">
      <pathelement path="/usr/share/java/equinox-common.jar"/>
      <pathelement path="/usr/share/java/eclipse-core-jobs.jar"/>
      <pathelement path="/usr/share/java/eclipse-core-resources.jar"/>
      <pathelement path="/usr/share/java/eclipse-core-runtime.jar"/>
    </make-bundle>
  </target>

  <!-- Eclipse Java Annotation Processing UI -->
  <target name="org.eclipse.jdt.apt.ui" depends="org.eclipse.jdt.core,org.eclipse.jdt.apt.core">
    <!-- TODO requires org.eclipse.ui.workbench -->
    <make-bundle name="org.eclipse.jdt.apt.ui" basedir="." depends="org.eclipse.jdt.core,org.eclipse.jdt.apt.core">
      <pathelement path="/usr/share/java/swt4.jar"/>
      <pathelement path="/usr/share/java/equinox-common.jar"/>
      <pathelement path="/usr/share/java/equinox-preferences.jar"/>
      <pathelement path="/usr/share/java/eclipse-core-resources.jar"/>
    </make-bundle>
  </target>

  <!-- Eclipse Java Compiler Batch -->
  <target name="org.eclipse.jdt.core.compiler.batch">
    <!-- Set the version of the compiler in the messages file used by the CLI tool -->
    <bundle-version name="org.eclipse.jdt.core" basedir="." property="org.eclipse.jdt.core.version"/>
    <replace token="bundle_qualifier," value="" dir="org.eclipse.jdt.core.compiler.batch">
      <include name="org/eclipse/jdt/internal/compiler/batch/messages.properties"/>
    </replace>
    <replace token="bundle_version" value="${org.eclipse.jdt.core.version}" dir="org.eclipse.jdt.core.compiler.batch">
      <include name="org/eclipse/jdt/internal/compiler/batch/messages.properties"/>
    </replace>

    <!-- Java 20 API stub -->
    <mkdir dir="JCL/javax20api/target/classes"/>
    <javac srcdir="JCL/javax20api" destdir="JCL/javax20api/target/classes" source="17" target="17"/>
    <jar destfile="JCL/javax20api/target/javax20api.jar" basedir="JCL/javax20api/target/classes"/>

    <make-bundle name="org.eclipse.jdt.core.compiler.batch" basedir="." release="17" compilerargs="--patch-module java.compiler=JCL/javax20api/target/javax20api.jar">
      <pathelement path="/usr/share/java/ant.jar"/>
    </make-bundle>
  </target>

  <!-- ??? -->
  <target name="org.eclipse.jdt.core.internal.tools">
    <make-bundle name="org.eclipse.jdt.core.internal.tools" basedir="."/>
  </target>

  <!-- Eclipse Java Development Tools Core -->
  <target name="org.eclipse.jdt.core" depends="org.eclipse.jdt.core.compiler.batch">
    <make-bundle name="org.eclipse.jdt.core" release="17" basedir="." depends="org.eclipse.jdt.core.compiler.batch">
      <pathelement path="/usr/share/java/equinox-app.jar"/>
      <pathelement path="/usr/share/java/equinox-common.jar"/>
      <pathelement path="/usr/share/java/equinox-preferences.jar"/>
      <pathelement path="/usr/share/java/equinox-registry.jar"/>
      <pathelement path="/usr/share/java/eclipse-core-contenttype.jar"/>
      <pathelement path="/usr/share/java/eclipse-core-filesystem.jar"/>
      <pathelement path="/usr/share/java/eclipse-core-jobs.jar"/>
      <pathelement path="/usr/share/java/eclipse-core-resources.jar"/>
      <pathelement path="/usr/share/java/eclipse-core-runtime.jar"/>
      <pathelement path="/usr/share/java/eclipse-text.jar"/>
    </make-bundle>
  </target>

</project>