Cannot build IDEA plugin
Maurizio Cimadamore
maurizio.cimadamore at oracle.com
Tue Nov 28 12:52:16 UTC 2017
This patch works well for me. I think it's ok not to do anything in the
various methods, and to return 'false' in 'isConfiguredByElement'
(that's what TestNG plugin also does). I also fixed some deprecated
issues, and one unchecked warning. I've bilt and installed the plugin
and it works fine on my 2017.2.6.
Maurizio
On 28/11/17 12:28, Maurizio Cimadamore wrote:
> Thanks for the report
> I'm contacting JetBrains to seek a resolution on this.
>
> Cheers
> Maurizio
>
>
> On 28/11/17 02:36, Weijun Wang wrote:
>> Error:(64, 8) java:
>> com.oracle.plugin.jtreg.configuration.JTRegConfiguration is not
>> abstract and does not override abstract method
>> isConfiguredByElement(com.intellij.psi.PsiElement) in
>> com.intellij.execution.JavaTestConfigurationBase
>>
>> Ctrl-I adds
>>
>> @Override
>> public void bePatternConfiguration(List<PsiClass> list, PsiMethod
>> psiMethod) {
>> }
>>
>> @Override
>> public void beMethodConfiguration(Location<PsiMethod> location) {
>>
>> }
>>
>> @Override
>> public void beClassConfiguration(PsiClass psiClass) {
>>
>> }
>>
>> @Override
>> public boolean isConfiguredByElement(PsiElement psiElement) {
>> return false;
>> }
>>
>> but I don't know how to implement. If I just build, the plugin can be
>> installed but the settings pane shows a loading wheel and never
>> loads. If I want to run a jtreg test, I see "Error running
>> 'BadName.java': No jtreg path configured".
>>
>> Letting isConfiguredByElement() returning true does not help.
>>
>> I'm using
>>
>> IntelliJ IDEA 2017.2.6
>> Build #IC-172.4574.11, built on November 14, 2017
>> JRE: 1.8.0_152-release-915-b12 x86_64
>> JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
>> Mac OS X 10.13.1
>>
>> Thanks
>> Max
>>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jtreg-refresh.patch
Type: text/x-patch
Size: 6487 bytes
Desc: not available
URL: <http://mail.openjdk.java.net/pipermail/jtreg-dev/attachments/20171128/f24fb390/jtreg-refresh.patch>
More information about the jtreg-dev
mailing list