Skip to content

Commit

Permalink
Update MockitoTest's build.xml to use the same jdk version as to play…
Browse files Browse the repository at this point in the history
…list.xml (#5359)

* added restrictions for java 11+ for mockitotest case

Signed-off-by: sophiaxu0424 <[email protected]>

* Added before compile command

Signed-off-by: sophiaxu0424 <[email protected]>

* added testing console log

Signed-off-by: sophiaxu0424 <[email protected]>

* Added back the jdk11+ condition and also match build.xml to get jdk11+ as well

Signed-off-by: sophiaxu0424 <[email protected]>

---------

Signed-off-by: sophiaxu0424 <[email protected]>
  • Loading branch information
sophiaxu0424 authored Jun 3, 2024
1 parent 0f6dce8 commit dbd8bdf
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion functional/MockitoTests/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,13 @@ limitations under the License.
</target>

<target name="build" >
<antcall target="clean" inheritall="true" />
<if>
<not>
<matches string="${JDK_VERSION}" pattern="^(8|9|10)$$" />
</not>
<then>
<antcall target="clean" inheritall="true" />
</then>
</if>
</target>
</project>

0 comments on commit dbd8bdf

Please sign in to comment.