Bug 108819 - The (generic) server framework does not make any well known property available to the server definiton writer that points to the configured JDK dir the user has chosen to use to launch the server with (chosen on the first page of the New Server wizard).
Summary: The (generic) server framework does not make any well known property availabl...
Status: NEW
Alias: None
Product: WTP ServerTools
Classification: WebTools
Component: jst.server (show other bugs)
Version: unspecified   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Gorkem Ercan CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-06 04:48 EDT by John O'Shea CLA
Modified: 2007-03-01 14:28 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John O'Shea CLA 2005-09-06 04:48:20 EDT
The main reason this is needed is to be able to add the JDK's tools.jar file to
the servers classpath (in the .serverdef) so that when the server is launched,
it is able to use the javac compiler to it to compile servlet source (generated
from JSPs) into classes.   Servers do not ship the tools.jar and JDT does not
add it to the launch classpath. 
This is a common requirement for most application servers that WTP will be
launching locally - JBoss, Jetty, WebLogic etc...
Comment 1 David Williams CLA 2005-09-20 17:59:16 EDT
This does sound important, but changing "version" was 0.7.1 so changing to 
0.7 since there is no fix for it in 0.7.1. 

Gorkem, if I am mistaken, please correct. 
Otherwise, please update the milestone target if/when a fix/improvement 
is supplied. 

Thanks. 
Comment 2 Gorkem Ercan CLA 2005-11-18 08:29:06 EST
I have a patch that enables the use of System properties as property in
serverdef files. But because the default VM and the VM used for launching the
server may be different properties such as java.home may be problemmatic. 
I am not sure if I may come up with a more complete solution for 1.0, do you
think this will be sufficient.
Comment 3 Arthur Ryman CLA 2005-12-12 10:26:48 EST
I am defering this to 1.0.1 since it is major but not "Hot".
Comment 4 Gorkem Ercan CLA 2006-05-30 18:01:24 EDT
delaying to 2.0
Comment 5 Tim deBoer CLA 2007-03-01 14:26:55 EST
Removing invalid target. Please feel free to retarget if we're planning
to fix this soon.
Comment 6 Tim deBoer CLA 2007-03-01 14:28:40 EST
Oops, missed it the first time.