Bug 61137 - Need the ability to dynamically determine the temp directory to deploy to on a remote system
Summary: Need the ability to dynamically determine the temp directory to deploy to on ...
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: TPTP (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P1 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Ken Sandler CLA
QA Contact:
URL:
Whiteboard:
Keywords: Documentation, PII, ui
Depends on:
Blocks:
 
Reported: 2004-05-05 17:21 EDT by Javier Garcia CLA
Modified: 2016-05-05 10:31 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Javier Garcia CLA 2004-05-05 17:21:07 EDT
We would like to dynalically determine the temp directory of a remote system 
and deploy to that directory. Currently this requires the 
IExecutionEnvironment which does not exist at the current point where the 
TestExecutionHarness deploys the TestAssets. It could be deployment needs to 
be moved down in the TEH. The IExecutionEnvironment could then be passed to 
the ExecutionDeploymentAdapter which could then set the root for deployment as 
needed. If there is another way of fullfilling this requirement that would be 
acceptable. Please note we would like to determine the Temp directory of the 
remote system dynamically instead of requiring the user to enter it in the UI.
Comment 1 Joe Toomey CLA 2004-05-06 17:56:06 EDT
Targetted for a future release of Hyades
Comment 2 Harm Sluiman CLA 2004-11-09 21:44:25 EST
Targeted to 4.0 by the requirements team.
Please create a description document in CVS.
Comment 3 Harm Sluiman CLA 2004-11-16 14:27:03 EST
update based on requirements group review
Comment 4 Scott E. Schneider CLA 2005-03-27 14:58:45 EST
Changes delivered on 3/27/2005 -- Ken please resolve bugzilla entry if this is 
now complete given the changes I just delivered for you, thanks.
Comment 5 Ken Sandler CLA 2005-03-29 11:16:10 EST
A default deployment root directory is no longer automatically added to the 
Location during Location creation.

When no deployment root directory is supplied in the Location, the code 
attempts to get a default root directory from a temp directory environment 
variable.

There are three temp directory environment variables which are searched for, 
in this order, LOCAL_AGENT_TEMP_DIR, TEMP, TMP.  If one of these is found, it 
is used as the deployment root directory.  It is also used to build the 
classpath.

If the user adds a ROOTDIR property to the Location, then the one the user 
added will be used instead of the one from the environment variable.

The use of IExecutionDeploymentAdapterExtended is removed.  The API is now all 
contained in IExecutionDeploymentAdapter.
Comment 6 Paul Slauenwhite CLA 2006-11-16 08:57:36 EST
ACTION: Please verify/close this defect.
Comment 7 Ken Sandler CLA 2006-11-16 11:03:47 EST
This has been implemented