you can access these variables directly by setting the environment
property:
--Tim
> -Original Message-
> From: Sarkar, Sudipta [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 10, 2002 3:54 PM
> To: [EMAIL PROTECTED]
> Subject: Environment variables
>
>
> Hi,
>How do
FWIW I've had a lot of similar problems when using rmi from a class
loaded by a custom classloader. The RMI subsystem is loaded by the
system classloader which does not have acces to classes visible only to
the custom loader. The solution is to set a context classloader on the
thread that invokes
both of these jars need to be in ANT_HOME/lib:
junit.jar
optional.jar
get them here:
http://jakarta.apache.org/builds/jakarta-ant/release/v1.4.1/bin/jakarta-
ant-1.4.1-optional.jar
http://download.sourceforge.net/junit/junit3.7.zip
> -Original Message-
> From: Joshua Allen [mailto
Looks like javac is not on the path, Forte is trying to
compile using JRE. makes sure $JAVA_HOME/bin contains
javac or try putting ../java/bin on your windows $PATH
explicitly.
Tim
> java.io.IOException: CreateProcess: javac -nowarn -classpath
> "D:\Projects\com\bar\foo\server\sales\ejbcgen;d:
put junit.jar in the ant/lib directory.
> -Original Message-
> From: Bryan P. Glennon [mailto:[EMAIL PROTECTED]]
> Sent: Monday, December 10, 2001 4:18 PM
> To: [EMAIL PROTECTED]
> Subject: JUnit optional task
>
>
> When I try to use the Junit task (with ant 1.4.1, Junit 3.7 and
> jdk1.
use fork="true" to spawn a new VM. If I recall the linkage error is
caused by the ant task classloader loading a class from the xalan jar
that was already loaded by the system classloader from another source
(crimson.jar?) resulting in a seal error. In any event, the forking
should solve the probl
use fork="true" to spawn a new VM. If I recall the linkage error is
caused by the ant task classloader loading a class from the xalan jar
that was already loaded by the system classloader from another source
(crimson.jar?) resulting in a seal error. In any event, the forking
should solve the probl
> does anybody use IntelliJ's Idea? i have started using it. it has Ant
> integration but i can't get it to execute my build scripts.
>
> has anybody had success with this?
>
It worked for me "out of the box" and is to date the best IDE env i've
come accross.
Tim
>
and my ant.bat file looks like this
@echo off
if exist "%HOME%\antrc_pre.bat" call "%HOME%\antrc_pre.bat"
if not "%OS%"=="Windows_NT" goto win9xStart
...
<<<
I had this problem and traced it to an improper JAVA_HOME value that NT
mysteriously changed. keep echo on ( i.e. REM @echo off) a
> I want to run java rmic on some classes. I use the classname
> attribute on my
> java task and specify the file - like this
>
>
> classname="com.utils.cache.composite.CompositeCacheManager.class">
>
>
>
> Ant gives me a file not found error. What am I doing wrong
the base shou
> As you guessed, this is due to the fact that you cannot load
> twice the same
> class with different classloaders in the same JVM, this is to
> prevent some
> malicious hacking by replacing classes.
>
> Your only choice is to run with fork=yes or to avoid
> duplicating the classes
> in your
I have run into a dreaded Classloader linking constraint while executing
a junit task and need advice on which solution to pursue. Apparently the
root of the problem is the duplication of classpaths between the System
Classloader and "some other" Classloader. here is the Exception stack:
java.la
Sucharitha,
use the "link" attribute to link to other javadoc sources. I downloaded
jdk1.3 documentation to a local directory, but you can still use the
link attribute to link to url based javadoc sources. In the example
below I also link to the JINI javadoc directory.
<<
13 matches
Mail list logo