redhat-developer / redhat-developer/vscode-java

The Ext always consider the direct build folder will located inside workplace folder

Offen
#4,454 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

bug
Vorherrschende Sprache
TypeScript
Sterne
2.3k
Forks
546
Ø Merge
20 Std. 1 Min.
Gemergte PRs (30 T.)
11

Beschreibung

Describe the bug
The Ext always consider the direct build folder will located inside workspace folder.

To Reproduce
Steps to reproduce the behavior:
So, if I set the following config in Pom.xml:

c:/x folder/builds/${project.artifactId}

the Ext. will create [/x folder/builds/${project.artifactId}] inside the workspace directory and will use it for compiling.

[Please attach a sample project reproducing the error]
[Please attach logs. See https://github.com/redhat-developer/vscode-java/wiki/Troubleshooting#enable-logging]

Expected behavior
use the same folder that set in pom.xml.
I always set the build folder outside workspace folder to avoid OneDrive synch issues. and this settings working well with all IDEs and ext except this one.

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Beginne damit nachzuverfolgen, wie die Erweiterung das Build-Verzeichnis aus Pom.xml liest und den konfigurierten Pfad auflöst. Reproduziere das Problem mit c:/x folder/builds/${project.artifactId} außerhalb des Workspace und überprüfe anschließend, dass die Kompilierung genau dieses externe Verzeichnis verwendet, anstatt einen Workspace-relativen Ordner zu erstellen.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
java, typescript
Bereich
build-system, developer-experience
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Ruhig
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
48/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.