comp.lang.ada
 help / color / mirror / Atom feed
* project file GPS, and  for Source_List_File use "xxx.txt";
@ 2014-01-23 16:10 thymallus1
  2014-01-23 16:50 ` Simon Wright
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: thymallus1 @ 2014-01-23 16:10 UTC (permalink / 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?

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-01-24 15:28 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-23 16:10 project file GPS, and for Source_List_File use "xxx.txt"; thymallus1
2014-01-23 16:50 ` 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

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