[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.technology.dltk] Re: Ruby build path

Hi Renato,

I have read through this thread and I can see the following issues:

1) Create project from existing sources

The following directory structure

src/
src/lib/
src/main.rb
src/lib/lang/
src/lib/lang/system.rb
src/lib/utils.rb

is imported as

<buildpathentry kind="src" path="src" excluding="lib/|lib/lang/"/>
<buildpathentry kind="src" path="src/lib" excluding="lang/"/>
<buildpathentry kind="src" path="src/lib/lang"/>

i.e.
a) all directories are added as source folders
b) child directories are excluded from the parent directory.

Renato, please confirm that is "a lot of inclusion and exclusion filters" you mentioned.

2) Run as Ruby Script

We can solve the issue with include paths in different ways:

2.1) Set working directory to the directory the script is located in.

2.2) The list of include directories should be configurable similar to java classpath when running standalone java application.

2.3) 'directory of the script' could be added automatically.

Since there are different ways to organize projects, all of these should be completely configurable.

Again, please confirm that some of the above could solve your issues.

We will file these issues as feature requests.

regards,
Alex