aspose file tools*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Final packaging structure Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Final packaging structure" Watch "Final packaging structure" New topic
Author

Final packaging structure

Aruna Raghavan
Ranch Hand

Joined: May 14, 2002
Posts: 194
Hi,
I want to have to jar file set up as follows:
Main jar file contains:
server.jar
client.jar
db.jar
db.db
designchoices.txt
README.txt
I will ask the assessor to extract it into a suncertify dir.
server.jar has all the classes, javadoc, resources and source files for the server. It only has classes for the db but not source code. This is executable. I will ask the assessor to extract it into a suncertify/server dir.

client.jar has all the classes, javadoc, resources and source files for the client. It only has classes for the db but not source code. This is executable. I will ask the assessor to extract it into a suncertify/client dir.

db.jar only has db source, javadoc and classes. This is non-executable. I will ask the assessor to extract it into a suncertify/db dir.

User help is online. The help html files are part of the resources that get loaded into client.jar and server.jar.
How does this look?
Thanks a bunch!
Aruna.


Aruna A. Raghavan<br />SCJP, SCJD, SCWCD
John Smith
Ranch Hand

Joined: Oct 08, 2001
Posts: 2937

I will ask the assessor to extract it into a suncertify/server dir.

You may not ask the assessor to extract a jar into a specific directory, your program should work from any directory.
Eugene.
Aruna Raghavan
Ranch Hand

Joined: May 14, 2002
Posts: 194
Eugene,
Yes, the jar files should run form any directory. So, if I don't have to be thinking about where he will extract them to, I think it would be the easiest to dump all my .java, .class and .html into one jar file for client, one for server and one for db. Organizing them into something like
suncertify/server/classes
suncertify/server/source
suncertify/server/javadoc
is not worth the hassle. Do you aree?
Thnaks,
Aruna.
Aruna Raghavan
Ranch Hand

Joined: May 14, 2002
Posts: 194
Eugene,
I think this is a better approach.
client.jar
server.jar
src.jar
classes.jar
original_src.jar
higher lever devexam.jar that contains all of the above.
I won't say anything about classpaths or where to install these.
Thx,
Aruna.
Garandi Garandi
Ranch Hand

Joined: Jan 07, 2003
Posts: 192
Since you have all your .class in client.jar and server.jar and they are executable jar files, what is in classes.jar file?
Garandi
Aruna Raghavan
Ranch Hand

Joined: May 14, 2002
Posts: 194
I suppose I wouldn't need to include it.
John Smith
Ranch Hand

Joined: Oct 08, 2001
Posts: 2937
You also don't need to include original_src.jar since your source.jar already includes all the supplied source.
Eugene.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Final packaging structure