Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

package names

  • 03-04-2002 2:58pm
    #1
    Registered Users, Registered Users 2 Posts: 21,264 ✭✭✭✭


    just curious. Are package names (c) ?

    For example if I have java program which relates to ANT can I use the package layout that Ant uses? Or would I run into problems if I tried to release it on Open source?

    .. just read that and it makes no sense here's an example.

    I have a program X which has a package layout of...

    org.xcorp.x.*

    I write a tool which relates to that, is it ok for me to put it into..

    org.xcorp.x or org.xcorp.x.mytool ?


Comments

  • Closed Accounts Posts: 1,651 ✭✭✭Enygma


    I've wondered that myself, I just came to the conclusion that it's bad programming practice. If I write something that's related to another product then I'll use:

    com.mycompany.theircompany....

    Using the same package name as them is bound to end in conflicts. It's easier to stay away.


  • Registered Users, Registered Users 2 Posts: 6,660 ✭✭✭Blitzkrieger


    Originally posted by Hobbes
    just curious. Are package names (c) ?


    AFAIK no. It is recommended you use the naming convention on the Sun website to avoid conflicts tho. i.e. : If you're doing a package for www.vistech.com call it something like com.vistech.mypackage . Using conventions like that it's unlikely there'll ever be a conflict.


  • Closed Accounts Posts: 1,651 ✭✭✭Enygma


    It's com.vistechsoftware actually :p

    Who are you? :)


  • Registered Users, Registered Users 2 Posts: 6,660 ✭✭✭Blitzkrieger


    no1 :) A friend of mine did his work experience at Vistech and it was the first company to come to mind


Advertisement