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

Compilation sometimes fails with "File name too long" #135

Open
winks opened this issue Nov 10, 2012 · 0 comments
Open

Compilation sometimes fails with "File name too long" #135

winks opened this issue Nov 10, 2012 · 0 comments

Comments

@winks
Copy link

winks commented Nov 10, 2012

When using this defpage:

(defpage [:post ["/store/:uid/:apikey/items" :uid #"\d+" :apikey #"[a-z0-9]+"]] {:keys [uid apikey payload]}

I get a file named

store$POST_LBRACK__DOUBLEQUOTE___store___GT_uid___GT_apikey__items_DOUBLEQUOTE_ _GT_uid SHARP__DOUBLEQUOTE__BSLASH_d_PLUS__DOUBLEQUOTE _GT_apikey SHARP__DOUBLEQUOTE__LBRACK_a_z0_9_RBRACK__PLUS__DOUBLEQUOTE__RBRACK.class

and the error:
Exception in thread "main" java.io.IOException: File name too long, compiling:(xyz/views/store.clj:46)

I could reproduce this 2-3x then I gave the route a name and after lein clean it worked again...

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

1 participant