You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by John Arrizza <jo...@arrizza.com> on 2001/09/17 04:10:14 UTC
netcomponents.jar user doc?
I am working on change to ftp.java and I need more info on what is available
in netcomponents.jar. Does anyone know where I can find doc or javadoc for
it?
I've checked www.savarese.org/oro/downloads and www.oroinc.com/ but both
sites are not in DNS.
John
Re: tag
Posted by Nico Seessle <ni...@apache.org>.
----- Original Message -----
From: "Frot" <fr...@earthling.net>
To: <an...@jakarta.apache.org>
Sent: Monday, September 17, 2001 9:54 PM
Subject: <classpath> tag
> What does the <classpath> tag do ? And what are its properties ?
> I don't find it in the docs.
>
It defines a Classpath you can use in other places of your buildfile (if
defined on the top-level, outside any <target>) or a classpath for an
Ant-task that supports a nested classpath-element (for example javac).
See http://jakarta.apache.org/ant/manual/using.html#path
Nico
tag
Posted by Frot <fr...@earthling.net>.
What does the <classpath> tag do ? And what are its properties ?
I don't find it in the docs.
Fred
JUNIT & search for properties files
Posted by Frot <fr...@earthling.net>.
I currently am in search for idea's of solving following problem.
Execution of my JUnit testcases is configured using a 'test.properties' file.
Unfortunatly loading a Input Stream using
prop.load(new inputStream("test.properties")) ;
Does not work : the file is not found !!!
Solution to this might be using absolute paths, but that results in the familiar
problems (multiple users have different paths => BIG mess).
prop.load(new inputStream("/tmp/test.properties")) ;
Due to the problems this is not a solution for longer term use.
My question is how to tackle this problem intelligently !! Any idea's ??
==============
My tip would be adding (how) a environment variable to the JUNIT task and use
this variable when opening the file like :
<JUNIT .......>
<CLASSPATH>......</CLASSPATH>
<ABSPATH="c://temp//" />
</JUNIT>
Now I could use this newly created variable
prop.load(new inputStream(System.Env("ABSPATH") + "test.properties")) ;
Thanks for any input,
Fred