You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2021/04/12 22:33:13 UTC
[Bug 65237] New: Use custom directory when launching JMeter from
sources (e.g. build/standalone)
https://bz.apache.org/bugzilla/show_bug.cgi?id=65237
Bug ID: 65237
Summary: Use custom directory when launching JMeter from
sources (e.g. build/standalone)
Product: JMeter
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P2
Component: Main
Assignee: issues@jmeter.apache.org
Reporter: sitnikov.vladimir@gmail.com
Target Milestone: JMETER_5.5
Historically, the approach was to build the jars, copy them to /lib and then
launch JMeter.
However, it creates several issues:
a) The source files, the build artifacts and log files interfere. It is hard to
decide which files to remove when cleaning the workspace
b) Adding custom plugins for testing is non-trivial as well. For instance, if
the user adds their own plugins right to /lib/ext (or whatever), then gradlew
clean should keep them there otherwise the user would have to copy the jars
again and again
What do you think if the base scripts and files to launch JMeter were
co-located in a single folder (e.g. /startup/src/main/resources) and copyDist
task copied those files into a temporary folder (e.g.
/src/dist/build/standalone/)?
That does not solve "user-provided plugins for testing", however, it would
separate the source files from the playground.
User-provided plugins could be handled by adding a magic /test-plugins/lib
folder which would be excluded by gitignore. The files from that folder could
be copied into /src/dist/build/standalone/lib as well. Then we can wipe
/src/dist/build/standalone/ and re-create it easily.
WDYT?
See also https://bz.apache.org/bugzilla/show_bug.cgi?id=63914
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 65237] Use custom directory when launching JMeter from sources
(e.g. build/standalone)
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65237
--- Comment #1 from Felix Schumacher <fe...@internetallee.de> ---
Looks like an interesting feature. This is meant for development only, the
binary distribution would not change, right?
--
You are receiving this mail because:
You are the assignee for the bug.