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.1 required=5.0 tests=BAYES_00, PP_MIME_FAKE_ASCII_TEXT autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,c6567772e9f3871d X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!news.in2p3.fr!in2p3.fr!news.ecp.fr!news.jacob-sparre.dk!pnx.dk!jacob-sparre.dk!ada-dk.org!.POSTED!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: organizing deep source trees with child packages Date: Thu, 13 Oct 2011 20:44:21 -0500 Organization: Jacob Sparre Andersen Research & Innovation Message-ID: References: <21c9e6bb-f4f7-4a00-bde7-68f2c1a42d01@q13g2000vby.googlegroups.com> <82ty7d1ewz.fsf@stephe-leake.org> <3486b228-abdd-490f-b4ef-9ee6b19f65fa@gy7g2000vbb.googlegroups.com> <7179717a-9837-476c-b564-6599a9c02acd@ff5g2000vbb.googlegroups.com> NNTP-Posting-Host: static-69-95-181-76.mad.choiceone.net X-Trace: munin.nbi.dk 1318556664 858 69.95.181.76 (14 Oct 2011 01:44:24 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Fri, 14 Oct 2011 01:44:24 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-RFC2646: Format=Flowed; Response X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6109 Xref: g2news1.google.com comp.lang.ada:21420 Date: 2011-10-13T20:44:21-05:00 List-Id: "Yannick Duch�ne (Hibou57)" wrote in message news:op.v3a9wdv1ule2fv@index.ici... >By the way, using overlong file names instead of directory, is not even >suggested by the ARM, this is just a GNAT convention. Using directory >would not break Ada semantic, you will just replace "." by "/" or "\" >instead of "-". It wouldn't break the Ada semantics, but it would make it a lot harder for build tools and the like to function. (Especially simple tools like "find"/"grep".) And in any case, the solution for "overlong file names" is to use shorter ones! There's no law (either in GNAT or Ada) requiring anyone to use 50 character file names. Indeed, most of my Janus/Ada work still uses 8.3 file names: "J2Code_E.Ads", for example. The actual package name is quite a bit longer. Janus/Ada needs only to be told once about the correspondence between package names and file names -- either by compiling the file manually or telling the build tool the name when asked. After that, Janus/Ada remembers the file names in the project files and does not need to told again (unless of course you decide to make a fresh start with your projects and delete the old file). Randy.