This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

The ultimate packaging question

 
Aruna Raghavan
Ranch Hand
Posts: 194
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I am wondering if it is acceptable to have two jar files, one for server and one for client.
I have been using JBuilder and two separate projects so far, one for server and one for the client. I do have my packages named suncertify.server and suncertify.client to comply with the requirements.
The question is - do the source files have to be under the suncertify tree?
I tried to use a tree structure with jbuilder but couldn't quite get it to work.
Please let me know if the question is not clear.
Thanks,
Aruna.
 
Aruna Raghavan
Ranch Hand
Posts: 194
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I forgot to add that now I have it like this:
suncertify/client dir has all JBuilder project specific files and
src/suncertify/client and
classes/suncertify/client.

suncertify/server has all JBuilder project specific files and
src/suncertify/server and
classes/suncertify/server.
 
Mark Spritzler
ranger
Sheriff
Posts: 17276
6
IntelliJ IDE Mac Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Actually everyone has two jar files. client.jar and server.jar.
As far as directory structure and an IDE, I cannot comment on how you do that.
My directory structure was easy
c:\devexam\suncertify\db
c:\devexam\suncertify\client
c:\devexam\suncertify\help
All .class and source files were in those directories. It actually would have been better to add one more being.
c:\devexam\suncertify\server
so that my packages seperated the db from the server.
Mark
 
Peter den Haan
author
Ranch Hand
Posts: 3252
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Mark Spritzler:
Actually everyone has two jar files. client.jar and server.jar.
I didn't I had client.jar, server.jar and common.jar. The latter contained those classes that were used by both client and server. The Class-Path manifest attribute can be used to glue the jars together.
I wouldn't think the choice you make here has the slightest impact on your score however.
- Peter
[ January 11, 2003: Message edited by: Peter den Haan ]
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic