Author: pmouawad Date: Sat Oct 8 07:53:25 2016 New Revision: 1763862 URL: http://svn.apache.org/viewvc?rev=1763862&view=rev Log: Bug 60225 - Drop deprecated __jexl function and dependency on commons-jexl Bugzilla Id: 60225 Removed: jmeter/trunk/src/functions/org/apache/jmeter/functions/JexlFunction.java Modified: jmeter/trunk/build.properties jmeter/trunk/build.xml jmeter/trunk/eclipse.classpath jmeter/trunk/lib/ (props changed) jmeter/trunk/lib/aareadme.txt jmeter/trunk/licenses/bin/README.txt jmeter/trunk/res/maven/ApacheJMeter_parent.pom jmeter/trunk/xdocs/changes.xml jmeter/trunk/xdocs/usermanual/functions.xml Modified: jmeter/trunk/build.properties URL: http://svn.apache.org/viewvc/jmeter/trunk/build.properties?rev=1763862&r1=1763861&r2=1763862&view=diff ============================================================================== --- jmeter/trunk/build.properties (original) +++ jmeter/trunk/build.properties Sat Oct 8 07:53:25 2016 @@ -110,11 +110,6 @@ commons-io.jar = commons-io commons-io.loc = ${maven2.repo}/commons-io/commons-io/${commons-io.version} commons-io.md5 = e2d74794fba570ec2115fb9d5b05dc9b -commons-jexl.version = 1.1 -commons-jexl.jar = commons-jexl-${commons-jexl.version}.jar -commons-jexl.loc = ${maven2.repo}/commons-jexl/commons-jexl/${commons-jexl.version} -commons-jexl.md5 = 3F7735D20FCE1DBE05F62FF7A7B178DC - commons-jexl2.version = 2.1.1 commons-jexl2.jar = commons-jexl-${commons-jexl2.version}.jar commons-jexl2.loc = ${maven2.repo}/org/apache/commons/commons-jexl/${commons-jexl2.version} Modified: jmeter/trunk/build.xml URL: http://svn.apache.org/viewvc/jmeter/trunk/build.xml?rev=1763862&r1=1763861&r2=1763862&view=diff ============================================================================== --- jmeter/trunk/build.xml (original) +++ jmeter/trunk/build.xml Sat Oct 8 07:53:25 2016 @@ -381,7 +381,6 @@ - @@ -458,7 +457,6 @@ - @@ -2967,7 +2965,6 @@ run JMeter unless all the JMeter jars ar - Modified: jmeter/trunk/eclipse.classpath URL: http://svn.apache.org/viewvc/jmeter/trunk/eclipse.classpath?rev=1763862&r1=1763861&r2=1763862&view=diff ============================================================================== --- jmeter/trunk/eclipse.classpath (original) +++ jmeter/trunk/eclipse.classpath Sat Oct 8 07:53:25 2016 @@ -54,7 +54,6 @@ - Propchange: jmeter/trunk/lib/ ------------------------------------------------------------------------------ --- svn:ignore (original) +++ svn:ignore Sat Oct 8 07:53:25 2016 @@ -12,7 +12,6 @@ commons-collections-3.2.2.jar commons-dbcp2-2.1.1.jar commons-httpclient-3.1.jar commons-io-2.5.jar -commons-jexl-1.1.jar commons-jexl-2.1.1.jar commons-jexl3-3.0.jar commons-lang3-3.4.jar Modified: jmeter/trunk/lib/aareadme.txt URL: http://svn.apache.org/viewvc/jmeter/trunk/lib/aareadme.txt?rev=1763862&r1=1763861&r2=1763862&view=diff ============================================================================== --- jmeter/trunk/lib/aareadme.txt (original) +++ jmeter/trunk/lib/aareadme.txt Sat Oct 8 07:53:25 2016 @@ -59,7 +59,7 @@ commons-io-2.5 http://commons.apache.org/downloads/download_io.cgi - FTPSampler -commons-jexl-1.1, commons-jexl-2.1.1, commons-jexl3-3.0 +commons-jexl-2.1.1, commons-jexl3-3.0 ---------------- http://commons.apache.org/downloads/download_jexl.cgi - Jexl function and BSF test elements Modified: jmeter/trunk/licenses/bin/README.txt URL: http://svn.apache.org/viewvc/jmeter/trunk/licenses/bin/README.txt?rev=1763862&r1=1763861&r2=1763862&view=diff ============================================================================== --- jmeter/trunk/licenses/bin/README.txt (original) +++ jmeter/trunk/licenses/bin/README.txt Sat Oct 8 07:53:25 2016 @@ -10,7 +10,6 @@ commons-collections-3.2.2.jar commons-dbcp2-2.1.1.jar commons-httpclient-3.1.jar commons-io-2.5.jar -commons-jexl-1.1.jar commons-jexl-2.1.1.jar commons-jexl3-3.0.jar commons-lang3-3.4.jar Modified: jmeter/trunk/res/maven/ApacheJMeter_parent.pom URL: http://svn.apache.org/viewvc/jmeter/trunk/res/maven/ApacheJMeter_parent.pom?rev=1763862&r1=1763861&r2=1763862&view=diff ============================================================================== --- jmeter/trunk/res/maven/ApacheJMeter_parent.pom (original) +++ jmeter/trunk/res/maven/ApacheJMeter_parent.pom Sat Oct 8 07:53:25 2016 @@ -65,7 +65,6 @@ under the License. 2.1.1 3.1 2.5 - 1.1 2.1.1 3.0 3.4 @@ -179,11 +178,6 @@ under the License. ${commons-io.version} - commons-jexl - commons-jexl - ${commons-jexl.version} - - org.apache.commons commons-jexl ${commons-jexl2.version} Modified: jmeter/trunk/xdocs/changes.xml URL: http://svn.apache.org/viewvc/jmeter/trunk/xdocs/changes.xml?rev=1763862&r1=1763861&r2=1763862&view=diff ============================================================================== --- jmeter/trunk/xdocs/changes.xml [utf-8] (original) +++ jmeter/trunk/xdocs/changes.xml [utf-8] Sat Oct 8 07:53:25 2016 @@ -77,10 +77,11 @@ Summary
  • Since 3.1 version, CSV DataSet now trims variable names to avoid issues due to spaces between variables names when configuring CSV DataSet. This should not have any impact for you unless you use space at the begining or end of your variable names. See 60221
  • -

    Deprecated and removed elements

    +

    Deprecated and removed elements or functions

    • 60222Remove deprecated elements Distribution Graph, Spline Visualizer
    • -
    • 60224Deprecate Monitor Results listener
    • +
    • 60224Deprecate Monitor Results listener. It will be dropped in next version
    • +
    • 60225Drop deprecated __jexl function and dependency on commons-jexl-1.1.jar This function can be easily replaced with __jexl3 function
    Modified: jmeter/trunk/xdocs/usermanual/functions.xml URL: http://svn.apache.org/viewvc/jmeter/trunk/xdocs/usermanual/functions.xml?rev=1763862&r1=1763861&r2=1763862&view=diff ============================================================================== --- jmeter/trunk/xdocs/usermanual/functions.xml (original) +++ jmeter/trunk/xdocs/usermanual/functions.xml Sat Oct 8 07:53:25 2016 @@ -128,7 +128,6 @@ Alternatively, just use / i Scripting groovyrun a Groovy script3.1 Scripting BeanShellrun a BeanShell script1.X Scripting javaScriptprocess JavaScript (Mozilla Rhino)1.9 - Scripting jexlevaluate a Commons Jexl expression. This function is DEPRECATED as of JMeter 3.0, it will be removed in 3.1 version.jexl1(1.1) Scripting jexl2evaluate a Commons Jexl2 expressionjexl2(2.1.1) Scripting jexl3evaluate a Commons Jexl3 expressionjexl3 (3.0) Properties property read a property2.0 @@ -1075,58 +1074,6 @@ The following shorthand aliases are prov

    - - -

    The jexl function returns the result of evaluating a - Commons JEXL expression. - See links below for more information on JEXL expressions. -

    -

    The __jexl function uses Commons JEXL

    - - THIS FUNCTION IS DEPRECATED and should not be used, it will be dropped in next JMeter version -
    - - - - The expression to be evaluated. For example, 6*(5+2) - - The name of the variable to set. - -

    -The following variables are made available to the script: -

    - -

    - Jexl can also create classes and call methods on them, for example: -

    -

    - -Systemclass=log.class.forName("java.lang.System"); -now=Systemclass.currentTimeMillis(); - - Note that the Jexl documentation on the web-site wrongly suggests that "div" does integer division. - In fact "div" and "/" both perform normal division. One can get the same effect - as follows: - -i= 5 / 2; -i.intValue(); // or use i.longValue() - -

    - JMeter allows the expression to contain multiple statements. -
    -

    The jexl function returns the result of evaluating a