File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Cattle Drive and the fly likes Can I use a package? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » This Site » Cattle Drive
Bookmark "Can I use a package?" Watch "Can I use a package?" New topic
Author

Can I use a package?

Barry Gaunt
Ranch Hand

Joined: Aug 03, 2002
Posts: 7729
Hello all, I'm asking all these questions up front so as to not go through many "masterpiece restorations" later. Also the questions/answers will be helpful additions to the/a FAQ, and so future members can get clued in quicker.
So, can I use a package for all of my assignments?
Either I can use com.bfgaunt.cattledrive or something like com.javaranch.jr<memberid> as prefixes. I guess the assignment identifier (without the minus) should also be appended.
Part of the deal, would be the necessity to provide a README to specify correct additions to the CLASSPATH so that a user can use the stuff.
Packages are another thing we are supposed to get a handle on, so starting out on day one with them would be ideal.
Or is it getting too complex?
Over...
-Barry


Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9047
    
  10
You can use packages, just remove them before you send in your assignments.


JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
Barry Gaunt
Ranch Hand

Joined: Aug 03, 2002
Posts: 7729
Great answer, Marilyn
I don't have any more questions, so I can't procrastinate any longer. I'll start tomorrow...
-Barry
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Can I use a package?