Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » absolute paths in ._trace files
absolute paths in ._trace files [message #1214968] Wed, 27 November 2013 18:06 Go to next message
Lorenzo Bettini is currently offline Lorenzo Bettini
Messages: 1321
Registered: July 2009
Senior Member
Hi

If I run the Xtend standalone compiler in the headless build (with
Buckminster), the corresponding .java._trace files contain a reference
to the original xtend file with an absolute path (starting with
file:/home/...). This happens in spite of the compiler being called
with command line argument: "-d xtend-gen src".

This way, the corresponding generated source bundles are not very
useful, since you can't inspect the source of a Java class generated
from an xtend file (Eclipse will show an empty file in the editor). Of
course you can manually open the corresponding .xtend file in the source
bundle but that's not convenient.

This does not happen if the xtend compilation takes place in the
workbench: the .java._trace files contain a reference to the original
xtend file with a relative path, and the corresponding source bundles
can be efficiently used.

Any clue about this issue?

thanks in advance
Lorenzo

--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
HOME: http://www.lorenzobettini.it
Xtext Book:
http://www.packtpub.com/implementing-domain-specific-languages-with-xtext-and-xtend/book
Re: absolute paths in ._trace files [message #1215770 is a reply to message #1214968] Thu, 28 November 2013 02:17 Go to previous messageGo to next message
Sven Efftinge is currently offline Sven Efftinge
Messages: 1761
Registered: July 2009
Senior Member
Could you file a bugzilla for that?

Thanks,
Sven


--
Need professional support on Xtext or Xtend?
Mail to: xtext (at) itemis.com
Twitter : @svenefftinge
Blog : blog.efftinge.de
Re: absolute paths in ._trace files [message #1219025 is a reply to message #1215770] Fri, 29 November 2013 13:25 Go to previous message
Lorenzo Bettini is currently offline Lorenzo Bettini
Messages: 1321
Registered: July 2009
Senior Member
On 28/11/2013 08:17, Sven Efftinge wrote:
> Could you file a bugzilla for that?
>
> Thanks,
> Sven

Done

https://bugs.eclipse.org/bugs/show_bug.cgi?id=422874

cheers
Lorenzo

--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
HOME: http://www.lorenzobettini.it
Xtext Book:
http://www.packtpub.com/implementing-domain-specific-languages-with-xtext-and-xtend/book
Previous Topic:Two DSLs in one Eclipse project, only one is active
Next Topic:Accessing context menu in Xtend IDE locks up computer
Goto Forum:
  


Current Time: Fri Aug 22 02:11:17 EDT 2014

Powered by FUDForum. Page generated in 0.01823 seconds