jmeter-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Schumacher <felix.schumac...@internetallee.de>
Subject Re: "gradlew eclipse" is broken in master branch
Date Tue, 17 Nov 2020 10:27:05 GMT

Am 15.11.20 um 22:48 schrieb Philippe Mouawad:
> Hello Felix,
> You are right, I didn't dig too much and I think I sent a mail too early.
>
> What version of Eclipse are you using ? And which Groovy plugin did you
> install ?

I have a long lived eclipse installation, that survived (more or less) a
lot of updates. Currently it is reporting:

Version: 2020-09 (4.17.0)
Build id: 20200910-1200

and the Eclipse Groovy Development Tools are reporting:

Version: 4.0.0.v202011132327-e2009

Felix

>
> Thanks
>
> On Sun, Nov 15, 2020 at 10:15 PM Felix Schumacher <
> felix.schumacher@internetallee.de> wrote:
>
>> Am 14.11.20 um 19:47 schrieb Philippe Mouawad:
>>> Hello folks,
>>> I pulled latest version of JMeter and ran
>>> ./gradlew eclipse
>>>
>>> It is broken for me as it generates broken .classpath files.
>>> The path to dependencies contains an additional UUID :
>>>
>>> For example:
>>>         <classpathentry
>>>
>> sourcepath="/Users/PhilM/.gradle/caches/modules-2/files-2.1/org.apache.commons/commons-lang3/3.11/24014867e470db3942db53b17a4902f4215d5ea8/commons-lang3-3.11-sources.jar"
>>> kind="lib"
>>>
>> path="/Users/PhilM/.gradle/caches/modules-2/files-2.1/org.apache.commons/commons-lang3/3.11/68e9a6adf7cf8eb7e9d31bbc554c7c75eeaac568/commons-lang3-3.11.jar">
>>>                 <attributes>
>>>                         <attribute name="gradle_used_by_scope"
>>> value="main,test"/>
>>>                 </attributes>
>>>         </classpathentry>
>>>
>>> Do you have the same issue ?
>> While I have the same links, I believe it is not a problem, as those
>> files are on my disk - stored at the location thy point to.
>>
>> Why do you think this is problematic?
>>
>> I have another problem with the eclipse setup. It is because the class
>> JMeterTestCase is located in 'core' in the test classes, it is not
>> exported to the subprojects anymore and the tests in the subprojects are
>> marked as errors, because the parent classes can't be found.
>>
>> You can fix it by hand, if you go to "Configure build path -> Projects
>> -> core -> Without test code: Yes" and toggle it to "No".
>>
>> How can we fix this in a clean way? Move the classes to src/main? Export
>> the test classes to the tests of the subprojects? How?
>>
>> No real clue
>>
>>  Felix
>>
>>

Mime
View raw message