Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » [Acceleo] Write in linked folder
[Acceleo] Write in linked folder [message #1834391] Mon, 09 November 2020 14:33 Go to next message
Quentin Bourguignon d'herbigny is currently offline Quentin Bourguignon d'herbignyFriend
Messages: 2
Registered: October 2018
Junior Member
Hello !
I develop a model to text transformation with Acceleo and i have a problem with writing in a linked folder in Eclipse.
Here is the problem definition :
I have a Project MAIN, a folder FOO and a subfolder BAR in my eclipse workspace. The subfolder EX in BAR is linked to a folder outside my workspace (ex: D:/data/ex).


  • MAIN (Project)

    • FOO (Folder)

      • BAR (Folder)

        • EX (Linked Folder)




I give the foo folder path to the Java class and set the file path in my main template acceleo like this :
[file ('BAR/EX/test.txt', false)]
Yet the file is not generated at D:/data/ex/test.txt but at workspace/main/foo/bar/ex/test.txt

Is it possible ?

Thank you,

Regards,

Q
Re: [Acceleo] Write in linked folder [message #1834420 is a reply to message #1834391] Tue, 10 November 2020 05:57 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7681
Registered: July 2009
Senior Member
Hi

Probably not. I gave up using 'linked' folders once I discovered that each OS had a different behaviour. I doubt anyone has tested it and doubt even more that such a niche/self-inflicted bug will be fixed. Don't use linked folders.

Regards

Ed Willink
Re: [Acceleo] Write in linked folder [message #1834694 is a reply to message #1834420] Mon, 16 November 2020 09:30 Go to previous message
Quentin Bourguignon d'herbigny is currently offline Quentin Bourguignon d'herbignyFriend
Messages: 2
Registered: October 2018
Junior Member
Thank you for your reply.
Previous Topic:ClassNotFoundError of exception when running Acceleo in standalone mode
Next Topic:[Acceleo][Xbase] Transforming Xbase expression into java
Goto Forum:
  


Current Time: Fri Feb 07 02:33:07 GMT 2025

Powered by FUDForum. Page generated in 0.03773 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top