Skip to main content



      Home
Home » Modeling » M2T (model-to-text transformation) » [Acceleo] Write in linked folder
[Acceleo] Write in linked folder [message #1834391] Mon, 09 November 2020 09:33 Go to next message
Eclipse UserFriend
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 00:57 Go to previous messageGo to next message
Eclipse UserFriend
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 04:30 Go to previous message
Eclipse UserFriend
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: Tue Mar 25 12:51:26 EDT 2025

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

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

Back to the top