Please send email to [EMAIL PROTECTED] to be removed
from the list
K.C.
> -----Original Message-----
> From: gopal elumalai [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, May 15, 2001 2:50 PM
> To: '[EMAIL PROTECTED]'
> Subject: Please exclude my name from the User list.
>
>
> Please exclude my mail id from the User list.
>
> Thanks
> Gopal
>
> -----Original Message-----
> From: Stephane Bailliez [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, May 15, 2001 1:29 AM
> To: [EMAIL PROTECTED]
> Subject: RE: Java Resources and JUnit task
>
> getResource is not implemented in the AntClassLoader while
> getResourceAsStream is.
> It has already been reported.
> see http://nagoya.betaversion.org/bugzilla/show_bug.cgi?id=1440
>
> Right now, as a workaround, you can set the JUnit task to fork="yes"
>
> Cheers,
>
> --
> Stéphane Bailliez
> Software Engineer, Paris - France
> iMediation - http://www.imediation.com
> Disclaimer: All the opinions expressed above are mine and
> not those from my
> company.
>
>
>
> > -----Original Message-----
> > From: Christopher Berry [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, May 15, 2001 12:53 AM
> > To: '[EMAIL PROTECTED]'
> > Subject: Java Resources and JUnit task
> >
> >
> > Greetings
> > I am attempting to read a System Resource (i.e.
> > ClassLoader.getSystemResource( resourceName ). Where
> resource name is
> > something like: "/config/proj.properties". I am trying to do
> > this in a JUnit
> > task. I don't know why, but the file is not found. (Although
> > I am certain
> > that it is in the Classpath).
> > Does anyone have any insight for me???
> >
> > Thanks,
> > -- Chris
> >
> > The build.xml snippet follow::
> >
> > <property name="efc.lib" value="${basedir}/lib" />
> > <property name="efc.build" value="${basedir}/build/java" />
> > <property name="efc.ted.toplevel" value="${basedir}/../ted" />
> >
> > <path id="et-classpath">
> > <pathelement location="${efc.build}" />
> > <fileset id="efc_jars" dir="${efc.lib}">
> > <include name="**/*.jar" />
> > </fileset>
> > <pathelement location="${efc.ted.toplevel}" />
> > </path>
> >
> > <target name="test-1" if="testcase">
> > <junit printsummary="yes" haltonfailure="yes" fork="no">
> > <jvmarg value="-classic"/>
> > <classpath refid="et-classpath"/>
> > <formatter type="plain" usefile="false" />
> > <test name="${testcase}" />
> > </junit>
> > </target>
> >
>