blob: 85b24bfe03652ecf2526a1763d313259fc190d09 [file] [log] [blame]
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001<?xml version="1.0" encoding="UTF-8"?>
2
3<!-- build script to create a batch compiler from org.eclipse.jdt.core -->
4<project name="Eclipse Batch Compiler" default="export" basedir="..">
5 <target name="init">
6 <tstamp/>
7 <property name="destdir" value="../../batchcompiler-export" />
8 <property name="dest" value="${destdir}" />
9 </target>
10
11 <target name="export" depends="init">
12
13 <echo message="TARGET: ${destdir}" />
14 <mkdir dir="${destdir}" />
15 <delete dir="${dest}" />
16 <mkdir dir="${dest}" />
17
18 <echo message="UPDATE jdtcom.jar" />
19 <zip zipfile="${dest}/jdtcom.jar">
20 <fileset dir=".">
21 <include name="META-INF/**" />
22 </fileset>
23 <fileset dir="bin" includes="org/eclipse/jdt/internal/compiler/**,org/eclipse/jdt/core/compiler/**">
24 <exclude name="org/eclipse/jdt/core/compiler/CompilationParticipant*.class"/>
25 <exclude name="org/eclipse/jdt/core/compiler/BuildContext.class"/>
26 <exclude name="org/eclipse/jdt/core/compiler/IScanner.class"/>
27 <exclude name="org/eclipse/jdt/core/compiler/ITerminalSymbols*.class"/>
28 <exclude name="org/eclipse/jdt/core/compiler/ReconcileContext*.class"/>
29 <exclude name="org/eclipse/jdt/internal/compiler/DocumentElementParser*.class"/>
30 <exclude name="org/eclipse/jdt/internal/compiler/IDocumentElementRequestor.class"/>
31 <exclude name="org/eclipse/jdt/internal/compiler/ISourceElementRequestor.class"/>
32 <exclude name="org/eclipse/jdt/internal/compiler/SourceElementParser*.class"/>
33 <exclude name="org/eclipse/jdt/internal/compiler/SourceElementRequestorAdapter*.class"/>
34 <exclude name="org/eclipse/jdt/internal/compiler/SourceJavadocParser*.class"/>
35 <exclude name="org/eclipse/jdt/internal/compiler/parser/SourceTypeConverter*.class"/>
36 </fileset>
37 </zip>
38 <echo message="UPDATE jdtcomsrc.zip" />
39 <zip zipfile="${dest}/jdtcomsrc.zip">
40 <zipfileset dir="batch" />
41 <zipfileset dir="compiler" />
42 </zip>
43
44 </target>
45</project>