Configure network JDK?

How do I configure a network-accessible JDK, so that I don't have to
individually configure all my build agents? I tried adding a JDK to the
Workspace
]]>
and then replacing %system.jdk.Prod.home% with /network/jdk1.5.0_08, but
when I launch a build I get "Property 'jdk.Prod.home' not defined". Do I
still have to individually define the location in all my build agents,
even if the build server knows the location?

Thanks,
R

1 comment
Comment actions Permalink

You can add system property 'jdk.Prod.home' using "Properties and
environment variables" setting on the build configuration page. (The
property has to be defined because runner uses it to find javac compiler)

--
Olesya Smirnova
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


"Robert Gibson" <robbie_usenet@yahoo.co.uk> wrote in message
news:eck6jn$o7n$1@is.intellij.net...

How do I configure a network-accessible JDK, so that I don't have to
individually configure all my build agents? I tried adding a JDK to the
Workspace
<path id="jdk.Prod.classpath">
<fileset dir="%system.jdk.Prod.home%/jre/lib">
<include name="*.jar"/>
</fileset>
</path>
and then replacing %system.jdk.Prod.home% with /network/jdk1.5.0_08, but
when I launch a build I get "Property 'jdk.Prod.home' not defined". Do I
still have to individually define the location in all my build agents,
even if the build server knows the location?

>

Thanks,
R



0

Please sign in to leave a comment.