comp.lang.ada
 help / color / mirror / Atom feed
* Embedded Web Server 20131016
@ 2013-10-16 15:58 Simon Wright
  2013-10-17 11:40 ` ake.ragnar.dahlgren
  0 siblings, 1 reply; 3+ messages in thread
From: Simon Wright @ 2013-10-16 15:58 UTC (permalink / raw)


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/


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Embedded Web Server 20131016
  2013-10-16 15:58 Embedded Web Server 20131016 Simon Wright
@ 2013-10-17 11:40 ` ake.ragnar.dahlgren
  2013-10-17 17:13   ` Simon Wright
  0 siblings, 1 reply; 3+ messages in thread
From: ake.ragnar.dahlgren @ 2013-10-17 11:40 UTC (permalink / raw)


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.

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 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, 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,
Åke Ragnar Dahlgren


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Embedded Web Server 20131016
  2013-10-17 11:40 ` ake.ragnar.dahlgren
@ 2013-10-17 17:13   ` Simon Wright
  0 siblings, 0 replies; 3+ messages in thread
From: Simon Wright @ 2013-10-17 17:13 UTC (permalink / raw)


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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-10-17 17:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-16 15:58 Embedded Web Server 20131016 Simon Wright
2013-10-17 11:40 ` ake.ragnar.dahlgren
2013-10-17 17:13   ` Simon Wright

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox