Bug 55237

Summary: Template system should support relative fileName entries
Product: JMeter Reporter: Sebb <sebb>
Component: MainAssignee: JMeter issues mailing list <issues>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 2.9   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   

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