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

* Re: project file GPS, and  for Source_List_File use "xxx.txt";
  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
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 8+ messages in thread
From: Simon Wright @ 2014-01-23 16:50 UTC (permalink / raw)


thymallus1@free.fr writes:

>    for Source_List_File use "(C:\(E)\Ada\Gnat\RTS3-GW\Sources\gw-source_files.txt");

Could it be that leading open parenthesis?
And I don't believe that last close paren can have been in the original,
since Source_List_File doesn't take a list.


Also, of course, it's possible that GPS won't handle names with parens
in them.


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

* Re: project file GPS, and  for Source_List_File use "xxx.txt";
  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
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 8+ messages in thread
From: mockturtle @ 2014-01-23 20:04 UTC (permalink / raw)


On Thursday, January 23, 2014 5:10:22 PM UTC+1, thyma...@free.fr wrote:
> 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;
...
> [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.

This is maybe a silly thing, but in the line above you say "Source" (singular), while the project says "Sources."  I do not know if it is a typo in your message or an 's' missing in the dir name.

Riccardo


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

* Re: project file GPS, and  for Source_List_File use "xxx.txt";
  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:23 ` thymallus1
  4 siblings, 0 replies; 8+ messages in thread
From: thymallus1 @ 2014-01-24 11:19 UTC (permalink / raw)


Le jeudi 23 janvier 2014 17:10:22 UTC+1, thyma...@free.fr a écrit :
> 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

* Re: project file GPS, and  for Source_List_File use "xxx.txt";
  2014-01-23 16:10 project file GPS, and for Source_List_File use "xxx.txt"; thymallus1
                   ` (2 preceding siblings ...)
  2014-01-24 11:19 ` thymallus1
@ 2014-01-24 11:21 ` thymallus1
  2014-01-24 11:47   ` thymallus1
  2014-01-24 11:23 ` thymallus1
  4 siblings, 1 reply; 8+ messages in thread
From: thymallus1 @ 2014-01-24 11:21 UTC (permalink / raw)


Le jeudi 23 janvier 2014 17:10:22 UTC+1, thyma...@free.fr a écrit :
> 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?



Le jeudi 23 janvier 2014 17:10:22 UTC+1, thyma...@free.fr a écrit :
> 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

* Re: project file GPS, and  for Source_List_File use "xxx.txt";
  2014-01-23 16:10 project file GPS, and for Source_List_File use "xxx.txt"; thymallus1
                   ` (3 preceding siblings ...)
  2014-01-24 11:21 ` thymallus1
@ 2014-01-24 11:23 ` thymallus1
  4 siblings, 0 replies; 8+ messages in thread
From: thymallus1 @ 2014-01-24 11:23 UTC (permalink / raw)


Le jeudi 23 janvier 2014 17:10:22 UTC+1, thyma...@free.fr a écrit :
> 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

* Re: project file GPS, and  for Source_List_File use "xxx.txt";
  2014-01-24 11:21 ` thymallus1
@ 2014-01-24 11:47   ` thymallus1
  2014-01-24 15:28     ` Oliver Kleinke
  0 siblings, 1 reply; 8+ messages in thread
From: thymallus1 @ 2014-01-24 11:47 UTC (permalink / raw)


The 's' is not a typo, I just wanted to mean "the directory containing the source files"(whose name is "Sources").
If instead of GPS I invoke directly gnatmake: 
gnatmake -PRTS3-GW rts3_gw.adb I obtain also "file gw-source_files.txt not found".
Same thing if I suppress the external parentheses.
So the problem should be with the project file...

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

* Re: project file GPS, and  for Source_List_File use "xxx.txt";
  2014-01-24 11:47   ` thymallus1
@ 2014-01-24 15:28     ` Oliver Kleinke
  0 siblings, 0 replies; 8+ messages in thread
From: Oliver Kleinke @ 2014-01-24 15:28 UTC (permalink / raw)


Am Fri, 24 Jan 2014 03:47:20 -0800 (PST)
schrieb thymallus1@free.fr:

> The 's' is not a typo, I just wanted to mean "the directory
> containing the source files"(whose name is "Sources"). If instead of
> GPS I invoke directly gnatmake: gnatmake -PRTS3-GW rts3_gw.adb I
> obtain also "file gw-source_files.txt not found". Same thing if I
> suppress the external parentheses. So the problem should be with the
> project file...

As Simon Wright pointed out, it's probably because of this parenthesis:

"(C:\(E)\Ada\Gnat\RTS3-GW\Sources\gw-source_files.txt");
 ^

^ 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