Git Product home page Git Product logo

Comments (8)

nlloyd avatar nlloyd commented on August 11, 2024

Classpath generated is a merged classpath of all dependencies in all poms in the selected directory path. Not ideal but need to sync up with SublimeJava plugin folks for an improved approach.

from sublimemaven.

ziggurat avatar ziggurat commented on August 11, 2024

I can't figure out how this works? Should I run a command to have the classpath file generated? How do I set the classpath configuration option of the SublimeJava plugin? Where do I get the generated classpaths based on the poms?

Thanks in advance!

from sublimemaven.

nlloyd avatar nlloyd commented on August 11, 2024

Gah, I need to write more documentation.
Right click on a folder in the sidebar and is either the folder containing the pom.xml file you care about (or one of its parents). There will be a Maven>Generate Projects from all POMs in path. It will ask you a few simple questions (just hit enter for defaults). Depending on how many pom.xml files are in the tree rooted at the directory you specified this can take a while. Then a new view will appear with a sublime-project configuration for you to evaluate and save/load... classpath will be in there. Note for SublimeJava there are a few silly things you will have to do to get this to work properly... you might be best using my fork of SublimeJava (or at least applying the changes in a very recent "fixed default classpath always used" commit i made to the fork).

I am working on the SublimeJava fork right now to add some brains.

from sublimemaven.

nlloyd avatar nlloyd commented on August 11, 2024

Also: instead of getting a single classpath-per-pom you will get a classpath for all pom files in the path specified. My first goal for my forked SublimeJava changes are to add a multiclasspath handling capability (basically: im working on file X in project Y, tell SublimeJava to use classpath for project Y).

from sublimemaven.

ziggurat avatar ziggurat commented on August 11, 2024

Beautiful, can I install your fork using Package Manager?

I have a new problem now :) it seems something is not ok with my python installation:
SAXReaderNotAvailable: No parsers found

from sublimemaven.

nlloyd avatar nlloyd commented on August 11, 2024

sigh Nope.
Unfortunately SublimeJava, even the regular one (check his doc) doesn't play nice with Package Manager right now.
You will have to cd to your Packages path and do a manual git clone in there.

Apparently he is working with the Package Manager creator on the problem.

from sublimemaven.

i-am-a-paull avatar i-am-a-paull commented on August 11, 2024

Ooh, it'll be nice when your multiple classpaths feature gets merged in. Right now with my gradle plugin I can only generate a project file for a project folder and the folders of its dependency projects for fear of classpath conflicts.

I thought about hacking on SublimeJava myself at one point, but I haven't had the time to properly look through it.

from sublimemaven.

nlloyd avatar nlloyd commented on August 11, 2024

Yeah I see it as a limitation with SublimeJava, particularly since certain OS (cough windows cough) don't play nice with long classpaths given on the command line, as SublimeJava expects currently.

from sublimemaven.

Related Issues (20)

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.