Giter VIP home page Giter VIP logo

malabar-mode-jar's People

Contributors

buzztaiki avatar cocoatomo avatar codefarmer avatar dlbeswick avatar dstu avatar espenhw avatar m0smith avatar nflath avatar otfrom avatar purcell avatar stepb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

malabar-mode-jar's Issues

problem with starting from gradle

Hi, when I attempt to start from gradle, here's what I am getting:

$ gradle run
:compileJava UP-TO-DATE
:compileGroovy UP-TO-DATE
:processResources UP-TO-DATE
:classes UP-TO-DATE
:run
Starting with :[:]
Exception in thread "main" java.lang.RuntimeException: Error grabbing Grapes -- [download failed: org.slf4j#slf4j-api;1.7.5!slf4j-api.jar, download failed: org.apache.httpcomponents#httpcore;4.1!httpcore.jar]
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
    at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:77)
    at org.codehaus.groovy.reflection.CachedConstructor.doConstructorInvoke(CachedConstructor.java:71)
    at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:81)
    at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:57)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:182)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:190)
    at groovy.grape.GrapeIvy.getDependencies(GrapeIvy.groovy:421)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSite.invoke(PogoMetaMethodSite.java:166)
    at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:56)
    at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:49)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133)
    at groovy.grape.GrapeIvy.resolve(GrapeIvy.groovy:566)
    at groovy.grape.GrapeIvy$resolve$3.callCurrent(Unknown Source)
    at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:49)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:153)
    at groovy.grape.GrapeIvy.resolve(GrapeIvy.groovy:535)
    at groovy.grape.GrapeIvy$resolve$2.callCurrent(Unknown Source)
    at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:49)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:149)
    at groovy.grape.GrapeIvy.grab(GrapeIvy.groovy:252)
    at groovy.grape.Grape.grab(Grape.java:163)
    at groovy.grape.Grape$grab.call(Unknown Source)
    at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120)
    at com.software_ninja.malabar.MalabarStart.startCLP(Malabar.groovy:50)
    at com.software_ninja.malabar.MalabarStart$startCLP$0.callCurrent(Unknown Source)
    at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:49)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:145)
    at com.software_ninja.malabar.MalabarStart.startP(Malabar.groovy:38)
    at com.software_ninja.malabar.MalabarStart.startArgs(Malabar.groovy:27)
    at com.software_ninja.malabar.MalabarStart$startArgs.call(Unknown Source)
    at org.codehaus.groovy.runtime.callsite.Callay.defaultCall(CallSiteArray.java:45)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
    at com.software_ninja.malabar.Malabar.run(Malabar.groovy:9)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
    at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324)
    at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1207)
    at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016)
    at org.codehaus.groovy.runtime.InvokerHelper.invokePogoMethod(InvokerHelper.java:901)
    at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:884)
    at org.codehaus.groovy.runtime.InvokerHelper.runScript(InvokerHelper.java:406)
    at org.codehaus.groovy.runtime.InvokerHelper$runScript.call(Unknown Source)
    at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120)
    at com.software_ninja.malabar.Malabar.main(Malabar.groovy)
:run FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':run'.
> Process 'command '/home/luke/work/jdk/jdk1.7.0_75/bin/java'' finished with non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

The similar thing happens when I try to add the port parameter.

Spawn only looks for javaw

The spawn command should find the correct executable from ["bin/javaw.exe", "bin/java.exe", "bin/java"]

Allow projects to specify a JVM version

Some projects require s specific version of the JVM. Allow a project to specify:

  • JVM runtime directory
  • Project root directory (default to the one containing the pom)
  • Allow projects to share the same JVM if they do not rely upon project root for test files.

Rename parameter "pom" to "pm"

Pom only makes sense on a maven environment. PM=Project Manager and can be a pom file for name. Later it might be a gradle, lein, etc.

problems with starting from groovysh

Hi, first of all - thanks for taking up the work on Malabar mode again :)

The new infrastructure is somewhat, well, new to me and I am not 100 % how to work with, but - I noticed that I can't start running the malabar from groovysh. Here's what happens when I select the latest grape for malabar (2.1.0) that I have found on Maven central:

Groovy Shell (2.4.0, JVM: 1.7.0_75)
Type ':help' or ':h' for help.
--------------------------------------------------------------------------------------------------------------------------------
groovy:000> def malabar = { classLoader = new groovy.lang.GroovyClassLoader();
groovy:001>     Map[] grapez = [[group: 'com.software-ninja' , module:'malabar', version:'2.1.0']]
groovy:002> groovy.grape.Grape.grab(classLoader: classLoader, grapez)
groovy:003>     classLoader.loadClass('com.software_ninja.malabar.Malabar').newInstance().startCL(classLoader); }; 
===> groovysh_evaluate$_run_closure1@60021a1
groovy:000> malabar
Unknown property: malabar
groovy:000> malabar()
No signature of method: groovysh_evaluate.malabar() is applicable for argument types: () values: []
groovy:000> WARNING: Abnormal JVM shutdown detected

Project fails to compile and run

Every time I try to run the project I get:

» gradle -Dexec.args="-p 4428" run

FAILURE: Build failed with an exception.

* Where:
Build file '/home/hinmanm/src/elisp/malabar-mode-jar/build.gradle' line: 105

* What went wrong:
A problem occurred evaluating root project 'malabar'.
> org.eclipse.aether.internal.ant.types.RemoteRepository cannot be cast to org.gradle.api.publication.maven.internal.ant.CustomRemoteRepository

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 6.619 secs
gradle -Dexec.args="-p 4428" run  18.86s user 0.39s system 273% cpu 7.028 total

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.