mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-21 23:20:23 +00:00
Release 0.0.2.0
This commit is contained in:
parent
4216528a87
commit
7b169a33b3
6 changed files with 13 additions and 13 deletions
|
@ -181,7 +181,7 @@ public abstract class BeaconConnection implements AutoCloseable {
|
|||
|
||||
private BeaconException unwrapException(Exception exception) {
|
||||
if (exception instanceof ServerException s) {
|
||||
return new BeaconException("And internal server error occurred", s.getCause());
|
||||
return new BeaconException("An internal server error occurred", s.getCause());
|
||||
}
|
||||
|
||||
if (exception instanceof ClientException s) {
|
||||
|
|
|
@ -37,7 +37,7 @@ public class BeaconServer {
|
|||
var command = custom + " " + (BeaconConfig.getDaemonArguments() != null ?
|
||||
BeaconConfig.getDaemonArguments() :
|
||||
"");
|
||||
Process process = Runtime.getRuntime().exec(command);
|
||||
Process process = Runtime.getRuntime().exec(command);
|
||||
printDaemonOutput(process, command);
|
||||
return process;
|
||||
}
|
||||
|
@ -51,7 +51,7 @@ public class BeaconServer {
|
|||
BeaconConfig.getDaemonArguments() :
|
||||
"");
|
||||
// Tell daemon that we launched from an external tool
|
||||
Process process = Runtime.getRuntime().exec(command);
|
||||
Process process = Runtime.getRuntime().exec(command);
|
||||
printDaemonOutput(process, command);
|
||||
return process;
|
||||
}
|
||||
|
@ -65,17 +65,15 @@ public class BeaconServer {
|
|||
System.out.println("Starting daemon: " + command);
|
||||
}
|
||||
|
||||
if (!print) {
|
||||
return;
|
||||
}
|
||||
|
||||
new Thread(null, () -> {
|
||||
try {
|
||||
InputStreamReader isr = new InputStreamReader(proc.getInputStream());
|
||||
BufferedReader br = new BufferedReader(isr);
|
||||
String line;
|
||||
while ((line = br.readLine()) != null) {
|
||||
System.out.println("[xpiped] " + line);
|
||||
if (print) {
|
||||
System.out.println("[xpiped] " + line);
|
||||
}
|
||||
}
|
||||
} catch (Exception ioe) {
|
||||
ioe.printStackTrace();
|
||||
|
@ -88,7 +86,9 @@ public class BeaconServer {
|
|||
BufferedReader br = new BufferedReader(isr);
|
||||
String line;
|
||||
while ((line = br.readLine()) != null) {
|
||||
System.err.println("[xpiped] " + line);
|
||||
if (print) {
|
||||
System.err.println("[xpiped] " + line);
|
||||
}
|
||||
}
|
||||
} catch (Exception ioe) {
|
||||
ioe.printStackTrace();
|
||||
|
@ -132,7 +132,7 @@ public class BeaconServer {
|
|||
Path executable = null;
|
||||
if (!debug) {
|
||||
if (System.getProperty("os.name").startsWith("Windows")) {
|
||||
executable = Path.of("app", "xpiped.exe");
|
||||
executable = Path.of("app", "runtime", "bin", "xpiped.bat");
|
||||
} else {
|
||||
executable = Path.of("app/bin/xpiped");
|
||||
}
|
||||
|
|
2
deps
2
deps
|
@ -1 +1 @@
|
|||
Subproject commit 5ec6b963c1fd0b435dddc28b76caed019d7b9c25
|
||||
Subproject commit 2fe3d49953de977f50540e677f61b2463b1e8b82
|
|
@ -49,7 +49,6 @@ public interface Validator {
|
|||
/** Create a string property that depends on the validation result.
|
||||
* @param prefix The string to prefix each validation message with
|
||||
* @param separator The string to separate consecutive validation messages with
|
||||
* @param severities The severities to consider; If none is given, only Severity.ERROR will be considered
|
||||
* @return
|
||||
*/
|
||||
public StringBinding createStringBinding(String prefix, String separator);
|
||||
|
|
1
misc/changelogs/0.0.2.0.txt
Normal file
1
misc/changelogs/0.0.2.0.txt
Normal file
|
@ -0,0 +1 @@
|
|||
Many fixes to get the API into a stable state.
|
|
@ -1 +1 @@
|
|||
0.0.1.6-SNAPSHOT
|
||||
0.0.2.0
|
Loading…
Reference in a new issue