blob: 85b24bfe03652ecf2526a1763d313259fc190d09 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!-- build script to create a batch compiler from org.eclipse.jdt.core -->
<project name="Eclipse Batch Compiler" default="export" basedir="..">
<target name="init">
<tstamp/>
<property name="destdir" value="../../batchcompiler-export" />
<property name="dest" value="${destdir}" />
</target>
<target name="export" depends="init">
<echo message="TARGET: ${destdir}" />
<mkdir dir="${destdir}" />
<delete dir="${dest}" />
<mkdir dir="${dest}" />
<echo message="UPDATE jdtcom.jar" />
<zip zipfile="${dest}/jdtcom.jar">
<fileset dir=".">
<include name="META-INF/**" />
</fileset>
<fileset dir="bin" includes="org/eclipse/jdt/internal/compiler/**,org/eclipse/jdt/core/compiler/**">
<exclude name="org/eclipse/jdt/core/compiler/CompilationParticipant*.class"/>
<exclude name="org/eclipse/jdt/core/compiler/BuildContext.class"/>
<exclude name="org/eclipse/jdt/core/compiler/IScanner.class"/>
<exclude name="org/eclipse/jdt/core/compiler/ITerminalSymbols*.class"/>
<exclude name="org/eclipse/jdt/core/compiler/ReconcileContext*.class"/>
<exclude name="org/eclipse/jdt/internal/compiler/DocumentElementParser*.class"/>
<exclude name="org/eclipse/jdt/internal/compiler/IDocumentElementRequestor.class"/>
<exclude name="org/eclipse/jdt/internal/compiler/ISourceElementRequestor.class"/>
<exclude name="org/eclipse/jdt/internal/compiler/SourceElementParser*.class"/>
<exclude name="org/eclipse/jdt/internal/compiler/SourceElementRequestorAdapter*.class"/>
<exclude name="org/eclipse/jdt/internal/compiler/SourceJavadocParser*.class"/>
<exclude name="org/eclipse/jdt/internal/compiler/parser/SourceTypeConverter*.class"/>
</fileset>
</zip>
<echo message="UPDATE jdtcomsrc.zip" />
<zip zipfile="${dest}/jdtcomsrc.zip">
<zipfileset dir="batch" />
<zipfileset dir="compiler" />
</zip>
</target>
</project>