You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jmeter.apache.org by sebb <se...@gmail.com> on 2015/10/12 18:55:00 UTC
Re: svn commit: r1708135 - in /jmeter/trunk: build.xml
eclipse.classpath test/resources/
On 12 October 2015 at 15:56, <fs...@apache.org> wrote:
> Author: fschumacher
> Date: Mon Oct 12 14:56:30 2015
> New Revision: 1708135
>
> URL: http://svn.apache.org/viewvc?rev=1708135&view=rev
> Log:
> Add a directory for resources used by tests/unit cases to classpath in the
> _test target and the eclipse class path.
>
> Added:
> jmeter/trunk/test/resources/
> Modified:
> jmeter/trunk/build.xml
> jmeter/trunk/eclipse.classpath
>
> Modified: jmeter/trunk/build.xml
> URL: http://svn.apache.org/viewvc/jmeter/trunk/build.xml?rev=1708135&r1=1708134&r2=1708135&view=diff
> ==============================================================================
> --- jmeter/trunk/build.xml (original)
> +++ jmeter/trunk/build.xml Mon Oct 12 14:56:30 2015
> @@ -263,6 +263,7 @@
> <property name="build.mongodb" value="build/protocol/mongodb"/>
> <property name="build.test" value="build/test"/>
> <property name="build.res" value="build/res"/>
> + <property name="build.test-res" value="test/resources"/>
>
> <!-- Path prefix to allow Anakia to find stylesheets if running under Eclipse -->
> <!--
> @@ -2607,6 +2608,7 @@ run JMeter unless all the JMeter jars ar
> <fileset dir="${dest.jar.jmeter}" includes="ApacheJMeter.jar"/>
> <fileset dir="${dest.jar}" includes="*.jar"/>
> <pathelement location="${build.test}"/>
> + <pathelement location="${build.test-res}"/>
> <path refid="classpath"/>
> </classpath>
> <jvmarg value="-server"/>
>
> Modified: jmeter/trunk/eclipse.classpath
> URL: http://svn.apache.org/viewvc/jmeter/trunk/eclipse.classpath?rev=1708135&r1=1708134&r2=1708135&view=diff
> ==============================================================================
> --- jmeter/trunk/eclipse.classpath (original)
> +++ jmeter/trunk/eclipse.classpath Mon Oct 12 14:56:30 2015
> @@ -98,6 +98,7 @@
> <classpathentry kind="lib" path="lib/xpp3_min-1.1.4c.jar"/>
> <classpathentry kind="lib" path="lib/xstream-1.4.8.jar"/>
> <!-- Needed for build and test -->
> + <classpathentry kind="src" path="test/resources" output="build/test" excluding="**/*.java"/>
Is the exclude of java files readlly needed?
Why would test/resources contain any .java files?
And if it does, surely they are present for a reason and ought to be copied?
> <classpathentry kind="lib" path="lib/api/bcmail-jdk15on-1.49.jar"/>
> <classpathentry kind="lib" path="lib/api/bcprov-jdk15on-1.49.jar"/>
> <classpathentry kind="lib" path="lib/api/bcpkix-jdk15on-1.49.jar"/>
>
>
Re: svn commit: r1708135 - in /jmeter/trunk: build.xml
eclipse.classpath test/resources/
Posted by Felix Schumacher <fe...@internetallee.de>.
Am 12.10.2015 um 18:55 schrieb sebb:
> On 12 October 2015 at 15:56, <fs...@apache.org> wrote:
>> Author: fschumacher
>> Date: Mon Oct 12 14:56:30 2015
>> New Revision: 1708135
>>
>> URL: http://svn.apache.org/viewvc?rev=1708135&view=rev
>> Log:
>> Add a directory for resources used by tests/unit cases to classpath in the
>> _test target and the eclipse class path.
>>
>> Added:
>> jmeter/trunk/test/resources/
>> Modified:
>> jmeter/trunk/build.xml
>> jmeter/trunk/eclipse.classpath
>>
>> Modified: jmeter/trunk/build.xml
>> URL: http://svn.apache.org/viewvc/jmeter/trunk/build.xml?rev=1708135&r1=1708134&r2=1708135&view=diff
>> ==============================================================================
>> --- jmeter/trunk/build.xml (original)
>> +++ jmeter/trunk/build.xml Mon Oct 12 14:56:30 2015
>> @@ -263,6 +263,7 @@
>> <property name="build.mongodb" value="build/protocol/mongodb"/>
>> <property name="build.test" value="build/test"/>
>> <property name="build.res" value="build/res"/>
>> + <property name="build.test-res" value="test/resources"/>
>>
>> <!-- Path prefix to allow Anakia to find stylesheets if running under Eclipse -->
>> <!--
>> @@ -2607,6 +2608,7 @@ run JMeter unless all the JMeter jars ar
>> <fileset dir="${dest.jar.jmeter}" includes="ApacheJMeter.jar"/>
>> <fileset dir="${dest.jar}" includes="*.jar"/>
>> <pathelement location="${build.test}"/>
>> + <pathelement location="${build.test-res}"/>
>> <path refid="classpath"/>
>> </classpath>
>> <jvmarg value="-server"/>
>>
>> Modified: jmeter/trunk/eclipse.classpath
>> URL: http://svn.apache.org/viewvc/jmeter/trunk/eclipse.classpath?rev=1708135&r1=1708134&r2=1708135&view=diff
>> ==============================================================================
>> --- jmeter/trunk/eclipse.classpath (original)
>> +++ jmeter/trunk/eclipse.classpath Mon Oct 12 14:56:30 2015
>> @@ -98,6 +98,7 @@
>> <classpathentry kind="lib" path="lib/xpp3_min-1.1.4c.jar"/>
>> <classpathentry kind="lib" path="lib/xstream-1.4.8.jar"/>
>> <!-- Needed for build and test -->
>> + <classpathentry kind="src" path="test/resources" output="build/test" excluding="**/*.java"/>
> Is the exclude of java files readlly needed?
> Why would test/resources contain any .java files?
> And if it does, surely they are present for a reason and ought to be copied?
Java files should not be located in resources. Or do you think they
should be allowed? What reasons would be valid?
I looked at how maven resources will be converted into eclipse paths and
that is how they are doing it, so I reckoned it would be the right thing
to do.
But I have no problem with removing that constraint.
Regards,
Felix
>
>> <classpathentry kind="lib" path="lib/api/bcmail-jdk15on-1.49.jar"/>
>> <classpathentry kind="lib" path="lib/api/bcprov-jdk15on-1.49.jar"/>
>> <classpathentry kind="lib" path="lib/api/bcpkix-jdk15on-1.49.jar"/>
>>
>>
Re: svn commit: r1708135 - in /jmeter/trunk: build.xml
eclipse.classpath test/resources/
Posted by sebb <se...@gmail.com>.
On 12 October 2015 at 21:06, Felix Schumacher
<fe...@internetallee.de> wrote:
> Am 12.10.2015 um 18:55 schrieb sebb:
>>
>> On 12 October 2015 at 15:56, <fs...@apache.org> wrote:
>>>
>>> Author: fschumacher
>>> Date: Mon Oct 12 14:56:30 2015
>>> New Revision: 1708135
>>>
>>> URL: http://svn.apache.org/viewvc?rev=1708135&view=rev
>>> Log:
>>> Add a directory for resources used by tests/unit cases to classpath in
>>> the
>>> _test target and the eclipse class path.
>>>
>>> Added:
>>> jmeter/trunk/test/resources/
>>> Modified:
>>> jmeter/trunk/build.xml
>>> jmeter/trunk/eclipse.classpath
>>>
>>> Modified: jmeter/trunk/build.xml
>>> URL:
>>> http://svn.apache.org/viewvc/jmeter/trunk/build.xml?rev=1708135&r1=1708134&r2=1708135&view=diff
>>>
>>> ==============================================================================
>>> --- jmeter/trunk/build.xml (original)
>>> +++ jmeter/trunk/build.xml Mon Oct 12 14:56:30 2015
>>> @@ -263,6 +263,7 @@
>>> <property name="build.mongodb" value="build/protocol/mongodb"/>
>>> <property name="build.test" value="build/test"/>
>>> <property name="build.res" value="build/res"/>
>>> + <property name="build.test-res" value="test/resources"/>
>>>
>>> <!-- Path prefix to allow Anakia to find stylesheets if running under
>>> Eclipse -->
>>> <!--
>>> @@ -2607,6 +2608,7 @@ run JMeter unless all the JMeter jars ar
>>> <fileset dir="${dest.jar.jmeter}" includes="ApacheJMeter.jar"/>
>>> <fileset dir="${dest.jar}" includes="*.jar"/>
>>> <pathelement location="${build.test}"/>
>>> + <pathelement location="${build.test-res}"/>
>>> <path refid="classpath"/>
>>> </classpath>
>>> <jvmarg value="-server"/>
>>>
>>> Modified: jmeter/trunk/eclipse.classpath
>>> URL:
>>> http://svn.apache.org/viewvc/jmeter/trunk/eclipse.classpath?rev=1708135&r1=1708134&r2=1708135&view=diff
>>>
>>> ==============================================================================
>>> --- jmeter/trunk/eclipse.classpath (original)
>>> +++ jmeter/trunk/eclipse.classpath Mon Oct 12 14:56:30 2015
>>> @@ -98,6 +98,7 @@
>>> <classpathentry kind="lib" path="lib/xpp3_min-1.1.4c.jar"/>
>>> <classpathentry kind="lib" path="lib/xstream-1.4.8.jar"/>
>>> <!-- Needed for build and test -->
>>> + <classpathentry kind="src" path="test/resources"
>>> output="build/test" excluding="**/*.java"/>
>>
>> Is the exclude of java files readlly needed?
>> Why would test/resources contain any .java files?
>> And if it does, surely they are present for a reason and ought to be
>> copied?
>
> Since those options are not present at the other entries and are not really
> needed, I have removed them.
Thanks.
To be clear - I don't expect there to be any java files in that
directory, so explicitly excluding them seems wrong.
Generally one would only exclude files that need to be excluded.
> Regards,
> Felix
>
>
>>
>>> <classpathentry kind="lib"
>>> path="lib/api/bcmail-jdk15on-1.49.jar"/>
>>> <classpathentry kind="lib"
>>> path="lib/api/bcprov-jdk15on-1.49.jar"/>
>>> <classpathentry kind="lib"
>>> path="lib/api/bcpkix-jdk15on-1.49.jar"/>
>>>
>>>
>
Re: svn commit: r1708135 - in /jmeter/trunk: build.xml
eclipse.classpath test/resources/
Posted by Felix Schumacher <fe...@internetallee.de>.
Am 12.10.2015 um 18:55 schrieb sebb:
> On 12 October 2015 at 15:56, <fs...@apache.org> wrote:
>> Author: fschumacher
>> Date: Mon Oct 12 14:56:30 2015
>> New Revision: 1708135
>>
>> URL: http://svn.apache.org/viewvc?rev=1708135&view=rev
>> Log:
>> Add a directory for resources used by tests/unit cases to classpath in the
>> _test target and the eclipse class path.
>>
>> Added:
>> jmeter/trunk/test/resources/
>> Modified:
>> jmeter/trunk/build.xml
>> jmeter/trunk/eclipse.classpath
>>
>> Modified: jmeter/trunk/build.xml
>> URL: http://svn.apache.org/viewvc/jmeter/trunk/build.xml?rev=1708135&r1=1708134&r2=1708135&view=diff
>> ==============================================================================
>> --- jmeter/trunk/build.xml (original)
>> +++ jmeter/trunk/build.xml Mon Oct 12 14:56:30 2015
>> @@ -263,6 +263,7 @@
>> <property name="build.mongodb" value="build/protocol/mongodb"/>
>> <property name="build.test" value="build/test"/>
>> <property name="build.res" value="build/res"/>
>> + <property name="build.test-res" value="test/resources"/>
>>
>> <!-- Path prefix to allow Anakia to find stylesheets if running under Eclipse -->
>> <!--
>> @@ -2607,6 +2608,7 @@ run JMeter unless all the JMeter jars ar
>> <fileset dir="${dest.jar.jmeter}" includes="ApacheJMeter.jar"/>
>> <fileset dir="${dest.jar}" includes="*.jar"/>
>> <pathelement location="${build.test}"/>
>> + <pathelement location="${build.test-res}"/>
>> <path refid="classpath"/>
>> </classpath>
>> <jvmarg value="-server"/>
>>
>> Modified: jmeter/trunk/eclipse.classpath
>> URL: http://svn.apache.org/viewvc/jmeter/trunk/eclipse.classpath?rev=1708135&r1=1708134&r2=1708135&view=diff
>> ==============================================================================
>> --- jmeter/trunk/eclipse.classpath (original)
>> +++ jmeter/trunk/eclipse.classpath Mon Oct 12 14:56:30 2015
>> @@ -98,6 +98,7 @@
>> <classpathentry kind="lib" path="lib/xpp3_min-1.1.4c.jar"/>
>> <classpathentry kind="lib" path="lib/xstream-1.4.8.jar"/>
>> <!-- Needed for build and test -->
>> + <classpathentry kind="src" path="test/resources" output="build/test" excluding="**/*.java"/>
> Is the exclude of java files readlly needed?
> Why would test/resources contain any .java files?
> And if it does, surely they are present for a reason and ought to be copied?
Since those options are not present at the other entries and are not
really needed, I have removed them.
Regards,
Felix
>
>> <classpathentry kind="lib" path="lib/api/bcmail-jdk15on-1.49.jar"/>
>> <classpathentry kind="lib" path="lib/api/bcprov-jdk15on-1.49.jar"/>
>> <classpathentry kind="lib" path="lib/api/bcpkix-jdk15on-1.49.jar"/>
>>
>>