Just wondering id someone could help me with sourcepaths
I have the directory structure
classes
src
sampleproject
db
and am trying to split the source and class files
If I use
javac -d classes src/sampleproject/db/*.java
the files are compiled to the classes directory but under src.
I tried
javac -d classes -sourcepath src sampleproject/db/*.java
which I expected to work but my
java files could not be found.
Also tried some varations with classpath but got lost.
Any ideas
Could anyone point out a fundemental error I'm making
Cheers Tony