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

Included rebar does not apply post compile hook #17

Open
sbx opened this issue Oct 19, 2012 · 2 comments
Open

Included rebar does not apply post compile hook #17

sbx opened this issue Oct 19, 2012 · 2 comments

Comments

@sbx
Copy link

sbx commented Oct 19, 2012

I noticed that when compiling mimetypes with the included version of rebar, the post compile hook (post_compile.escript) is not executed.

It's easy to see because there is no file mimetypes_disp.beam or mimetypes_map.beam in the ebin directory after "./rebar compile" is executed.

(It is executed as expected using the latest version of rebar.)

It doesn't seem to cause a problem because when application:start(mimetypes) is executed, the missing files appear anyway but it does seem to be a bug.

I'm running R15B02.

@yrashk
Copy link
Collaborator

yrashk commented Oct 19, 2012

Sounds a bit similar to issues described in #14, can you please check whether this is the case? (Particularly, this #14 (comment))

@sbx
Copy link
Author

sbx commented Oct 22, 2012

On 19/10/12 14:00, Yurii Rashkovskii wrote:

Sounds a bit similar to issues described in #14#14, can you please check whether this is the case? (Particularly, this #14#14 (comment))


Reply to this email directly or view it on GitHubhttps://github.com//issues/17#issuecomment-9588478.

The issue that started that thread seems to be different but further down they do seem to notice the same issue I reported.

All I can add is that, for the part I noticed, the included version of Rebar just did not run the post compile hook at all (adding a call to io:fwrite to the the post compile script makes it very obvious when it is or is not being called). As I said initially, the most recent version of Rebar does run the hook so presumably it's just a change in behaviour or bug in Rebar.

Sam.


This e-mail and any files transmitted with it are ShoreTel property, are confidential, and are intended solely for the use of the individual or entity to whom this e-mail is addressed. If you are not one of the named recipient(s) or otherwise have reason to believe that you have received this message in error, please notify the sender and delete this message immediately from your computer. Any other use, retention, dissemination, forwarding, printing, or copying of this e-mail is strictly prohibited

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