Comments (8)
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.
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.
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.
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.
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.
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.
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.
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)
- Import projects capability
- Integrated maven central artifact search HOT 3
- Intelligent POM file autocomplete HOT 1
- Integrate with Sublime Package Control
- Command palette build execution
- Problem when generating projects from pom HOT 9
- Creating new Maven targets in Sidebar HOT 4
- Windows 7 sublime maven bug HOT 2
- SublimeJava Autocorrect
- SublimeJava Autocorrect
- Support keyboard shortcuts for plugin commands
- Installing plugin breaks build system auto-detect for Java HOT 1
- Update to Sublime3 HOT 14
- Settings left behind after removal
- MAVEN_OPTS HOT 3
- Does this plugin work with windows? HOT 6
- Linux Machine - no module utils HOT 2
- Plugin doesn't appear to support Sublime Text 3 HOT 1
- Plugin not listed in Package Control when using sublime-text-3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sublimemaven.