microsoft / microsoft/vscode-java-pack
Import order in referenced Libraries for unmanaged projects
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 352
- Forks
- 166
- Ø Merge
- 17 Std. 47 Min.
- Gemergte PRs (30 T.)
- 32
Beschreibung
Suggestion
When importing libraries in settings.json in "java.project.referencedLibraries" on a unmanaged project the order in which we import is not taken into account if there are conflicts between libraries.
Use Cases
I have a project that comes from Eclipse where the order of the entry on the .classpath is important, it will always take the first of the list in case of multiple occurence. I removed the classpath to be able to add libraries manually so it's now a unmanaged project and not an eclipse project anymore.
Examples
In my project i have many jars and some 3rd party libraries that have jars inside of them aswell, and there is some overlap between the ones i use and the ones these 3rd party libraries use, and these are not always the same version as the one i use.
So i have many errors in my project due to the fact that it takes the wrong version of the library and some function changed or does not exist anymore.
Thanks for reading me !
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne mit der Einstellung für das unmanaged-project in settings.json unter java.project.referencedLibraries und vergleiche ihr Verhalten mit der für die Eclipse-.classpath beschriebenen Reihenfolge. Verfolge, wie referenzierte Bibliotheken verarbeitet werden, und überprüfe anschließend, dass die konfigurierte Reihenfolge bestimmt, welche Version einer in Konflikt stehenden Bibliothek verwendet wird.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- java, typescript, vscode
- Bereich
- build-system, tooling
- Issue-Typ
- Feature
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 38/100