Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6361353
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T23:46:00+00:00 2026-05-24T23:46:00+00:00

I have a very big project, and I’m trying to start using GPS (Gnat

  • 0

I have a very big project, and I’m trying to start using GPS (Gnat Programming Studio) instead of what I have.

The naming conventions of the proj are as following:

something.1.ada for a spec

something.2.ada for a body

parents.son.2.ada for separate procedure/functions where the parent is where the separate function/procedure is declared and son is the name of the separate function/procedure.
It might even be more complicated, as in grandparent.parent.son.2.ada

My problem is I can’t configure GPS to recognize the separate functions/procedures as source files in the project.

It is a huge project so changing the names of the files or any other change in the code itself is not an option for me as it will cause for too much trouble.

How do I configure GPS correctly?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T23:46:01+00:00Added an answer on May 24, 2026 at 11:46 pm

    You need a GNAT Project file with package Naming. Your naming scheme sounds like the Apex naming scheme, discussed in the GPRbuild User’s Guide – specifically here.

    So that would be

    package Naming is
       for Casing               use "lowercase";
       for Dot_Replacement      use ".";
       for Spec_Suffix ("Ada")  use ".1.ada";
       for Body_Suffix ("Ada")  use ".2.ada";
    end Naming;
    

    I don’t think you need

       for Separate_Suffix ("Ada") use ".2.ada";
    

    because

    It denotes the suffix used in file names that contain separate bodies. If it is not specified, then it defaults to same value as Body_Suffix (“Ada”).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using the TweenLite class (AS3) and I have a very big project. Should
I have very big Java a project. I want to change his type from
I'm working on very big project - quiz system (examination). And have a few
I have a situation where i have a very big project and i want
In my current project we have a very big solution with F#-project. I'm talking
I have a very big flex 4 project with many flex modules and flash
I have imported a very big java project from CVS . The problem is
I have an existing J2EE project which is very big and old. Therefore, my
In my project's core library we have a very big class, which is tending
I have always been a very big fan of the DHTML calendar http://www.dynarch.com/projects/calendar/ I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.