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=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!postnews.google.com!d5g2000yqm.googlegroups.com!not-for-mail From: Gautier write-only Newsgroups: comp.lang.ada Subject: Re: Gnat Project file : object dir "fast clean" ? Date: Mon, 16 Nov 2009 06:45:41 -0800 (PST) Organization: http://groups.google.com Message-ID: <17ab1c7b-39ee-41c3-8ef8-e6cbb531bd38@d5g2000yqm.googlegroups.com> References: <4b012f91$0$7619$9b4e6d93@newsspool1.arcor-online.net> NNTP-Posting-Host: 81.62.22.102 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1258382741 11997 127.0.0.1 (16 Nov 2009 14:45:41 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 16 Nov 2009 14:45:41 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: d5g2000yqm.googlegroups.com; posting-host=81.62.22.102; posting-account=gRqrnQkAAAAC_02ynnhqGk1VRQlve6ZG User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/532.0 (KHTML, like Gecko) Chrome/3.0.195.27 Safari/532.0,gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:8114 Date: 2009-11-16T06:45:41-08:00 List-Id: On 16 nov, 11:55, Georg Bauhaus wrote: > Wouldn't gnatclean do the job? I guess J=E9r=F4me would like to delete exactly the files gnatclean wouldn't. In other words: keep the .ali/.o that are meaningful to the project, and delete the other files. A solution would be then (I just tried it with success on Windows): gnatclean -n -P myproj | zip keepit -@ del dir_obj\* move keepit.zip \ cd \ unzip keepit Of course, this would be better included as an option in gnatclean. _________________________________________________________ Gautier's Ada programming -- http://sf.net/users/gdemont/ NB: For a direct answer, e-mail address on the Web site!