- version updated
- .configure moved to src/bin directory - UTF-8 decoder for filepath git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@185 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
This commit is contained in:
@@ -49,7 +49,7 @@
|
||||
</javadoc>
|
||||
</target>
|
||||
|
||||
<target name="distribute" depends="javadoc, jar" description="--> Distribute to server">
|
||||
<target name="distribute" depends="jar, javadoc" description="--> Distribute to server">
|
||||
<echo message="\\www-server\web must be mapped to W:" />
|
||||
<echo message="copy jar file to server" />
|
||||
<copy file="${project.dir.lib}/${project.jarfile}" todir="${project.server.dir.bin}" />
|
||||
|
||||
@@ -3,6 +3,7 @@ package ch.ntb.usb.logger;
|
||||
import java.io.FileInputStream;
|
||||
import java.io.FileNotFoundException;
|
||||
import java.net.URL;
|
||||
import java.net.URLDecoder;
|
||||
import java.util.Properties;
|
||||
import java.util.logging.ConsoleHandler;
|
||||
import java.util.logging.Handler;
|
||||
@@ -60,7 +61,8 @@ public class LogUtil {
|
||||
if (url == null)
|
||||
throw new FileNotFoundException(PROPERTIES_FILE
|
||||
+ " not found -> file must be on classpath");
|
||||
FileInputStream fis = new FileInputStream(url.getFile());
|
||||
String filename = URLDecoder.decode(url.getPath(), "UTF-8");
|
||||
FileInputStream fis = new FileInputStream(filename);
|
||||
Properties prop = new Properties();
|
||||
prop.load(fis);
|
||||
// get global debug enable flag
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#Thu Aug 24 14:28:28 CEST 2006
|
||||
version.major=0
|
||||
version.minor=2
|
||||
version.minor=3
|
||||
version.release=0
|
||||
|
||||
Reference in New Issue
Block a user