DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15287>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15287

In junit task, the <sysproperty> makes the test class hung

           Summary: In junit task, the <sysproperty> makes the test class
                    hung
           Product: Ant
           Version: 1.5.1
          Platform: Other
        OS/Version: Solaris
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Optional Tasks
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I am using following code to pass in the system property. It hung when the  test
class run. When I comment out the <sysproperty>, the test class works fine.     
   

        <junit printsummary="yes" haltonfailure="no">
              <classpath refid="run.classpath" />
              <sysproperty key="CHOST" value="${Conscious.host}"/>
              <sysproperty key="THOME" value="${tester.home}"/> 
              <formatter type="brief" usefile="false" />
              <formatter type="xml"/>
              <batchtest fork="yes" todir="${junit.home}">
                    <fileset dir="${build.home}/classes/">
                      <include name="**/ZcoreTest.class"/>
                      <exclude name="**/*_Test.class"/>
                    </fileset>
              </batchtest>      
        </junit>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to