Bug 55237 - Template system should support relative fileName entries
Template system should support relative fileName entries
Status: RESOLVED FIXED
Product: JMeter
Classification: Unclassified
Component: Main
2.9
PC Windows XP
: P2 normal (vote)
: ---
Assigned To: JMeter issues mailing list
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2013-07-10 22:24 UTC by Sebb
Modified: 2013-07-10 22:38 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebb 2013-07-10 22:24:30 UTC
Currently the Template system supports filenames relative to the JMeter Home directory.

It would be useful to support names relative to the templates.xml file which defines them.

The current fileName entries look like /bin/templates/Name.jmx.
So a compatible fix would be to treat entries without a leading "/" as relative.
Comment 1 Sebb 2013-07-10 22:30:38 UTC
URL: http://svn.apache.org/r1502030
Log:
Template system should support relative fileName entries
Bugzilla Id: 55237

Modified:
    jmeter/trunk/bin/templates/templates.xml
    jmeter/trunk/src/core/org/apache/jmeter/gui/action/SelectTemplateDialog.java
    jmeter/trunk/src/core/org/apache/jmeter/gui/action/template/Template.java
    jmeter/trunk/src/core/org/apache/jmeter/gui/action/template/TemplateManager.java
    jmeter/trunk/xdocs/changes.xml
Comment 2 Milamber 2013-07-10 22:38:14 UTC
URL: http://svn.apache.org/r1502033
Log:
Templates - provide button to reload template details
Update FR translation
Bugzilla Id: 55236

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/resources/messages_fr.properties