Bluebugs / freebox-elixir

Automatically exported from code.google.com/p/freebox-elixir
0 stars 0 forks source link

elixir command line doesn't execute files with a relative path #19

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. download the JS file at 
http://code.google.com/p/freebox-elixir/source/browse/trunk/exemples/ecore_evas/
Simple.js?r=221

2. Assume current directory is '/home/johnDoe' ; create and copy the downloaded 
Simple.js file in into a 'test' subfolder (/home/johnDoe/test/Simple.js)

3. Open a terminal and type "cd /home/johnDoe/test"

4. type "elixir Simple.js"
=> Application is executed normally.

5. Now change the current folder by typing "cd /home/johnDoe"

6. type "elixir /home/johnDoe/test/Simple.js"
=> Application is executed normally too

7. type "elixir test/Simple.js"
=> Application is *not* executed and no error message is displayed.

Output of elixir is:

johnDoe@johnDoeLaptop:~$ elixir test/Simple.js 
Registering security: 'let'.
Registering security: 'cmp'.
Unregistering security: 'cmp'.
Registering security: 'remote'.
Unregistering security: 'remote'.
Registering loader: 'eet'.
Registering loader: 'edje'.
Registering loader: 'text'.
Registering bindings: 'emotion'.
Registering bindings: 'eet'.
Registering bindings: 'elixir'.
Registering bindings: 'ecore-evas'.
Registering bindings: 'edje'.
Registering bindings: 'file'.
Registering bindings: 'evas'.
Registering bindings: 'dir'.
Registering bindings: 'mix'.
Registering bindings: 'sqlite'.
Registering bindings: 'ecore-con'.
Registering bindings: 'ecore'.
looking for bindings: elixir => 0xb696d100.
chdir to `test`.
Trying: 'eet' with 'test/Simple.js' [1 < 1 < 3].
Trying: 'text' with 'test/Simple.js' [1 < 1 < 1].
Trying: 'edje' with 'test/Simple.js' [2 < 1 < 2].
File `test/Simple.js` not opened.

johnDoe@johnDoeLaptop:~$ 

Original issue reported on code.google.com by alexandr...@gmail.com on 13 Dec 2010 at 1:47