With a transfer in companies, I lost of lot of my saved messages that
have been posted to this list. One of them that I stored because I knew
I would eventually need it is how to set up automatic compiles of files
that are part of a package.
For instance, my Foo.java file contains:
package com.wirex.rna;
as the first non-comment line. This java file is stored in
~/work/src/com/wirex/rna. If I do:
cd ~/work/src
java com/wirex/rna/Foo.java
everything works. But now I can't compile it using JDE, as I get errors
like:
cd /home/howard/work/wirex/src/com/wirex/rna/
javac Foo.java
Foo.java:42: Class com.wirex.rna.CmdNode not found in type declaration.
Going through the documentation it seems that I should set either of the
following in my prj.el
'(jde-compile-option-directory "/home/howard/work/wirex/src")
'(jde-run-working-directory "/home/howard/work/wirex/src")
By setting the jde-run-working-directory, I can get the program to run,
but there doesn't seem to be something like
jde-compile-working-directory ... or something to specify the package.
Am I just missing something here?
Thanks for anyone's help.
Howard Abrams
Yes, there is Nirvanah; it is in leading your
WireX Communications sheep to a green pasture, and in putting your
Email: [EMAIL PROTECTED] child to sleep, and in writing the last line
Phone: 503/241.6575 of your poem.
-- Kahlil Gibran, Sand and Foam
Fax: 503/241.5682