[EMAIL PROTECTED] wrote: > Hi Edwin, > > First, to make my goal clear: ideally, I'd like to be able to set my > classpath--or specify options to javac, I don't much care which--in such a > way that I can compile an arbitrary class. So here's the experiment I > tried: > > - I set xercesImpl.jar, xml-apis.jar and xml-xalan\java\src on my > classpath. > - from xml-xalan\java, I did > > javac -sourcepath d:\xml-xalan\java\src -d ./ > src\org\apache\xalan\templates\FuncKey.java > > Under Sun JDk 1.3.1, this works like a charm. Under 1.4.1, it blows up > with 63 error messages, of the kind indicating that javac is still refusing > to look beyond the JVM's compiled classes if it doesn't have to.
Thanks for giving me a concrete command line to work with. Earlier I used my own non-Xalan handcrafted example. I'd like to get back to you on this. BTW, I'm no longer officially working on JAXP so I may not be able to respond quickly to problems. I believe that the dates of the problem *.class files in rt.jar are *newer* than the corresponding source files. So I suppose a somewhat ugly hack would be to copy/touch all the source files. BTW, I don't quite understand the "-d ./" part of you command, but I don't think it's important. -Edwin
