| Author |
Message |
< Erlang Web mailing list ~ [Erlangweb-users] Tutorial Step 4 Annotations help |
| Guest |
Posted: Mon Sep 07, 2009 12:37 am |
|
|
|
Guest
|
Hi, I am fairly new to erlang and just looking at erlangweb. I have
successfully reached step 4, but cannot get the shop_utils.erl to compile.
If I comment out the include and the 2 ?BEFOREs, then it compiles
without error, which points to the annotation sw. I am running Fedora
11 x86_64.
when using ./bin/compile or eptic:reload() I get the following: Any
help is greatly appreciated.
Recompile: lib/shop-0.1/src/shop_utils
lib/shop-0.1/src/shop_utils.erl:none: error in parse transform
'e_annotation': {undef,
[{e_annotation,parse_transform,
[[{attribute,1,file,
{"lib/shop-0.1/src/shop_utils.erl",
1}},
{attribute,1,module,shop_utils},
{attribute,3,export,
[{validate,4}]},
{attribute,1,file,
{"./lib/eptic-1.3/include/e_annotation.hrl",
1}},
{attribute,7,file,
{"lib/shop-0.1/src/shop_utils.erl",
7}},
{attribute,8,
ew_annotation_before,[]},
{function,9,validate,4,
[{clause,9,
[{tuple,9,
[{var,9,'Model'},
{var,9,'Type'}]},
{var,9,'Mod'},
{var,9,'_Fun'},
{var,9,'_Args'}],
[],
[{'case',10,
{call,10,
{remote,10,
{atom,10,validate_tool},
{atom,10,validate_cu}},
[{var,10,'Model'},
{var,10,'Type'}]},
[{clause,11,
[{tuple,11,
[{atom,11,ok},
{var,11,'Item'}]}],
[],
[{tuple,12,
[{atom,12,proceed},
{cons,12,
{var,12,'Item'},
{nil,12}}]}]},
{clause,13,
[{tuple,13,
[{atom,13,error},
{var,13,'_Reason'}]}],
[],
[{tuple,14,
[{atom,14,error},
{tuple,14,
[{var,14,'Mod'},
{atom,14,
validate_error},
{cons,14,
{var,14,'Fun'},
{nil,
14}}]}]}]}]}]}]},
{eof,45}],
[report_errors,report_warnings,
{outdir,"lib/shop-0.1/ebin"},
{i,"lib/shop-0.1/include"},
debug_info,strict_record_tests,
netload]]},
{compile,
'-foldl_transform/2-anonymous-2-',
2},
{compile,foldl_transform,2},
{compile,
'-internal_comp/4-anonymous-1-',2},
{compile,fold_comp,3},
{compile,internal_comp,4},
{compile,internal,3}]}
ok
--
Regards,
Bill Ott
Email: Mailto://billott@theotts.org
Website: http://www.theotts.org
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Erlangweb-users mailing list
Erlangweb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlangweb-users
http://www.erlang-web.org/
Post received from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Mon Sep 07, 2009 7:13 am |
|
|
|
Guest
|
Hello Bill,
We are so glad you have decided to play with Erlang Web!
After a quick investigation it turned out that there were
a missing clauses in the main Emakefile of the fourth tutorial
step: they were corrected and the new package has been
uploaded to the wiki: thank you for pointing this out.
Happy hacking!
----- "Bill Ott" <billott@theotts.org> wrote:
> Hi, I am fairly new to erlang and just looking at erlangweb. I have
> successfully reached step 4, but cannot get the shop_utils.erl to
> compile.
> If I comment out the include and the 2 ?BEFOREs, then it compiles
> without error, which points to the annotation sw. I am running Fedora
>
> 11 x86_64.
>
> when using ./bin/compile or eptic:reload() I get the following: Any
>
> help is greatly appreciated.
>
> Recompile: lib/shop-0.1/src/shop_utils
> lib/shop-0.1/src/shop_utils.erl:none: error in parse transform
> 'e_annotation': {undef,
>
> [{e_annotation,parse_transform,
> [[{attribute,1,file,
>
> {"lib/shop-0.1/src/shop_utils.erl",
> 1}},
>
> {attribute,1,module,shop_utils},
> {attribute,3,export,
> [{validate,4}]},
> {attribute,1,file,
>
> {"./lib/eptic-1.3/include/e_annotation.hrl",
> 1}},
> {attribute,7,file,
>
> {"lib/shop-0.1/src/shop_utils.erl",
> 7}},
> {attribute,8,
>
> ew_annotation_before,[]},
>
> {function,9,validate,4,
> [{clause,9,
> [{tuple,9,
> [{var,9,'Model'},
>
> {var,9,'Type'}]},
> {var,9,'Mod'},
> {var,9,'_Fun'},
> {var,9,'_Args'}],
> [],
> [{'case',10,
> {call,10,
> {remote,10,
>
> {atom,10,validate_tool},
>
> {atom,10,validate_cu}},
>
> [{var,10,'Model'},
>
> {var,10,'Type'}]},
> [{clause,11,
> [{tuple,11,
>
> [{atom,11,ok},
>
> {var,11,'Item'}]}],
> [],
> [{tuple,12,
>
> [{atom,12,proceed},
> {cons,12,
>
> {var,12,'Item'},
>
> {nil,12}}]}]},
> {clause,13,
> [{tuple,13,
>
> [{atom,13,error},
>
> {var,13,'_Reason'}]}],
> [],
> [{tuple,14,
>
> [{atom,14,error},
> {tuple,14,
>
> [{var,14,'Mod'},
> {atom,14,
>
> validate_error},
> {cons,14,
>
> {var,14,'Fun'},
> {nil,
>
> 14}}]}]}]}]}]}]},
> {eof,45}],
>
> [report_errors,report_warnings,
>
> {outdir,"lib/shop-0.1/ebin"},
>
> {i,"lib/shop-0.1/include"},
>
> debug_info,strict_record_tests,
> netload]]},
> {compile,
>
> '-foldl_transform/2-anonymous-2-',
> 2},
>
> {compile,foldl_transform,2},
> {compile,
>
> '-internal_comp/4-anonymous-1-',2},
> {compile,fold_comp,3},
>
> {compile,internal_comp,4},
> {compile,internal,3}]}
> ok
>
> --
> Regards,
> Bill Ott
>
> Email: Mailto://billott@theotts.org
> Website: http://www.theotts.org
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> 30-Day
> trial. Simplify your report design, integration and deployment - and
> focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Erlangweb-users mailing list
> Erlangweb-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/erlangweb-users
> http://www.erlang-web.org/
Best regards,
--
Michal Ptaszek
www.erlang-consulting.com
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Erlangweb-users mailing list
Erlangweb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlangweb-users
http://www.erlang-web.org/
Post received from mailinglist |
|
|
| Back to top |
|
| wuji |
Posted: Mon Aug 27, 2012 4:05 am |
|
|
|
User
Joined: 10 Aug 2012
Posts: 654
|
into the air and one into the ground.But the gunfire gunfire Cheap Ralph Lauren Shirts gunfire did not not scare the chimps, and when they
Cussons, he got back in his car, he said. Nikki Nikki cheap polo shirts Nikki jumped on the hood of the car and started
the windshield.Cussons said he fired one round through the glass glass Cheap Ralph Lauren Shirts glass and injured the chimp. The other chimpanzee immediately became
and the chimps moved away, allowing Cussons and first responders responders cheap Ralph Lauren responders to get to Oberle, he said.First responder Lloyd Krause
when he got to Oberle, the University of Texas San San cheap Ralph Lauren Polo San Antonio student was stripped down and the only way
knew he was alive was that his chest was moving."The moving."The [h4]cheap designer *beep*[/h4] moving."The chimps were still out there. ... He was curled |
|
|
| Back to top |
|
| mbtshoes88 |
Posted: Tue Sep 18, 2012 8:50 am |
|
|
|
User
Joined: 18 Sep 2012
Posts: 30
|
| Combine it with black or brown Cheap Armani Watches shoes, even white if you want to look different. Replica Armani Watches Standard blue generally means navy blue and Emporio Armani not any other paler shades of blue that will look odd. Classic Gray: Can be worn for different occasions and this will make even ladies turn their heads to notice you. Grays also look imposing Cheap Armani Shoes with different stripes and patterns classic gray suits are the hallmark of a gentleman. Cheap Georgio Armani Basic Black: The favorite suit of many well-dressed men and goes well Armani Online with a good white shirt. If you Armani Outlet can afford only one suit, Armani Suits then prefer this versatile Basis Black. As a fourth choice, you can select any of the above three with pinstripes. Cheap Armani Online Men Cheap Armani of average physical build Cheap Emporio Armani can choose either single-breasted or double-breasted Georgio Armani jackets. Double-breasted jackets are intended for slim men so that their leanness is not too visible and single-breasted jackets are meant for the stout to somewhat hide their obesity. Choose the jacket style Armani Sale that best suits your build. fmzds120823 The jackets must be of perfect fit and cause no wrinkles when you button them up. As far as possible, shoulder pads should be avoided and your tailor should guide you in Cheap Armani Suits this regard. You must now choose a trouser style although most men do not attach much Cheap Amarni EA7 importance to trousers and accept any pants that come with a jacket. When you discuss trousers, you need to worry about waist, drape, belt-loops, posterior-hugging, crotch-dangling, and whether or not you need a watch pocket. The best way to judge a pair of pants is to ask “Will I be able to wear these pants without the jacket and still look fine?” If the answer is Cheap Armani Outlet yes, then the pant is of perfect style and fit. Sometimes it is good to heed to the advice of a salesman and buy two pants for the same jacket. The idea is you can alternate pants with the jacket so they wear evenly over time. There may be occasions you may wear the pants minus Armani Shirts the jacket, it Cheap Armani Sale is always prudent to have a back-up pair. |
|
|
| Back to top |
|
|
|
All times are GMT
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|
|
|