Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cli fails with -pa args #72

Open
camshaft opened this issue Jun 17, 2014 · 1 comment
Open

cli fails with -pa args #72

camshaft opened this issue Jun 17, 2014 · 1 comment

Comments

@camshaft
Copy link

when running the cli with -pa I get the following

$ joxa -pa ebin -pa deps/*/ebin
ebin: Error: {'file-access',eisdir,"ebin"}
deps/cowboy/ebin: Error: {'file-access',eisdir,"deps/cowboy/ebin"}
deps/cowlib/ebin: Error: {'file-access',eisdir,"deps/cowlib/ebin"}
deps/ranch/ebin: Error: {'file-access',eisdir,"deps/ranch/ebin"}

The erl command works just fine:

$ erl -pa ebin -pa deps/*/ebin
Erlang/OTP 17 [erts-6.0] [source-07b8f44] [64-bit] [smp:8:8] [async-threads:10] [hipe] [kernel-poll:false] [dtrace]

Eshell V6.0  (abort with ^G)
1> 
@ericbmerritt
Copy link
Contributor

If I remember correctly the pa is implemented in the joxa layer and doesn't reuse the erlang one. It probably needs some love. This is a valid bug I think.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants