Re: [eclipse-clp-users] add ownership of .pro files (and drop ownership of .pl files)?

From: Joachim Schimpf <jschimpf_at_...153...>
Date: Sun, 29 Nov 2009 21:47:16 +1100
-dp- wrote:
> There is a source tree of .pro Prolog files (from source control server) 
> that I would like to use in my application and have ECLiPSe "own" them 
> and all other .pro files on my OS (Windows 7) in the way that it owns 
> .ecl and .pl files. I would like to avoid forking the source tree just 
> to change file extensions.
> At the same time, .pl files are usually owned by Perl and I would like 
> to configure ECLiPSe to give up ownership of them.
> I've looked in the user manual but didn't find any advice about this. 
> This isn't critically important, but would be nice to use the .pro 
> extension to indicate files containing "pure Prolog" and reserve .ecl 
> for those that involve constraint libraries and such.

Change the 'prolog_suffix' flag, for instance

?- set_flag(prolog_suffix, ["", ".ecl", ".pro"]).

means that ECLiPSe will first try a file without extension,
then with .ecl, and then with .pro extensio.

-- Joachim
Received on Sun Nov 29 2009 - 11:47:48 CET

This archive was generated by hypermail 2.3.0 : Wed Aug 21 2019 - 09:13:32 CEST