Hi Steve,

I solved the problem. It was a classpath problem anyway. It seems that I
can't use <path refid="..."/> to define the calsspath inside junit if I use
fork. That is why it shows me the help (I think). Basicaly I redefined my
path inside junit and it worked. 

<target name="run-1" depends="compile-1,compile-client1">

        <junit fork="true" printsummary="on" haltonfailure="no"
            failureproperty="tests.failed" showoutput="true">
          <!--<classpath refid="interop.path1"/>--> this is what I can't use
            <classpath>
                <pathelement path="${dir.classes1}"/>
                <path>
                    <fileset dir="./lib">
                        <include name="*.jar"/>
                    </fileset>
                </path>
            </classpath>
            <!--            <jvmarg pathref="interop.path1"></jvmarg>-->
            <formatter type="brief" usefile="false"/>
            <batchtest>
                <fileset dir="${dir.clients}">
                    <include
name="**/**/WMRound3Compound1InteropTest.java"/>
                </fileset>
            </batchtest>
        </junit>
        <fail if="tests.failed"/>
    </target>

Hope to hear what you think of it.
Thank you very much for precious time spent on me.

Bye for now.

Thanks,
Gayan Asanka 

-----Original Message-----
From: Steve Loughran [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 21, 2005 2:55 PM
To: Ant Users List
Subject: Re: FW: problem with using fork in windows xp

Gayan Asanka wrote:
> Hi Steve,
> 
> For your convenience I hoped attach my build.xml to this mail. If you
don't
> mind I can send my other resources too as you can regenerate this error
(if
> you can find a win xp os). This is the output I see.
> 
> E:\SVN2\modules\integration>ant
> Buildfile: build.xml

no, you need to run ant with the -verbose option

E:\SVN2\modules\integration>ant -verbose

or

ant -v


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




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

Reply via email to