Normally tha java compiler places the class files in the same directory as the source files.You can reroute the clas files to another using the -d option of the javac command.The simplest way to compile files within the package is to be working in the directory one level abobe the beginning of the package.
To compile all the files within the shipping.domain package use:
javac -d ../classes shipping/domain/*.java
No comments:
Post a Comment