figuring out, what is wrong with maven-built jar
This commit is contained in:
2
pom.xml
2
pom.xml
@@ -4,7 +4,7 @@
|
|||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>de.srsoftware</groupId>
|
<groupId>de.srsoftware</groupId>
|
||||||
<artifactId>web4rail</artifactId>
|
<artifactId>web4rail</artifactId>
|
||||||
<version>0.11.15</version>
|
<version>0.11.16</version>
|
||||||
<name>Web4Rail</name>
|
<name>Web4Rail</name>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
<description>Java Model Railway Control</description>
|
<description>Java Model Railway Control</description>
|
||||||
|
|||||||
@@ -211,6 +211,8 @@ public class Application extends BaseClass{
|
|||||||
OutputStream out = client.getResponseBody();
|
OutputStream out = client.getResponseBody();
|
||||||
FileInputStream in = new FileInputStream(file);
|
FileInputStream in = new FileInputStream(file);
|
||||||
in.transferTo(out);
|
in.transferTo(out);
|
||||||
|
out.flush();
|
||||||
|
LOG.debug("transferred file");
|
||||||
in.close();
|
in.close();
|
||||||
out.close();
|
out.close();
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user