Fix issue javac not compiling in utf-8 on windows cmd (need to delete /bin folder to be resolve)
This commit is contained in:
parent
1a25473f06
commit
c2dd060140
@ -10,7 +10,7 @@
|
|||||||
<pathelement location="${project.bin.dir}"/>
|
<pathelement location="${project.bin.dir}"/>
|
||||||
</path>
|
</path>
|
||||||
<target name="compile" description="Compilation des classes" depends="init">
|
<target name="compile" description="Compilation des classes" depends="init">
|
||||||
<javac srcdir="${project.sources.dir}" destdir="${project.bin.dir}" debug="on" optimize="off" deprecation="on" includeantruntime="false">
|
<javac srcdir="${project.sources.dir}" encoding="utf8" destdir="${project.bin.dir}" debug="on" optimize="off" deprecation="on" includeantruntime="false">
|
||||||
<classpath refid="project.classpath"/>
|
<classpath refid="project.classpath"/>
|
||||||
</javac>
|
</javac>
|
||||||
<copy todir="${basedir}/${project.bin.dir}/${project.resources.dir}">
|
<copy todir="${basedir}/${project.bin.dir}/${project.resources.dir}">
|
||||||
@ -26,6 +26,7 @@
|
|||||||
<target name="run" description="execution" depends="compile">
|
<target name="run" description="execution" depends="compile">
|
||||||
<java classname="lsystem.Main" fork="true">
|
<java classname="lsystem.Main" fork="true">
|
||||||
<jvmarg value="-ea"/>
|
<jvmarg value="-ea"/>
|
||||||
|
<jvmarg value="-Dfile.encoding=UTF-8"/>
|
||||||
<jvmarg value="-XX:+UseG1GC"/>
|
<jvmarg value="-XX:+UseG1GC"/>
|
||||||
<jvmarg value="-XX:+ParallelRefProcEnabled"/>
|
<jvmarg value="-XX:+ParallelRefProcEnabled"/>
|
||||||
<classpath refid="project.classpath"/>
|
<classpath refid="project.classpath"/>
|
||||||
|
Loading…
Reference in New Issue
Block a user