[Anthill] Multiple JDK's
Eric Minick
eric at urbancode.com
Fri Jul 16 09:47:28 CDT 2004
Curtis,
I think you were shooting for the AnthillPro list, but don't worry about
it. Anthill OS people, he's discussing the Pro feature where you can
have different projects use different versions of java to compile and
test against.
Anthill itself runs on whatever JRE Tomcat is running in. Generally 1.2
or better will work fine.
As for how builds with different versions of Java work, AnthillPro
launches Ant in a separate process. When it does that, it sets
appropriate environment variables like ANT_HOME, JAVA_HOME, and
CLASSPATH. I believe that the other environment variables of the Tomcat
user are conserved, with these being overridden.
This is done in the thread belonging to the build daemon controlling
this build. If the future, we'll probably spawn another thread to better
handle the cases where the called process hangs.
Don't worry about this sort of obscure question. It gives me a good
chance to look back over things and make sure I understand how
everything works. Good fun.
Cheers,
Eric
Curtis Yanko wrote:
>Can someone explain to me how Anthill Pro deals with the JDK setting on a
>technical level?
>
>I know how to define them and attach them to a build manager. But how are things
>like the compiler and rmic invoked? In Anthill it look for the JAVA_HOME
>environment setting and went from there.
>
>So I have Tomcat running in a 1.3 JRE which Ant runs in (or does it run in the
>JDK that has been defined?). Is a new thread spawned? In the context of the
>Tomcat user?
>
>Sorry if the questions are a little obscure but I am try to understand the
>underlying process
>
>-Curtis
>
>
>
>
>This e-mail, including attachments, may include confidential and/or
>proprietary information, and may be used only by the person or entity to
>which it is addressed. If the reader of this e-mail is not the intended
>recipient or his or her authorized agent, the reader is hereby notified
>that any dissemination, distribution or copying of this e-mail is
>prohibited. If you have received this e-mail in error, please notify the
>sender by replying to this message and delete this e-mail immediately.
>
>_______________________________________________
>Anthill mailing list
>Anthill at lists.urbancode.com
>http://lists.urbancode.com/mailman/listinfo/anthill
>
>
>
>
More information about the Anthill
mailing list