Skip to content

Commit

Permalink
Merge pull request #3900 from llxia/test4
Browse files Browse the repository at this point in the history
set javac encoding
  • Loading branch information
Shelley Lambert authored Dec 3, 2018
2 parents 1e386d4 + 47aa68f commit c95f176
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/functional/cmdLineTests/URLClassLoaderTests/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,14 @@
<property name="src" location="."/>
<property name="build.dir" location="./bin"/>

<!-- on zos, ant <copy> does not keep file tag. Therefore, ant copied files
cannot be read by javac. Preset javac with encoding="ISO-8859-1" so that files
without proper tagging can be read.
-->
<presetdef name="javac">
<javac encoding="ISO-8859-1" />
</presetdef>

<target name="init">
<mkdir dir="${DEST}" />
<mkdir dir="${build.dir}" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,14 @@

<property name="DEST" value="${BUILD_ROOT}/functional/cmdLineTests/shareClassTests/testClasses" />

<!-- on zos, ant <copy> does not keep file tag. Therefore, ant copied files
cannot be read by javac. Preset javac with encoding="ISO-8859-1" so that files
without proper tagging can be read.
-->
<presetdef name="javac">
<javac encoding="ISO-8859-1" />
</presetdef>

<target name="AddTestClassesToPackage">
<!-- create the folders -->
<mkdir dir="${build}/Alphabet" />
Expand Down

0 comments on commit c95f176

Please sign in to comment.