This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Hi, I've a class "a.java" in the folder d:\practice\com\dan and have a package statement package com.dan as the first statement in a.java. I want to put the compiled file in a separate folder d:\practice\classes so i compiled the file as javac -d classes com\dan\a.java from the "practice" folder. The file got compiled but two additional folders com and dan were created in classes folder. How can i compile it without creating those additional folders? Thanks.