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 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Embedded Web Server 20131016 Date: Thu, 17 Oct 2013 18:13:00 +0100 Organization: A noiseless patient Spider Message-ID: References: <40a0707a-2da9-489a-b53e-a824f72be155@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: mx05.eternal-september.org; posting-host="7958ea92c2d947b309639deef600a8ff"; logging-data="12932"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/l8TrVdsey74kPr7BX8FlAyUVBIiW8Aiw=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (darwin) Cancel-Lock: sha1:Yygg0m8WCiGTbEEh+e4ndVmZRdc= sha1:BUVTex11fOryb+lgbWQrDjD6Vq4= Xref: news.eternal-september.org comp.lang.ada:17456 Date: 2013-10-17T18:13:00+01:00 List-Id: ake.ragnar.dahlgren@gmail.com writes: > 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 requires an Ada2012-capable compiler (GCC 4.8 or later, >> GNAT GPL 2012 or later (but "make install" requires GNAT GPL 2013's >> gprinstall)). The licence has been changed to GPL v3, with the GCC >> Runtime Library Exception v3.1 in place of GMGPL. It no longer >> requires the Booch Components (XML/Ada is still required). [1] >> https://sourceforge.net/projects/embed-web-srvr/files/ews-20131016/ > > Dear Simon, > > Thanks for sharing. It was interesting to see how you use the Ada > programming language for example package declarations using the "with" > keyword (I guess Ada 2012). Your own handrolled smart pointer > implementation, and other interesting implementation choices. The smart pointers are essentially a copy of the smart pointers in the Booch Components (also (c) me); I wanted to remove the dependency on the BCs. I should probably say this. > I'm not sure if there was documentation about how to get the example > in the /doc directory working. Well, there is, but not as obvious as it might be. Needs an INSTALL file, which will probably say much the same as [1] (you have to know SF to work out how to get to this from the link I posted above :-)) > Open make_htdocs.gpr with GPS, compile > and generate the executable ews-make_htdocs.exe (yes I did this in > Windows) in the /bin directory. Take that executable and run it in the > /doc directory, this will generate ews_htdocs.ads and > ews_htdocs.adb. Then open ews_demo.gpr and build the projet using GPS, Or you could use the command line and say $ make $ cd doc $ make demo I agee there needs to be some description of ews-make_htdocs. I tend to forget that people don't use Cygwin on Windows (I use GPS only rarely, and Windows only when necessary. Just at the moment Cygwin's Python appears to hang every time I try to use it, and killing it seems to bring Windows to its knees - this is XP in a VMware vm on a Mac). > 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. That should be http://localhost:8080 > Best regards, > Åke Ragnar Dahlgren Thanks [1] http://embed-web-srvr.sourceforge.net/