Bug 55411 - NativeCommand could be useful elsewhere
NativeCommand could be useful elsewhere
Status: RESOLVED FIXED
Product: JMeter
Classification: Unclassified
Component: Main
2.9
PC Windows XP
: P2 enhancement (vote)
: ---
Assigned To: JMeter issues mailing list
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2013-08-13 09:22 UTC by Sebb
Modified: 2013-08-13 09:46 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-08-13 09:22:13 UTC
The NativeCommand functionality could be useful elsewhere in JMeter.

The processing could be extracted and moved under the jorphan package (with suitable renaming).

To maintain compatibility, a public wrapper could be retained in the original location.
Comment 1 Sebb 2013-08-13 09:38:48 UTC
URL: http://svn.apache.org/r1513407
Log:
NativeCommand could be useful elsewhere
Moved code to o.a.jorphan.exec
Bugzilla Id: 55411

Added:
    jmeter/trunk/src/jorphan/org/apache/jorphan/exec/
    jmeter/trunk/src/jorphan/org/apache/jorphan/exec/NativeCommand.java   (with props)
    jmeter/trunk/src/jorphan/org/apache/jorphan/exec/StreamCopier.java
      - copied, changed from r1507501, jmeter/trunk/src/protocol/native/org/apache/jmeter/protocol/system/StreamCopier.java
    jmeter/trunk/src/jorphan/org/apache/jorphan/exec/StreamGobbler.java
      - copied, changed from r1507501, jmeter/trunk/src/protocol/native/org/apache/jmeter/protocol/system/StreamGobbler.java
Removed:
    jmeter/trunk/src/protocol/native/org/apache/jmeter/protocol/system/StreamCopier.java
    jmeter/trunk/src/protocol/native/org/apache/jmeter/protocol/system/StreamGobbler.java
Modified:
    jmeter/trunk/src/protocol/native/org/apache/jmeter/protocol/system/NativeCommand.java
    jmeter/trunk/xdocs/changes.xml
Comment 2 Sebb 2013-08-13 09:46:39 UTC
URL: http://svn.apache.org/r1513410
Log:
NativeCommand could be useful elsewhere
Deprecate original class
Rename new class to avoid confusion
Bugzilla Id: 55411

Added:
    jmeter/trunk/src/jorphan/org/apache/jorphan/exec/SystemCommand.java
      - copied, changed from r1513407, jmeter/trunk/src/jorphan/org/apache/jorphan/exec/NativeCommand.java
Removed:
    jmeter/trunk/src/jorphan/org/apache/jorphan/exec/NativeCommand.java
Modified:
    jmeter/trunk/src/protocol/native/org/apache/jmeter/protocol/system/NativeCommand.java
    jmeter/trunk/src/protocol/native/org/apache/jmeter/protocol/system/SystemSampler.java