microsoft / microsoft/vscode-java-pack

Import order in referenced Libraries for unmanaged projects

Aperta
#1,023 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

ai-triaged enhancement feature-request
Lingua principale
TypeScript
Stelle
352
Fork
166
Merge medio
17h 47m
PR unite (30g)
32

Descrizione

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 !

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Inizia con l'impostazione unmanaged-project in settings.json, sotto java.project.referencedLibraries, e confrontane il comportamento con l'ordine descritto per il .classpath di Eclipse. Traccia il modo in cui vengono elaborate le librerie referenziate, quindi verifica che l'ordine configurato determini quale versione della libreria in conflitto viene utilizzata.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
java, typescript, vscode
Ambito
build-system, tooling
Tipo di issue
Funzionalità
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
38/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.