Java AppServer javac build options update for version and debug
<property name="gae_version" value="1.8.4" />
<property name="gae_org" location="appengine-java-sdk-${gae_version}" />
<property name="gae_dist" location="appengine-java-sdk-repacked" />
+ <property name="java_source_version" value="1.7" />
+ <property name="java_target_version" value="${java_source_version}" />
<path id="gae.classpath">
<fileset dir="${gae_dist}/lib">
<target name="compile" depends="repack-sdk">
<mkdir dir="${build}" />
- <javac srcdir="${src}" destdir="${build}" includeantruntime="false">
+ <javac srcdir="${src}" destdir="${build}" source="${java_source_version}" target="${java_target_version}"
+ encoding="utf-8" debug="true" includeantruntime="false">
<classpath refid="gae.classpath" />
<include name="com/google/appengine/api/**" />
<include name="com/google/appengine/tools/**" />
