Long time since I compiled my java-files manually to classes.These are the classes:my.stuff.Citymy.stuff.FactoryIn these files:C:/somewhere/my/stuff/City.javaC:/somewhere/my/stuff/Factory.javaNow it's dead-easy to compile this:C:/somewhere/> javac my/stuff/City.java my/stuff/Factory.java
But here's the catch, the current directory is NOT C:/somewhere, but it's C:/According to the javac-documentation I should do this:C:/>javac -sourcepath C:/somewhere my/stuff/Factory.javaerror: cannot read: my/stuff/Factory.java
Doesn't work. I tried just about everything I could think of, but I only manage to compile it if the current-directory is the root of the package
This is a documented feature, what am I doing wrong?