This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 224894 - Missing groovy icon GrailsIcon16x16.png
Summary: Missing groovy icon GrailsIcon16x16.png
Status: VERIFIED FIXED
Alias: None
Product: groovy
Classification: Unclassified
Component: Grails (show other bugs)
Version: 7.4
Hardware: PC Linux
: P2 normal (vote)
Assignee: Martin Janicek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-15 08:12 UTC by Jaroslav Tulach
Modified: 2013-01-17 17:50 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Tulach 2013-01-15 08:12:49 UTC
Build on revision 88535902c134 and on JDK7 fails with

   [repeat]   symbol:   class Bundle
   [repeat]   location: package org.netbeans.modules.groovy.grailsproject.actions
   [repeat] /home/jarda/src/netbeans/ergonomics/groovy.grailsproject/src/org/netbeans/modules/groovy/grailsproject/ui/wizards/GrailsTemplates.java:139: error: Cannot find resource org/netbeans/modules/groovy/grails/resources/GrailsIcon16x16.png
   [repeat]     @TemplateRegistration(
   [repeat]     ^
   [repeat] warning: No processor claimed any of these annotations: org.netbeans.api.templates.TemplateRegistration,org.netbeans.api.templates.TemplateRegistrations
   [repeat] warning: layer file Templates/Project/Groovy/org-netbeans-modules-groovy-grailsproject-ui-wizards-GrailsTemplates-create was never written
   [repeat] 1 error

error. This kind of check is not performed on JDK6 (due to bugs in javac), but it very likely signals a problem - missing icon. May also affect the 7.3 release...
Comment 1 Martin Janicek 2013-01-15 08:51:15 UTC
Thanks Jardo, I'll take a look. It's probably caused by my changes from yesterday
Comment 2 Marian Mirilovic 2013-01-16 12:36:27 UTC
I do not see affected file in release73 ... Martin, is this also a problem of 7.3 ?
Comment 3 Martin Janicek 2013-01-16 12:38:52 UTC
Nope, it is caused by changeset http://hg.netbeans.org/main-silver/rev/4c5f14d9a0d7 which was pushed into the main repository few days after the code freeze.
Comment 4 Martin Janicek 2013-01-16 13:41:06 UTC
Should be fixed in: web-main #74d5e72bfc9f
Would be great if anyone using JDK7 could confirm it.
Comment 5 Jaroslav Tulach 2013-01-16 13:49:40 UTC
As we may consider switching to JDK1.7 soon, it would good to have a job that compiles NetBeans by JDK7. Petr, could you set it up on deadlock.nb.org or elsewhere?
Comment 6 Martin Janicek 2013-01-16 13:51:00 UTC
(In reply to comment #5)
> As we may consider switching to JDK1.7 soon, it would good to have a job that
> compiles NetBeans by JDK7. Petr, could you set it up on deadlock.nb.org or
> elsewhere?

+1
Comment 7 Vladimir Voskresensky 2013-01-16 14:22:28 UTC
the same problem with jdk1.6.0_38.

Btw, fix is not enough. The next error is:
groovy.grailsproject/src/org/netbeans/modules/groovy/grailsproject/ui/wizards/GrailsTemplates.java:134: error: Cannot find resource org/netbeans/modules/groovy/support/resources/GroovyFile16x16.png
    public static WizardDescriptor.InstantiatingIterator createArtifactIterator() {
Comment 8 Martin Janicek 2013-01-16 14:33:31 UTC
Second try: web-main #16d17e328d7c

Weird problem. The compiler is complaining about missing resources just because it is located in a different module even if the dependent support module contains it. The package containing "missing" resources isn't public API, but it's not even possible (at least using NetBeans UI) to say it should be because it doesn't contain any java source.
Comment 9 Quality Engineering 2013-01-17 02:50:04 UTC
Integrated into 'main-golden', will be available in build *201301170001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/74d5e72bfc9f
User: Martin Janicek <mjanicek@netbeans.org>
Log: #224894 - Missing groovy icon GrailsIcon16x16.png
Comment 10 Martin Janicek 2013-01-17 15:17:08 UTC
Forgot to close the issue --> Fixed
Comment 11 Vladimir Voskresensky 2013-01-17 15:18:58 UTC
verified. thanks.