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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,23ad7d39f64f65c7 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.125.233 with SMTP id mt9mr7525211pbb.5.1333987373110; Mon, 09 Apr 2012 09:02:53 -0700 (PDT) Path: r9ni37037pbh.0!nntp.google.com!news2.google.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: tonyg Newsgroups: comp.lang.ada Subject: Re: Aws demos on debian Date: Mon, 9 Apr 2012 08:56:57 -0700 (PDT) Organization: http://groups.google.com Message-ID: <27234443.269.1333987017784.JavaMail.geo-discussion-forums@vbvd13> References: <10568325.1989.1333972101735.JavaMail.geo-discussion-forums@vbvd13> <877gxproja.fsf@ludovic-brenta.org> NNTP-Posting-Host: 77.98.243.142 Mime-Version: 1.0 X-Trace: posting.google.com 1333987372 15866 127.0.0.1 (9 Apr 2012 16:02:52 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 9 Apr 2012 16:02:52 +0000 (UTC) In-Reply-To: <877gxproja.fsf@ludovic-brenta.org> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=77.98.243.142; posting-account=28F2IwkAAACL1Z5nRC-dE7zuvWdbWC7P User-Agent: G2/1.0 Content-Type: text/plain; charset=ISO-8859-1 Date: 2012-04-09T08:56:57-07:00 List-Id: On Monday, 9 April 2012 15:02:49 UTC+1, Ludovic Brenta wrote: > tonyg writes on comp.lang.ada: > > Having successfuly output my values to the screen using AWS, I have > > noticed in the documentation that it can interface to javascript. I > > have a couple of jobs I want it to do. First I want to use a third > > party java script charting package to present the values and secondly > > I want to implement a control interface for another piece of software > > I got. To do this I am trying to understand the demos in the > > documentation for the AWS debian packages. HAving read the code I want > > to see them running and play with the code. So I copied the demos > > from their rightful place in /usr/somewhere to my home directory, > > replaced the aws.gpr location because I have not updated the > > ada_include_path, and I am still getting an error saying no rdemo.ads > > / rdemo.adb. I noticed in the code that these are generated using the > > AWSres tool, but I am wondering what they are generated from etc. Does > > anyone know? > > * which version of the package libaws-doc? > > * which demo (i.e. which subdirectory of > /usr/share/doc/libaws-doc/examples)? > > * what exact command line do you use to compile your copy of the demo? > > * what exact error message do you get? > > -- > Ludovic Brenta. > The reporting unit should streamline the process. What I do is I load the demos.gpr into gnat-gps. On this version all the examples are in one directory which I notice is different to the source down load from core. The version I am using is libaws 2.7 (2.7.4 on synaptic) on debian squeeze. I am copying the examples from the /usr/share/doc/libaws-doc directory. The comand and error is tony@comms:~/tryout/examples$ gnatmake -P demos.gpr demos.gpr:22:30: "../.build/common/demos" is not a valid directory demos.gpr:45:15: source file "rdemo.ads" cannot be found demos.gpr:45:28: source file "rdemo.adb" cannot be found demos.gpr:51:15: source file "rdemo-adains_png.ads" cannot be found demos.gpr:51:39: source file "rdemo-page3_html.ads" cannot be found gnatmake: "demos.gpr" processing failed I am wondering if I need to process some files using AWSres but I don't know what files. I successfully compiled and linked the ws_elements example on the source download but I got a storage error after I ran it and tried the AJAX example. The rest of the example ran fine but the ajax bit was what I wanted to see.