hm, i think the properties file is on the classpath, this is the manifest.mf ot the jar file:
Manifest-Version: 1.0
Ant-Version: Apache
Ant 1.6.5
Created-By: 1.5.0_08-b03 (Sun Microsystems Inc.)
Main-Class: com.crb.server.Main
Class-Path: server.properties
this is my Code:
Properties p = new Properties();p.load(getClass().getClassLoader().getResourceAsStream("server.properties"));
but the code doesn't work
[ November 24, 2006: Message edited by: Felix Jauch ]
[ November 24, 2006: Message edited by: Felix Jauch ]