Skip to content

Commit

Permalink
Download dependency libs for MBCS_Tests
Browse files Browse the repository at this point in the history
- Added junit, testng, jcommander libs to download for MBCS_Tests when prestage libs do not exist.

related: adoptium#5569

Signed-off-by: Anna Babu Palathingal <anna.bp@ibm.com>
  • Loading branch information
annaibm committed Sep 24, 2024
1 parent 277f44f commit 65a5969
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
7 changes: 5 additions & 2 deletions functional/MBCS_Tests/datetime/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,20 @@ limitations under the License.

<!-- set global properties for this build -->
<property name="DEST" value="${BUILD_ROOT}/functional/MBCS_Tests/datetime" />

<!--Properties for this particular build-->
<property name="src" location="./src" />
<property name="build" location="./bin" />
<property name="junit4.jar" location="${LIB_DIR}/junit4.jar" />
<property name="LIB" value="junit4,testng,jcommander"/>
<import file="${TEST_ROOT}/TKG/scripts/getDependencies.xml"/>

<target name="init">
<mkdir dir="${DEST}" />
<mkdir dir="${build}" />
</target>

<target name="compile" depends="init" description="Using java${JDK_VERSION} to compile the source ">
<target name="compile" depends="init,getDependentLibs" description="Using java${JDK_VERSION} to compile the source ">
<echo>Ant version is ${ant.version}</echo>
<echo>============COMPILER SETTINGS============</echo>
<echo>===fork: yes</echo>
Expand Down
5 changes: 4 additions & 1 deletion functional/MBCS_Tests/language_tag/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,16 @@ limitations under the License.
<!--Properties for this particular build-->
<property name="src" location="./src" />
<property name="build" location="./bin" />
<property name="junit4.jar" location="${LIB_DIR}/junit4.jar" />
<property name="LIB" value="junit4,testng,jcommander"/>
<import file="${TEST_ROOT}/TKG/scripts/getDependencies.xml"/>

<target name="init">
<mkdir dir="${DEST}" />
<mkdir dir="${build}" />
</target>

<target name="compile" depends="init" description="Using ${JAVA_VERSION} java compile the source ">
<target name="compile" depends="init,getDependentLibs" description="Using ${JAVA_VERSION} java compile the source ">
<echo>Ant version is ${ant.version}</echo>
<echo>============COMPILER SETTINGS============</echo>
<echo>===fork: yes</echo>
Expand Down
5 changes: 4 additions & 1 deletion functional/MBCS_Tests/property_utf8/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,16 @@ limitations under the License.
<!--Properties for this particular build-->
<property name="src" location="./src" />
<property name="build" location="./bin" />
<property name="junit4.jar" location="${LIB_DIR}/junit4.jar" />
<property name="LIB" value="junit4,testng,jcommander"/>
<import file="${TEST_ROOT}/TKG/scripts/getDependencies.xml"/>

<target name="init">
<mkdir dir="${DEST}" />
<mkdir dir="${build}" />
</target>

<target name="compile" depends="init" description="Using ${JAVA_VERSION} java compile the source ">
<target name="compile" depends="init,getDependentLibs" description="Using ${JAVA_VERSION} java compile the source ">
<echo>Ant version is ${ant.version}</echo>
<echo>============COMPILER SETTINGS============</echo>
<echo>===fork: yes</echo>
Expand Down

0 comments on commit 65a5969

Please sign in to comment.