comp.lang.ada
 help / color / mirror / Atom feed
From: thymallus1@free.fr
Subject: project file GPS, and  for Source_List_File use "xxx.txt";
Date: Thu, 23 Jan 2014 08:10:22 -0800 (PST)
Date: 2014-01-23T08:10:22-08:00	[thread overview]
Message-ID: <c8c36bb4-6c89-4a89-81e1-84da79f33a62@googlegroups.com> (raw)

I have a project file RTS3-GW.GPR which says:
project RTS3_GW is
   for Source_Dirs use ("C:\(E)\Ada\Gnat\RTS3-GW\Sources");
   for Source_List_File use "(C:\(E)\Ada\Gnat\RTS3-GW\Sources\gw-source_files.txt");
       [...]
end RTS3_GW;

Environment Variables are set like this:,
C:\(E)\Ada\Gnat\RTS3-GW\Sources is at the beginning of ADA_INCLUDE_PATH.
RTS3_GW.GPR is in GPR_PROJECT_PATH.
The list file gw-source_files.txt is in C:\(E)\Ada\Gnat\RTS3-GW\Sources.

If in GPS I launch [Build] for the project there is the message:
[2014-01-22 16:53:52] C:\(E)\Ada\Gnat\RTS3-GW\Sources\RTS3_GW.gpr:6:29: file with sources "(C:\(E)\Ada\Gnat\RTS3-GW\Sources\gw-source_files.txt"  does not exist
followed by 131 warnings (1 for each file in the list): "source file "xxx.adb" (or "xxx.ads") not found.

Of course all 131 files are present in the Source directory.
So it is not possible to produce an executable. 
I do not see why the source file list cannot be found by GPS.  C:\(E)\ is a valid directory name in Windows 7. So what?

             reply	other threads:[~2014-01-23 16:10 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-23 16:10 thymallus1 [this message]
2014-01-23 16:50 ` project file GPS, and for Source_List_File use "xxx.txt"; Simon Wright
2014-01-23 20:04 ` mockturtle
2014-01-24 11:19 ` thymallus1
2014-01-24 11:21 ` thymallus1
2014-01-24 11:47   ` thymallus1
2014-01-24 15:28     ` Oliver Kleinke
2014-01-24 11:23 ` thymallus1
replies disabled

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