• Post Reply Bookmark Topic Watch Topic
  • New Topic

Managing Source and Class Files  RSS feed

 
jon ninpoja
Ranch Hand
Posts: 291
3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i know its only a convention and not in concrete but is it done like this

say i create a project in

c:\myJava\projects - i know java has no idea about projects etc,just getting it all together in my head.

and i name my project pos1

then in pos1 i create a package called:
com.expresssys.pos

and then in my package i create all my java files called:
graphics
maincode
sounds

that are unique to the com.expresssys.pos package
is that the right way to do it,just want to get to uniform standards of doing things

the oracle notes are a bit bland regarding this.
any info appreciated
thanks


 
jon ninpoja
Ranch Hand
Posts: 291
3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
actually after reading it a few times and breaking it down,it seems to make sense ok
 
Fred Kleinschmidt
Bartender
Posts: 571
9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
and then in my package i create all my java files called:
graphics
maincode
sounds

What are these three files supposed to be? Are they really directories - for example, "graphics" is a directory containing the jave source files for the graphics parts of your application?
Or are they indeed files? If they are files, what are those files supposed to contain?
 
Knute Snortum
Sheriff
Posts: 4270
127
Chrome Eclipse IDE Java Postgres Database VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Many projects use Maven's directory structure, even if they don't use Maven.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!