tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jean-frederic clere <jfrederic.cl...@fujitsu-siemens.com>
Subject Detecting OS in jkant
Date Tue, 04 Dec 2001 13:18:28 GMT
Hi,

I am thinking of detecting the OS in jkant via System.getProperty("os.arch") and
System.getProperty("os.name").
Basicly I have problems to build jni because jni_md.h cannot be found because it
is in a sub-directory of java.home/include
                 PC     RM            Sparc   BS200
os.arch          i386   mips          sparc   osd
os.name          Linux  ReliantUnix-N SunOS   POSIX-BC
subdirectory     linux  mips          solaris osd

After the detection should I use a project.setProperty("system_name","true"); or
make it more generic?

Cheers

Jean-frederic

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message