U
U. George
Has sun got 'conditional import' in Java yet?
i got a common source. But there are 2 java 'jar' comm packages that
might be used when program is running.
one comm pkg comes from sun, the other from RXTX. During runtime, if the
pkg is included in classpath, then it is loaded. If not Oh Well.
I would like to say
#if GNUIO
import gnu.io.*;
#else
import javax.comm.*;
#endif
So far, i have to have two separate directories. And slightly modify the
source common to all.
i got a common source. But there are 2 java 'jar' comm packages that
might be used when program is running.
one comm pkg comes from sun, the other from RXTX. During runtime, if the
pkg is included in classpath, then it is loaded. If not Oh Well.
I would like to say
#if GNUIO
import gnu.io.*;
#else
import javax.comm.*;
#endif
So far, i have to have two separate directories. And slightly modify the
source common to all.