Has anyone had any success using "/" as the dot replacement for file
names with GNAT, i.e., the spec file for the package A.B.C would be a/
b/c.ads? This would give a structure similar to the Java source
structure.
Take care,
Michael.
--
---------------------------------------------------------
J-P. Rosen (ro...@adalog.fr)
Visit Adalog's web site at http://www.adalog.fr
IIUC, the OP would like the unit A.B.C to live in file
C.ads in directory B which lives in directory A.
I would guess that since there is already support for -I
in GNAT, using directory nesting as a match for child
package placement could be added.
This structure is specific to Eclipse IDE,
not to Java as whole.
XCode, for instance, does nothing to
support Eclipse-style directory
structure.
Personally, I prefer .NET-style filenames
(Mixed_Case.Dot_Separated.adb).
Configuration pragmas allow to do
any file naming conventions:
http://www.adacore.com/wp-content/files/
auto_update/gnat-unw-docs/html/gnat_ugn_11.html#SEC112
/Per
I tried that - but it did not work out in the end. In fact: any other
attempt on changing the naming convention failed as well when project
size increased.
Martin
--
mailto://kris...@users.sourceforge.net
Ada programming at: http://ada.krischik.com