Bug 63081

Summary: Command line Option '-f' does not delete report folder when using generation only (-g)
Product: JMeter Reporter: Philippe Mouawad <p.mouawad>
Component: MainAssignee: JMeter issues mailing list <issues>
Status: RESOLVED FIXED    
Severity: normal CC: p.mouawad
Priority: P2 Keywords: FixedInTrunk
Version: 5.0   
Target Milestone: JMETER_5.1   
Hardware: All   
OS: All   

Description Philippe Mouawad 2019-01-16 22:31:29 UTC
Run:
./jmeter -g /data/jmeter/recording-ulp-blog.csv -o /data/jmeter/recording-ulp-blog-2

Run then:
./jmeter -g /data/jmeter/recording-ulp-blog.csv -o /data/jmeter/recording-ulp-blog-2 -f 


KO Result:
An error occurred: Cannot write to '/data/jmeter/recording-ulp-blog-2' as folder is not empty

Expected result:
Webreport is overwritten
Comment 1 Philippe Mouawad 2019-01-16 22:34:09 UTC
Author: pmouawad
Date: Wed Jan 16 22:33:47 2019
New Revision: 1851489

URL: http://svn.apache.org/viewvc?rev=1851489&view=rev
Log:
Bug 63081 - Command line Option '-f' does not delete report folder when using generation only (-g)

Contributed by UbikLoadPack
Bugzilla Id: 63081

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/JMeter.java
    jmeter/trunk/xdocs/changes.xml