RE: Environment variables

2002-04-10 Thread Bendfelt, Tim (MED, nVisia, GEMS-IT)
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

RE: problems with ant and rmi

2002-03-22 Thread Bendfelt, Tim (MED, nVisia, GEMS-IT)
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

RE: can't get optional tasks to work

2002-02-10 Thread Bendfelt, Tim (MED, nVisia, GEMS-IT)
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

RE: java.lang.Win32Process.create exception

2002-02-08 Thread Bendfelt, Tim (MED, nVisia, GEMS-IT)
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:

RE: JUnit optional task

2001-12-10 Thread Bendfelt, Tim (MED, nVisia, GEMS-IT)
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.

RE: Problem with xalan

2001-11-28 Thread Bendfelt, Tim (MED, nVisia, GEMS-IT)
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

RE: Problem with xalan

2001-11-26 Thread Bendfelt, Tim (MED, nVisia, GEMS-IT)
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

RE: IntelliJ Idea and Ant

2001-08-24 Thread Bendfelt, Tim (MED, nVisia, GEMS-IT)
> 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

RE: problems running ant

2001-06-20 Thread Bendfelt, Tim (MED, nVisia, GEMS-IT)
> 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

RE: Running rmic

2001-05-09 Thread Bendfelt, Tim (MED, nVisia, GEMS-IT)
> 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

RE: Fixing Classloader Linking Errors

2001-05-04 Thread Bendfelt, Tim (MED, nVisia, GEMS-IT)
> 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

Fixing Classloader Linking Errors

2001-05-04 Thread Bendfelt, Tim (MED, nVisia, GEMS-IT)
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

RE: ant for javadoc. how to sync it with jdk1.2

2001-04-24 Thread Bendfelt, Tim (MED, nVisia, GEMS-IT)
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. <<