Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community Forums_trace file Debug location data path different on eclipse incremental build and maven
https://www.eclipse.org/forums/index.php/mv/msg/1111185/1853667/#msg_1853667
When we generate our xtext project with maven and we have a look at the ._trace file we see that the path is a full path link to the workspace. see picture debuglocationMaven.PNG
Although afterwards we generate with the incremental build of eclipse we get the correct path for eclipse with a shorten path.
(see debuglocationEclipse.png)
Where are these paths specified, and how come that these can be different?
thanks in advance]]>Thomas Landuyt2022-07-13T08:51:59-00:00Re: _trace file Debug location data path different on eclipse incremental build and maven
https://www.eclipse.org/forums/index.php/mv/msg/1111185/1853669/#msg_1853669
https://www.eclipse.org/forums/index.php/t/623973/]]>Christian Dietrich2022-07-13T09:24:56-00:00Re: _trace file Debug location data path different on eclipse incremental build and maven
https://www.eclipse.org/forums/index.php/mv/msg/1111185/1853670/#msg_1853670
Christian Dietrich2022-07-13T09:25:59-00:00Re: _trace file Debug location data path different on eclipse incremental build and maven
https://www.eclipse.org/forums/index.php/mv/msg/1111185/1853672/#msg_1853672
https://bugs.eclipse.org/bugs/show_bug.cgi?id=503309
i propose to debug into
org.eclipse.xtext.maven.plugin/src/main/java/org/eclipse/xtext/maven/trace/AbstractInstallDebugInfoMojo.java
and see what happens there
a pull request would be welcome]]>Christian Dietrich2022-07-13T09:28:59-00:00Re: _trace file Debug location data path different on eclipse incremental build and maven
https://www.eclipse.org/forums/index.php/mv/msg/1111185/1853694/#msg_1853694
Lorenzo Bettini2022-07-13T18:36:08-00:00Re: _trace file Debug location data path different on eclipse incremental build and maven
https://www.eclipse.org/forums/index.php/mv/msg/1111185/1854028/#msg_1854028
I collapsed all deps we used and a part of the languages
]]>Thomas Landuyt2022-07-28T13:55:11-00:00Re: _trace file Debug location data path different on eclipse incremental build and maven
https://www.eclipse.org/forums/index.php/mv/msg/1111185/1854031/#msg_1854031
Christian Dietrich2022-07-28T14:28:27-00:00Re: _trace file Debug location data path different on eclipse incremental build and maven
https://www.eclipse.org/forums/index.php/mv/msg/1111185/1854034/#msg_1854034
You should use a simple relative path (e.g., "src/main", no backslash at the beginning; similar for the output directory).]]>Lorenzo Bettini2022-07-28T15:37:09-00:00Re: _trace file Debug location data path different on eclipse incremental build and maven
https://www.eclipse.org/forums/index.php/mv/msg/1111185/1854038/#msg_1854038
https://github.com/eclipse/xtext-xtend/blob/c4c606b4e822a4a78fb859f9552dd4a70c6c5029/org.eclipse.xtend.core/src/org/eclipse/xtend/core/compiler/batch/XtendBatchCompiler.java#L418
Vs
What ever creates the project config in maven (i assume there is no specific one)