This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes non java files in the code direcotry, a deploy question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "non java files in the code direcotry, a deploy question" Watch "non java files in the code direcotry, a deploy question" New topic
Author

non java files in the code direcotry, a deploy question

Mihai Radulescu
Ranch Hand

Joined: Sep 18, 2003
Posts: 916

Hi,

I have a question about the deploy modality. In my specifications I have something like :

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


Besides the source codes my project uses :
1.properties files for internationalizations
2.some icons
3.some HTML files for the online help

This are not source files, but according with the specification I must pack them
in the code directory ?

Am I right ?

Regards,
M


SCJP, SCJD, SCWCD, OCPJBCD
Rob Cromley
Greenhorn

Joined: Aug 30, 2004
Posts: 24
I just got the results from my submission (passed). Making sure that these documents were in the correct locations was actually my greatest paranoia (didn't want an automatic failure for something this basic). I had B&S, but my format was:

code----suncertify----communications
----db
----GUI
----misc
docs----javadoc----javadoc html files
----choices.txt
----instructions.html (this was provided by Sun)
----userguide.txt
database file (this was provided by Sun)
runme.jar
suncertify.properties
version.txt

I didn't use any icons. Hopefully this helps.


SCJP(1.4), SCWCD(1.4), SCBCD(1.3), SCEA(part 1), SCJD
Rob Cromley
Greenhorn

Joined: Aug 30, 2004
Posts: 24
Sorry, my previous post of this stripped-out some stuff that made it more readable. Hopefully this will make more sense:
code----suncertify----communications
code----suncertify----db
code----suncertify----GUI
code----suncertify----misc
docs----javadoc----javadoc html files
docs----choices.txt
docs----instructions.html (this was provided by Sun)
docs----userguide.txt
database file (this was provided by Sun)
runme.jar
suncertify.properties
version.txt
Lucy Hummel
Ranch Hand

Joined: Apr 07, 2005
Posts: 232
Hi,

My structure is similar to yours.

My assignment stated also that

docs/instructions.html
docs/userguide.html
docs/choices.txt
docs/javadoc/index.html
docs/javadoc/*/*.html
code/*/* ... all my "java" files
<my db file>
runme.jar
version.txt


----------------------------------<br />| SCJP, SCWCD, SCBCD, SCEA, SCJD |<br />----------------------------------
Mihai Radulescu
Ranch Hand

Joined: Sep 18, 2003
Posts: 916

Thanks,
my structure is similar,

but I still have one question question regarding the code directory. It contains only java sources or it contains also other "related parts" (like some icon files or the online help) ?
Rob do you have a package called "suncertify.GUI"

Regards,
M
Romeo Son
Ranch Hand

Joined: Mar 12, 2007
Posts: 92

Mihai,

Looking at my instructions.html I have found out:

A directory called code, containing all the source code and related parts of your project.


I think the related parts could be the icons package, right?


SCJP 1.4, SCJD, OCE EJBD 6
Mihai Radulescu
Ranch Hand

Joined: Sep 18, 2003
Posts: 916

Hi Romeo,

I also think like this, maybe I become a little bit paranoid in the last time.

Regards
M
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: non java files in the code direcotry, a deploy question
 
Similar Threads
Setting up Eclipse and GlassFish for executing Web services program
Launching From Command Line
include the compiled code in submission?
NX: Directory Structure
Question about package