Giter Club home page Giter Club logo

Comments (3)

bentolor avatar bentolor commented on August 17, 2024

This sounds for me like a borked installation and/or missing IDEA configuration

You could have a look on my tries to run idea-cli-inspector within a Docker container as part of a Travis CI build here:

The thing is: IDEA sometimes require a few setting like JDK location and/or plugins that you would normally install.

I do this by manually adding/copying the minimum required configuration into the idea default configuration location.

You can see the result here: https://www.travis-ci.org/bentolor/microframeworks-showcase/builds/365273171

from idea-cli-inspector.

bentolor avatar bentolor commented on August 17, 2024

It looks like you are trying to inspect a Android project? If yes maybe you are better off to directly use a Android studio installation vs. a IDEA installation, because IDEA does not bring the Android plugins with it by default and AFAIK the Android addon is more than just a simple plugin.jar to add to IDEA.

from idea-cli-inspector.

bentolor avatar bentolor commented on August 17, 2024

I added more notes in the README about how to start IntelliJ interactivly to directly understand and fix the issue:
For example I map the IDEA configuration directories and X11 socket into the Docker container, then start/fix/add the things I need, exit the Container and manually diff/add the nedded things by deleting the others

xhost +
docker run -it --rm \
           --dns 192.168.144.18 --dns 8.8.8.8 \
           -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix \
           -v `pwd`/root/.IntelliJIdea2018.1:/root/.IntelliJIdea2018.1 \
           -v `pwd`/root/.java:/root/.java  debug-ideacli-dockeragent  \
           /bin/bash

In our private docker image this looks as follows. But this is far far more that you need for a minimal configuration/install

.
├── bamboo-capabilities.properties
├── Dockerfile
├── .dockerignore
├── README.asciidoc
├── root
│   ├── .IntelliJIdea2017.3
│   │   ├── config
│   │   │   ├── disabled_plugins.txt
│   │   │   ├── idea.key
│   │   │   ├── options
│   │   │   │   ├── debugger.xml
│   │   │   │   ├── dimensions.xml
│   │   │   │   ├── feature.usage.statistics.xml
│   │   │   │   ├── ide.general.xml
│   │   │   │   ├── images.support.xml
│   │   │   │   ├── jdk.table.xml
│   │   │   │   ├── laf.xml
│   │   │   │   ├── options.xml
│   │   │   │   ├── path.macros.xml
│   │   │   │   ├── project.default.xml
│   │   │   │   ├── recentProjects.xml
│   │   │   │   ├── statistics.actions.xml
│   │   │   │   ├── statistics.application.usages.xml
│   │   │   │   ├── statistics.shortcuts.xml
│   │   │   │   ├── stubIndex.xml
│   │   │   │   └── updates.xml
│   │   │   ├── plugins
│   │   │   │   ├── availables.xml
│   │   │   │   ├── availables.xml.etag
│   │   │   │   ├── handlebars
│   │   │   │   │   └── lib
│   │   │   │   │       ├── handlebars.jar
│   │   │   │   │       └── resources_en.jar
│   │   │   │   ├── js-karma
│   │   │   │   │   ├── js_reporter
│   │   │   │   │   │   └── karma-intellij
│   │   │   │   │   │       ├── lib
│   │   │   │   │   │       │   ├── fakePlugin.js
│   │   │   │   │   │       │   ├── intellijCli.js
│   │   │   │   │   │       │   ├── intellij.conf.js
│   │   │   │   │   │       │   ├── intellijCoverageReporter.js
│   │   │   │   │   │       │   ├── intellijPlugin.js
│   │   │   │   │   │       │   ├── intellijReporter.js
│   │   │   │   │   │       │   ├── intellijRunner.js
│   │   │   │   │   │       │   ├── intellijServer.js
│   │   │   │   │   │       │   ├── intellijUtil.js
│   │   │   │   │   │       │   ├── karma-browser-tracker.js
│   │   │   │   │   │       │   ├── karma-intellij-debug.js
│   │   │   │   │   │       │   ├── kjhtml
│   │   │   │   │   │       │   │   ├── intellij-restore-specFilter-after-kjhtml.js
│   │   │   │   │   │       │   │   ├── intellij-save-specFilter-before-kjhtml.js
│   │   │   │   │   │       │   │   └── kjhtml-specFilter-patch.js
│   │   │   │   │   │       │   └── tree.js
│   │   │   │   │   │       ├── LICENSE.txt
│   │   │   │   │   │       ├── package.json
│   │   │   │   │   │       ├── README.md
│   │   │   │   │   │       └── static
│   │   │   │   │   │           └── delay-karma-start-in-debug-mode.js
│   │   │   │   │   └── lib
│   │   │   │   │       └── js-karma.jar
│   │   │   │   ├── NodeJS
│   │   │   │   │   ├── js
│   │   │   │   │   │   ├── mocha-intellij
│   │   │   │   │   │   │   ├── lib
│   │   │   │   │   │   │   │   ├── mochaIntellijReporter.js
│   │   │   │   │   │   │   │   ├── mocha-intellij-stringifier.js
│   │   │   │   │   │   │   │   ├── mochaIntellijTree.js
│   │   │   │   │   │   │   │   ├── mochaIntellijUtil.js
│   │   │   │   │   │   │   │   ├── mochaTreeUtil.js
│   │   │   │   │   │   │   │   └── single-element-queue.js
│   │   │   │   │   │   │   ├── LICENSE
│   │   │   │   │   │   │   ├── package.json
│   │   │   │   │   │   │   └── README.md
│   │   │   │   │   │   ├── node-core-modules
│   │   │   │   │   │   │   └── node-core-modules-loader.js
│   │   │   │   │   │   └── nodeunit
│   │   │   │   │   │       └── nodeunit-intellij-starter.js
│   │   │   │   │   └── lib
│   │   │   │   │       ├── NodeJS.jar
│   │   │   │   │       └── resources_en.jar
│   │   │   │   ├── Scala
│   │   │   │   │   ├── launcher
│   │   │   │   │   │   ├── sbt-launch.jar
│   │   │   │   │   │   ├── sbt-structure-0.12.jar
│   │   │   │   │   │   ├── sbt-structure-0.13.jar
│   │   │   │   │   │   └── sbt-structure-1.0.jar
│   │   │   │   │   └── lib
│   │   │   │   │       ├── bcel.jar
│   │   │   │   │       ├── compiler-shared.jar
│   │   │   │   │       ├── evo-inflector.jar
│   │   │   │   │       ├── fastparse.jar
│   │   │   │   │       ├── jamm.jar
│   │   │   │   │       ├── jps
│   │   │   │   │       │   ├── compiler-interface.jar
│   │   │   │   │       │   ├── compiler-interface-sources-2.10.jar
│   │   │   │   │       │   ├── compiler-interface-sources-2.11.jar
│   │   │   │   │       │   ├── compiler-jps.jar
│   │   │   │   │       │   ├── incremental-compiler.jar
│   │   │   │   │       │   ├── nailgun.jar
│   │   │   │   │       │   ├── repl-interface-sources.jar
│   │   │   │   │       │   └── sbt-interface.jar
│   │   │   │   │       ├── runners.jar
│   │   │   │   │       ├── sbt-structure-core.jar
│   │   │   │   │       ├── scala-library.jar
│   │   │   │   │       ├── scalamacros.jar
│   │   │   │   │       ├── scalameta120.jar
│   │   │   │   │       ├── scalameta.jar
│   │   │   │   │       ├── scala-nailgun-runner.jar
│   │   │   │   │       ├── scala-parser-combinators.jar
│   │   │   │   │       ├── scalap.jar
│   │   │   │   │       ├── scala-play-2-jps-plugin.jar
│   │   │   │   │       ├── scala-plugin.jar
│   │   │   │   │       ├── scala-reflect.jar
│   │   │   │   │       ├── scalariform.jar
│   │   │   │   │       ├── scalastyle.jar
│   │   │   │   │       ├── scalatest-finders-patched.jar
│   │   │   │   │       └── scala-xml.jar
│   │   │   │   └── vuejs
│   │   │   │       └── lib
│   │   │   │           ├── resources_en.jar
│   │   │   │           └── vuejs.jar
│   │   │   └── port.lock
│   │   └── system
│   │       ├── consentOptions
│   │       │   └── accepted
│   │       ├── frameworks
│   │       │   └── detection
│   │       │       └── detectors-registry.dat
│   │       ├── .home
│   │       └── port.lock
│   └── .java
│       └── .userPrefs
│           ├── jetbrains
│           │   ├── <uuid>
│           │   │   └── prefs.xml
│           │   ├── <scrambled name>
│           │   │   └── prefs.xml
│           │   ├── jetprofile
│           │   │   └── prefs.xml
│           │   └── prefs.xml
│           ├── prefs.xml
│           ├── .user.lock.root
│           └── .userRootModFile.root
├── srv
    └── ideainspect.groovy

from idea-cli-inspector.

Related Issues (16)

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.