Bug 57277 - Make FileServer set a new property called 'base.dir'
Summary: Make FileServer set a new property called 'base.dir'
Status: NEW
Alias: None
Product: JMeter
Classification: Unclassified
Component: Main (show other bugs)
Version: 2.12
Hardware: All All
: P2 enhancement (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords: PatchAvailable
Depends on:
Blocks:
 
Reported: 2014-11-28 03:08 UTC by cheyne.wilson
Modified: 2014-11-28 21:19 UTC (History)
1 user (show)



Attachments
Example patch to set the 'base.dir' property (6.42 KB, patch)
2014-11-28 03:08 UTC, cheyne.wilson
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description cheyne.wilson 2014-11-28 03:08:25 UTC
Created attachment 32235 [details]
Example patch to set the 'base.dir' property

We have multiple test scripts and like to include other files relative to the location of these test scripts. Some elements (e.g CSV dataset) allow the user of ~/ to include files relative to the script. Some listeners and processors and custom plugins either don't support this (e.g JRS223 post processor) or seem to interpret ~/ differently.

Setting the property 'base.dir' as part of the FileServer would allow us to script relative paths for components that don't natively support them.