jmeter-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philippe Mouawad <philippe.moua...@gmail.com>
Subject Re: "gradlew eclipse" is broken in master branch
Date Sun, 15 Nov 2020 22:30:18 GMT
Hello,
Deleting and importing again projects helped a bit, thanks Vladimir.
I guess the issue you mention leads to error in dependant project:
"ResourceKeyUsageTest cannot be resolved to a type"

I think I am using a too old version of Eclipse for the project state now.
I'll upgrade and give feedback.

Thanks
Regards
On Sun, Nov 15, 2020 at 10:48 PM Philippe Mouawad <
philippe.mouawad@gmail.com> wrote:

> 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 ?
>
> 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
>>
>>
>
> --
> Cordialement.
> Philippe Mouawad.
>
>
>

-- 
Cordialement.
Philippe Mouawad.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message