From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.182.27.36 with SMTP id q4mr2811292obg.7.1382010001308; Thu, 17 Oct 2013 04:40:01 -0700 (PDT) X-Received: by 10.50.20.38 with SMTP id k6mr189267ige.17.1382010001259; Thu, 17 Oct 2013 04:40:01 -0700 (PDT) Path: border1.nntp.dca3.giganews.com!backlog4.nntp.dca3.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!i2no17205682qav.0!news-out.google.com!9ni50474qaf.0!nntp.google.com!i2no17205679qav.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 17 Oct 2013 04:40:00 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=136.163.203.9; posting-account=l8k8IwoAAADeDydswOzwNzmn10qOk9gt NNTP-Posting-Host: 136.163.203.9 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <40a0707a-2da9-489a-b53e-a824f72be155@googlegroups.com> Subject: Re: Embedded Web Server 20131016 From: ake.ragnar.dahlgren@gmail.com Injection-Date: Thu, 17 Oct 2013 11:40:01 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Original-Bytes: 2568 Xref: number.nntp.dca.giganews.com comp.lang.ada:183649 Date: 2013-10-17T04:40:00-07:00 List-Id: On Wednesday, October 16, 2013 5:58:19 PM UTC+2, Simon Wright wrote: > This release[1] of EWS allows the software to be built as a library. It r= equires an Ada2012-capable compiler (GCC 4.8 or later, GNAT GPL 2012 or lat= er (but "make install" requires GNAT GPL 2013's gprinstall)). The licence h= as been changed to GPL v3, with the GCC Runtime Library Exception v3.1 in p= lace of GMGPL. It no longer requires the Booch Components (XML/Ada is still= required). [1] https://sourceforge.net/projects/embed-web-srvr/files/ews-2= 0131016/ Dear Simon, Thanks for sharing. It was interesting to see how you use the Ada programmi= ng language for example package declarations using the "with" keyword (I gu= ess Ada 2012). Your own handrolled smart pointer implementation, and other = interesting implementation choices. I'm not sure if there was documentation about how to get the example in the= /doc directory working. Open make_htdocs.gpr with GPS, compile and generat= e the executable ews-make_htdocs.exe (yes I did this in Windows) in the /bi= n directory. Take that executable and run it in the /doc directory, this wi= ll generate ews_htdocs.ads and ews_htdocs.adb. Then open ews_demo.gpr and b= uild the projet using GPS, run it and then use your favorite web browser to= surf to the adress http://localhost/ and you should see the index.html web= page. Best regards, =C5ke Ragnar Dahlgren