Commit Graph

136 Commits

Author SHA1 Message Date
Peter Palaga
a0e94a2e6c Make TerminalOutput.dumb final 2020-11-12 09:48:46 +00:00
Guillaume Nodet
c83f7045d6 Use org.mvndaemon package 2020-11-12 09:22:26 +01:00
Guillaume Nodet
c8c5d08e1f Property to configure the default rolling window size (defaults to 2) 2020-11-12 09:22:26 +01:00
Guillaume Nodet
d44e3201e0 Fix the readInputLoop so that messages are all delivered and processed in the main thread 2020-11-12 00:40:26 +01:00
Guillaume Nodet
e397627376 Non daemon option, fixes #43 2020-11-11 22:09:26 +01:00
Guillaume Nodet
c5e56d0b35 Improve display with an easy opt-out option and support for dumb terminals, fixes #116 and #131 2020-11-11 21:27:03 +01:00
Peter Palaga
52f46a3e90 Enforce assertions in the native image so that we can remove volatile from some TerminalOutput fields 2020-11-11 11:16:13 +00:00
Peter Palaga
45b8d6c56f Padd the status line elements so that they do not move left and right as the build is progressing 2020-11-11 11:16:13 +00:00
Peter Palaga
66e43362cc Reduce the number of Message subclasses 2020-11-10 20:11:12 +00:00
Guillaume Nodet
0800aeb791 Implement build cancelation, fixes #127 2020-11-10 18:20:03 +00:00
Guillaume Nodet
2b6f604d5e Fix final output 2020-11-09 21:00:55 +00:00
Peter Palaga
03d6d49e7b Client: have just one event queue and one consuming thread #133 2020-11-09 21:00:55 +00:00
Peter Palaga
243fceae9c Simplify reporting of terminal info 2020-11-09 21:00:55 +00:00
Guillaume Nodet
2a0ed8f554 Support for interactive prompts, fixes #180 2020-11-06 20:31:27 +01:00
Guillaume Nodet
97cde29e84 Allow passing additional jvm args to the daemon, fixes #174 2020-11-06 09:37:08 +00:00
Guillaume Nodet
4030f8b5a4 Refactor usage of properties in the client / daemon, fixes #188 2020-11-05 19:42:46 +00:00
Guillaume Nodet
1bd016a5d0 Add JVM memory expiration checks, use a specific timeout for checks 2020-11-04 11:53:27 +01:00
Guillaume Nodet
39dff61060 Should support core extensions #114 2020-11-02 16:43:41 +01:00
Guillaume Nodet
5b5eab4908 Avoid possible NPE when deserializing a BuildException 2020-11-02 16:36:36 +01:00
Peter Palaga
96b8730e62 Separate BuildStarted message to avoid serializing via Propertries.[load|write]() 2020-11-01 21:41:26 +00:00
Peter Palaga
8452440c51 Less message classes, more singletons 2020-11-01 15:58:23 +00:00
Peter Palaga
fcce52cbd4 User's preference for -T can be stored as mvnd.threads in ~/.m2/mvnd.properties #132 2020-10-31 23:06:05 +00:00
Peter Palaga
652576332a Next is 0.0.12-SNAPSHOT 2020-10-29 12:10:03 +01:00
Peter Palaga
99eda59ce3 Release 0.0.11 2020-10-29 12:09:57 +01:00
Guillaume Nodet
6541d85f58 Cygwin support, fixes #156 2020-10-29 11:35:54 +01:00
Peter Palaga
a9a3e907ee Improve terminal output
* Say 'Looking for daemon...' straight ahead to elliminate the initial
  lag
* Present 'hidden' threads along with used/max threads instead of
  'n more'
* Print project name in bold even if no mojo is present in the line
* Be consistent about printing project artifactIds in bold also when
  lines are hidden
* The righ status line is present also when lines are hidden
2020-10-28 23:37:44 +00:00
Guillaume Nodet
aaf4018441 Fix formatting 2020-10-28 15:35:27 +01:00
Guillaume Nodet
e24562c343 Also display diagnostics when the client can not connect to the daemon 2020-10-28 15:34:46 +01:00
Guillaume Nodet
a2a9d5eedf mvnd-common targets JDK 8, so remove JDK 11 specifics 2020-10-28 15:34:46 +01:00
Guillaume Nodet
c6b27261db Display the daemon output along the log when diagnosing a daemon failure 2020-10-28 15:34:46 +01:00
Peter Palaga
a805c07a31 ProjectBuildLogAppender not found when starting the daemon #165 2020-10-27 15:20:13 +00:00
Peter Palaga
c2bf936295 Fixup e33f3fca serialization of long (> 64k) strings, fixes #155 2020-10-26 23:42:15 +00:00
Guillaume Nodet
e33f3fcac9 Fix serialization of long (> 64k) strings, fixes #155 2020-10-26 22:37:58 +01:00
Guillaume Nodet
64ab26b987 Add terminal information when displaying the version 2020-10-26 15:23:10 +01:00
Peter Palaga
b78adaf29d Next is 0.0.11-SNAPSHOT 2020-10-26 10:18:21 +01:00
Peter Palaga
29d4380736 Release 0.0.10 2020-10-26 10:18:15 +01:00
Peter Palaga
73e8a9acb3 mvnd --status throws NumberFormatException in 0.0.9 #147 2020-10-26 08:13:40 +00:00
Peter Palaga
a248678300 Next is 0.0.10-SNAPSHOT 2020-10-25 17:15:18 +01:00
Peter Palaga
6eb0de84d3 Release 0.0.9 2020-10-25 17:15:18 +01:00
Peter Palaga
a71033cc94 Remove the superfluous Serializer interface and its implemetation 2020-10-25 11:30:17 +00:00
Peter Palaga
87a94dac10 Do not add mvnd-client.jar to daemon's class path 2020-10-24 14:40:11 +01:00
Peter Palaga
02eed95132 wmic process where processid=<pid> get WorkingSetSize returns a value in bytes 2020-10-23 23:09:58 +02:00
Peter Palaga
bc2fabe788 Polish client status line 2020-10-23 17:20:37 +01:00
Peter Palaga
04fda24982 mvnd --status to display memory usage #129 2020-10-23 17:01:53 +02:00
Peter Palaga
4392dd6b3d Test with two threads at least #128 2020-10-23 14:01:30 +02:00
Guillaume Nodet
22f608d5b4 Implement a keep-alive strategy to detect stales connections, fixes #47 2020-10-22 17:44:44 +02:00
Peter Palaga
aff9d8f222 Merge pull request #125 from gnodet/env-check
Display warning in case of environment mismatch #122
2020-10-22 16:25:25 +02:00
Guillaume Nodet
af762d5721 Display warning in case of environment mismatch #122 2020-10-22 15:27:38 +02:00
Guillaume Nodet
73281d91e0 Better display of the message when creating a new daemon 2020-10-22 15:04:18 +02:00
Guillaume Nodet
7d60a403fd Fix default logback configuration file 2020-10-22 13:10:28 +02:00