diff options
Diffstat (limited to '_build/static/archives/extend/2014-March/000350.html')
-rw-r--r-- | _build/static/archives/extend/2014-March/000350.html | 115 |
1 files changed, 115 insertions, 0 deletions
diff --git a/_build/static/archives/extend/2014-March/000350.html b/_build/static/archives/extend/2014-March/000350.html new file mode 100644 index 00000000..d257a7e8 --- /dev/null +++ b/_build/static/archives/extend/2014-March/000350.html @@ -0,0 +1,115 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] Getting started error: behaviour cowboy_http_handler undefined + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20%3D%3Futf-8%3Fq%3FGetting_started_error%3D3A___behaviour_cowbo%3F%3D%0A%20%3D%3Futf-8%3Fq%3Fy%3D5Fhttp%3D5Fhandler_undefined%3F%3D&In-Reply-To=%3C1394480667.69797138%40apps.rackspace.com%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <style type="text/css"> + pre { + white-space: pre-wrap; /* css-2.1, curent FF, Opera, Safari */ + } + </style> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="000349.html"> + <LINK REL="Next" HREF="000351.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] Getting started error: behaviour cowboy_http_handler undefined</H1> + <B>lloyd at writersglen.com</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20%3D%3Futf-8%3Fq%3FGetting_started_error%3D3A___behaviour_cowbo%3F%3D%0A%20%3D%3Futf-8%3Fq%3Fy%3D5Fhttp%3D5Fhandler_undefined%3F%3D&In-Reply-To=%3C1394480667.69797138%40apps.rackspace.com%3E" + TITLE="[99s-extend] Getting started error: behaviour cowboy_http_handler undefined">lloyd at writersglen.com + </A><BR> + <I>Mon Mar 10 20:44:27 CET 2014</I> + <P><UL> + <LI>Previous message: <A HREF="000349.html">[99s-extend] Trying to grok erlang.mk +</A></li> + <LI>Next message: <A HREF="000351.html">[99s-extend] Getting started error: behaviour cowboy_http_handler undefined +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#350">[ date ]</a> + <a href="thread.html#350">[ thread ]</a> + <a href="subject.html#350">[ subject ]</a> + <a href="author.html#350">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Hello, + +I've slavishly emulated the "Getting started" example in the guide: + +<A HREF="http://ninenines.eu/docs/en/cowboy/HEAD/guide/getting_started/">http://ninenines.eu/docs/en/cowboy/HEAD/guide/getting_started/</A> + +But, when I compile I get this error: + +yada yada + ERLC hello_erlang_app.erl hello_handler.erl hello_erlang_sup.erl +compile: warnings being treated as errors +src/hello_handler.erl:2: behaviour cowboy_http_handler undefined +make: *** [ebin/hello_erlang.app] Error 1 + +Cowboy seems to be correctly loaded and compiled as a dependency. I can see .../cowboy/ebin/cowboy_http_handler.beam + +However, when I remove the line -behavior(cowboy_http_handler) from hello_handler.erl, system compiles and creates release just fine. + +% -behavior(cowboy_http_handler). + +Could this be a bug in Getting started or some dunder-headed thing on my end? + +Thanks, + +LRP + + +********************************************* +My books: + +THE GOSPEL OF ASHES +<A HREF="http://thegospelofashes.com">http://thegospelofashes.com</A> + +Strength is not enough. Do they have the courage +and the cunning? Can they survive long enough to +save the lives of millions? + +FREEIN' PANCHO +<A HREF="http://freeinpancho.com">http://freeinpancho.com</A> + +A community of misfits help a troubled boy find his way + +AYA TAKEO +<A HREF="http://ayatakeo.com">http://ayatakeo.com</A> + +Star-crossed love, war and power in an alternative +universe + +Available through Amazon or by request from your +favorite bookstore + + +********************************************** + + +</PRE> + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000349.html">[99s-extend] Trying to grok erlang.mk +</A></li> + <LI>Next message: <A HREF="000351.html">[99s-extend] Getting started error: behaviour cowboy_http_handler undefined +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#350">[ date ]</a> + <a href="thread.html#350">[ thread ]</a> + <a href="subject.html#350">[ subject ]</a> + <a href="author.html#350">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend +mailing list</a><br> +</body></html> |