Bug 63060 - Report Generator: A generator should only check for folder/files it generates and only delete those ones
Summary: Report Generator: A generator should only check for folder/files it generates...
Status: RESOLVED FIXED
Alias: None
Product: JMeter
Classification: Unclassified
Component: Main (show other bugs)
Version: 5.0
Hardware: All All
: P2 enhancement (vote)
Target Milestone: JMETER_5.1
Assignee: JMeter issues mailing list
URL:
Keywords: FixedInTrunk
Depends on:
Blocks:
 
Reported: 2019-01-07 09:41 UTC by Philippe Mouawad
Modified: 2019-01-07 09:47 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Mouawad 2019-01-07 09:41:24 UTC
Currently, when Report Generator runs, HtmlTemplateExporter will clean all  content of folder referenced by "-o" command line option, even if this content is generated by another Exporter while running.

This could be considered as a Bug if there was any other existing Exporter.
Comment 1 Philippe Mouawad 2019-01-07 09:47:34 UTC
Author: pmouawad
Date: Mon Jan  7 09:44:03 2019
New Revision: 1850622

URL: http://svn.apache.org/viewvc?rev=1850622&view=rev
Log:
Bug 63060 - Report Generator: A generator should only check for folder/files it generates and only delete those ones
Bugzilla Id: 63060

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/report/dashboard/AbstractDataExporter.java
    jmeter/trunk/src/core/org/apache/jmeter/report/dashboard/HtmlTemplateExporter.java
    jmeter/trunk/src/core/org/apache/jmeter/report/dashboard/TemplateVisitor.java
    jmeter/trunk/src/jorphan/org/apache/jorphan/util/JOrphanUtils.java
    jmeter/trunk/xdocs/changes.xml