Permalink
Browse files

Modifying build.xml such that the default compile task excludes the S…

…QL parser code (given we should be careful about distributing the General SQL Parser JAR)
  • Loading branch information...
Chris Wright
Chris Wright committed Oct 21, 2015
1 parent 44574e4 commit d2e6f2b77eff8276eaeb7b845b71adfcc478d998
Showing with 10 additions and 0 deletions.
  1. +10 −0 build.xml
View
@@ -43,10 +43,20 @@
<javac srcdir="${src_dir}" destdir="${build_dir}" includeantruntime="false" debug="true" debuglevel="vars,lines,source" target="1.7" source="1.7">
<classpath refid="build_classpath"/>
<exclude name="deprecated/**"/>
<exclude name="org/schemaanalyst/sqlparser/**"/>
<!-- <exclude name="paper/**"/> -->
</javac>
</target>
<!-- COMPILING TASK WITH PARSER - "ant compile" -->
<target name="compile-with-parser">
<mkdir dir="${build_dir}"/>
<javac srcdir="${src_dir}" destdir="${build_dir}" includeantruntime="false" debug="true" debuglevel="vars,lines,source" target="1.7" source="1.7">
<classpath refid="build_classpath"/>
<exclude name="deprecated/**"/>
<!-- <exclude name="paper/**"/> -->
</javac>
</target>
<!-- TESTING TASK - "ant test" -->
<target name="test" depends="compile">

0 comments on commit d2e6f2b

Please sign in to comment.