-
Notifications
You must be signed in to change notification settings - Fork 446
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reference other unmanaged folders as dependencies #2853
Comments
AFAIK, if you are using project without build tools (unmanaged folder), we do not support referencing another unmanaged folder as a dependency today. |
@javierjcf could we try opening the lowest common parent folder in vscode and mark the different unmanaged folders as "src" in .classpath file? This plugin will help in setting up a local project in the parent folder. |
I am looking for a way to add an external |
[provide a description of the issue]
Environment
Steps To Reproduce
Suppose I have 4 independent Java projects: project0, project1, project2, and project3.
Inside each project, I have the src folder, and inside some packages and classes. Project 1, 2, and 3 use classes from project0.
In Eclipse, I can indicate in a section that the sources of project 0 are used. When I try something similar in VScode, I go to configure the classpath of project one and see that it includes its src folder. When I add the src folder of project0, I get the following error: "The source path must be contained in the project root folder."
I can solve this by creating the .jar of project 0 and adding it to the other projects, but this is very inconvenient when making quick tests.
I know there are tools like Maven or Ant to do these things, but I would like to know if there is any way to indicate in vscode that one project uses classes from another without having to include the .jar as a dependency.
The text was updated successfully, but these errors were encountered: