thSoft / elysium

LilyPond IDE for Eclipse
http://elysium.thsoft.hu
14 stars 3 forks source link

Can't use relative path for include files outside projects #44

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a new folder called (for example) "inc" as a subdirectory of the 
workspace directory.
2. Place a file in it (e.g. "MyIncludes.ily")that you want to have available 
for \include statements in several projects.
3. Refer to it in a project as \include "../inc/MyIncludes.ily"

What is the expected output? 

That the file is included.

What do you see instead?

An error message. "Imported resource could not be found".

I can obviously work around this by using a full path to the file, but this 
reduces portability.

What version of the product are you using? Not sure - installed current version 
in December 2011.

On what operating system? Ubuntu Lucid Lynx (10.04).

Please provide any additional information below.

Original issue reported on code.google.com by hendry.m...@gmail.com on 27 Feb 2012 at 9:03

GoogleCodeExporter commented 9 years ago
So far, relative include paths are only supported for files that are in the 
workspace, so I set the type of this issue to enhancement request. As a 
workaround, create a new project with the include subdirectory ("inc") as its 
location.

Original comment by harmathdenes on 27 Feb 2012 at 10:46

GoogleCodeExporter commented 9 years ago
Thanks - I'd deliberately created my "inc" directory within the workspace, 
thinking this would keep Eclipse happy. It hadn't occurred to me that Eclipse 
would require its formal inclusion as a (pseudo-)project.

Original comment by hendry.m...@gmail.com on 27 Feb 2012 at 11:17