At 7:31 PM +0000 8/8/02, sixth_rule wrote:
I am using javac
i moved the jmrix dir into jmri and set the class path
things are working now with these classes
i am now trying to compile the LocoNetMessage class but run into an
error every time i it tries to compile a line with log.error in it
like
log.error("invalid length in call to ctor: "+len);
or
static org.apache.log4j.Category log =
org.apache.log4j.Category.getInstance(LocoNetMessage.class.getName());
There are a couple of libraries that are needed, even during compilation.
You should have gotten a "lib" directory when you checked out the source. They're in there, and have to be manually added to the javac command line.
But can I suggest using bare javac is a very hard process, and that you'd be better off investing a few minutes installing JBuilder or ant to make this process automatic? They're tools that handle the library paths, deciding what to compile, etc.
Depending on what OS you're using, or the other might be easier.
Bob
--
--------------
Bob Jacobsen (Bob_Jacobsen@..., 510-486-7355, fax 510-495-2957)
At CERN until August 10, replies may be slow.