ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Hatcher" <>
Subject Re: junit specify system properties
Date Thu, 27 Dec 2001 00:59:22 GMT
Use <sysproperty> rather than <jvmarg>.

    <sysproperty key="" value="...."/>

You can specify as many <sysproperty>'s as you need.


----- Original Message -----
From: "Marcus" <>
To: "Ant Users List" <>
Sent: Wednesday, December 26, 2001 7:37 PM
Subject: junit specify system properties


I have the following in my code:
    <junit printsummary="yes" fork="yes" haltonfailure="no">
value="  "/>
        <fileset dir="${java_deploy_dir}/lib">
          <include name="*.jar"/>
        <fileset dir="${JLIB}">
          <include name="*.jar"/>
      <formatter type="xml" />
      <test name="cp_test.system.TestSubmitQueryMThread" />

but i want not only to pass a property file but the code needs additional
parameters pass to it, that meaning our code.

cp_test.system.TestSubmitQueryMThread minitest questionsfile answerfile 1

Question: how doe sone pass more args in using junit?


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message