- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for printDaemonStarted (0.19 sec)
-
platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/bootstrap/DaemonGreeterTest.groovy
def printStream = new PrintStream(outputStream) printStream.print("""hey joe! another line of output... """) new DaemonStartupCommunication().printDaemonStarted(printStream, 12, "uid", address, new File("12.log")) def output = new String(outputStream.toByteArray()) when: def daemonStartupInfo = new DaemonGreeter(registry).parseDaemonOutput(output, args)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 2.7K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/bootstrap/DaemonStartupCommunicationSpec.groovy
def outputStream = new ByteArrayOutputStream() def printStream = new PrintStream(outputStream) def address = new MultiChoiceAddress(addressId, port, addresses) comm.printDaemonStarted(printStream, pid, daemonId, address, logFile) return new String(outputStream.toByteArray()) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 2.5K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/bootstrap/DaemonStartupCommunication.java
public class DaemonStartupCommunication { private static final Logger LOGGER = Logging.getLogger(DaemonStartupCommunication.class); @SuppressWarnings("DefaultCharset") public void printDaemonStarted(PrintStream target, Long pid, String uid, Address address, File daemonLog) { // Encode as ascii ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream(); try {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 06:47:38 UTC 2024 - 4.7K bytes - Viewed (0) -
platforms/core-runtime/daemon-server/src/main/java/org/gradle/launcher/daemon/bootstrap/DaemonMain.java
} protected void daemonStarted(Long pid, String uid, Address address, File daemonLog) { // directly printing to the stream to avoid log level filtering. new DaemonStartupCommunication().printDaemonStarted(originalOut, pid, uid, address, daemonLog); try { originalOut.close(); originalErr.close(); } finally { originalOut = null; originalErr = null;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:15 UTC 2024 - 9.8K bytes - Viewed (0)