Code Monkey home page Code Monkey logo

codenarc-eclipse's People

Contributors

darxriggs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

codenarc-eclipse's Issues

is jdk 1.6 mandatory for this plugin ?

Hi !
Your manifest file specifies "Bundle-RequiredExecutionEnvironment: JavaSE-1.6". As result it is not working if eclipse is launched with a jdk 1.5 JVM.
Can this manifest instruction be removed ?

CodeNarc plugin won't install on ggts-3.6.0.RELEASE

Cannot complete the install because one or more required items could not be found.
  Software being installed: CodeNarc 0.21.0.201408031220 (org.codenarc.eclipse.feature.feature.group 0.21.0.201408031220)
  Missing requirement: CodeNarc 0.21.0.201408031220 (org.codenarc.eclipse.plugin 0.21.0.201408031220) requires 'bundle org.codehaus.groovy [1.7.0,1.8.99]' but it could not be found
  Cannot satisfy dependency:
    From: CodeNarc 0.21.0.201408031220 (org.codenarc.eclipse.feature.feature.group 0.21.0.201408031220)
    To: org.codenarc.eclipse.plugin [0.21.0.201408031220]

Somehow it won't find org.codehaus.groovy :-/

Internal error (NoClassDefFoundError for AssertionRenderer)

Hello

On Groovy/Grails Tool Suite, Version: 3.1.0.RELEASE, Build Id: 201210061308,
I have installed the plugin through http://codenarceclipse.sourceforge.net/eclipse/release

I try to run the plugin on my project's root: Groovy > check code with codenarc
I get the popup dialog: "Internal error occurred" , due to a NoClassDefFoundError for AssertionRenderer (trace below)

If I try the plugin on a normal groovy class (for example a Controller), I get no issues. I think the problem cmes from some plugins included by my project. How can I exclude the plugins from codenarc analysis ?

Thanks!

java.lang.NoClassDefFoundError: org/codehaus/groovy/transform/powerassert/AssertionRenderer
    at org.codenarc.source.SourceString.<init>(SourceString.groovy:39)
    at org.codenarc.source.SourceString.<init>(SourceString.groovy)
    at sun.reflect.GeneratedConstructorAccessor138.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:77)
    at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:102)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:190)
    at org.codenarc.analyzer.StringSourceAnalyzer.<init>(StringSourceAnalyzer.groovy:32)
    at sun.reflect.GeneratedConstructorAccessor137.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:77)
    at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:102)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:190)
    at org.codenarc.eclipse.jobs.CheckCodeJob.analyzeSource(CheckCodeJob.groovy:89)
    at org.codenarc.eclipse.jobs.CheckCodeJob.this$5$analyzeSource(CheckCodeJob.groovy)
    at org.codenarc.eclipse.jobs.CheckCodeJob$this$5$analyzeSource.callCurrent(Unknown Source)
    at org.codenarc.eclipse.jobs.CheckCodeJob.checkFile(CheckCodeJob.groovy:77)
    at org.codenarc.eclipse.jobs.CheckCodeJob.this$5$checkFile(CheckCodeJob.groovy)
    at org.codenarc.eclipse.jobs.CheckCodeJob$this$5$checkFile.callCurrent(Unknown Source)
    at org.codenarc.eclipse.jobs.CheckCodeJob.checkFiles(CheckCodeJob.groovy:67)
    at org.codenarc.eclipse.jobs.CheckCodeJob.this$5$checkFiles(CheckCodeJob.groovy)
    at org.codenarc.eclipse.jobs.CheckCodeJob$this$5$checkFiles.callCurrent(Unknown Source)
    at org.codenarc.eclipse.jobs.CheckCodeJob.run(CheckCodeJob.groovy:40)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.