• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

NX: Directory Structure

 
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All
Q1.
In packaging and submissions part my specification says,

A directory called code, containing all the source code and related part of your project. You must create subdirectories within this to reflect your package structure and distribute your source files within those directories.


I have no idea what they meant by that related part, any help

Q2.
I have three packages and I think my directory should be like this

But specification says

Your data access class must be called "Data.java", must be in a package called "suncertify.db", and must implement the following interface:
package suncertify.db;
public interface DB
{
��������.


that makes me think that my directory structure should be like this

which will be right one?
Q3.
I think all the class files should be in runme.jar, so whether I need to put class files in code directory.
Thanks in advance
Ajai
[ January 03, 2004: Message edited by: Roy Augustine ]
[ January 03, 2004: Message edited by: Roy Augustine ]
[ January 03, 2004: Message edited by: Roy Augustine ]
 
Ranch Hand
Posts: 619
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Roy,
Q1. Well, if you use icons (for say, a toolbar) or an online user's guide, where do you put them? I think these things may come under the category of related parts of the program.
Q2. Consider the meaning of the package statement. For example,
package suncertify.db;
means that this class can be found in the following directory structure:
suncertify/db
So I would say you would have something like:

Q3. As you say, if the class files are in the runme.jar file, then they shouldn't be in the code directory too. In fact, if you understand code to refer to source code, what would they be doing in the code directory anyway?
Hope this helps,
George
 
Roy Augustine
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi George
Your answers were so clear and straight and I think I am all set for now
Thanks for your help
Ajai
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic