#464 Add a package name directive


Package names on ::requires identifies packages by file name, but it would be handy if a given package file could self-identify with an internally selected name. This internal name should then be exposed so that it can be used to qualify things like class names to avoid name conflict issues.

One question that needs deciding is how to handle package name conflicts. These could just be ignored, but I think it might be good to flag the conflict as an error if a program requires multiple packages that use the same name. I'm not in favor of making this a global error.


  • Rick McGuire

    Rick McGuire - 2012-06-22

    Didn't realize I was not logged in when I created this. I was the submitter here.

  • Rick McGuire

    Rick McGuire - 2014-06-29
    • status: open --> accepted
    • assigned_to: Rick McGuire
    • Pending work items: --> code+doc+test
  • Rick McGuire

    Rick McGuire - 2014-09-25
    • Milestone: None --> 5.0.0
  • Rick McGuire

    Rick McGuire - 2014-10-03
    • Pending work items: code+doc+test --> doc+test
  • Rick McGuire

    Rick McGuire - 2014-10-03

    Implemented by allowing the program that requires a package to assign a namespace name to the package.

  • Rick McGuire

    Rick McGuire - 2014-10-04
    • Pending work items: doc+test --> doc
  • Erich

    Erich - 2015-06-12

    ::REQUIRES .. NAMESPACE documented in revision [r10915]



    Commit: [r10915]

  • Erich

    Erich - 2015-06-13
    • status: accepted --> pending
    • Pending work items: doc --> none


Cancel  Add attachments

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks