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 Sun, 15 Nov 2020 21:15:34 GMT

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