Commit Graph

126 Commits

Author SHA1 Message Date
Peter Palaga
4742fe2c45 Next is 0.0.13-SNAPSHOT 2020-11-12 11:13:41 +01:00
Peter Palaga
3d641361e2 Release 0.0.12 2020-11-12 11:13:35 +01:00
Peter Palaga
1b65cade65 Store registry under ~/.m2 where we already have mvnd.properties 2020-11-12 10:12:42 +00:00
Peter Palaga
4afe9057a2 Activate TerminalOutput.noBuffering when -B/--batch-mode is passed via CLI 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
60ea15cfda Revert "Reduce the sleep time"
This reverts commit e40d2bbf26.
2020-11-11 21:53:19 +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
Guillaume Nodet
e40d2bbf26 Reduce the sleep time 2020-11-11 20:20:52 +01:00
Guillaume Nodet
a96616a751 Do not pass the maxKeepAlive as a parameter 2020-11-11 20:20:52 +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
Guillaume Nodet
0800aeb791 Implement build cancelation, fixes #127 2020-11-10 18:20:03 +00:00
Peter Palaga
734fe6a71b Log env resolution at TRACE 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
Peter Palaga
3e920024ae Remove unneeded method from DaemonClientConnection 2020-11-06 22:05:52 +00:00
Peter Palaga
cd3e285135 No need to pass a lazy DaemonParameters to DefaultClient 2020-11-06 22:05:52 +00:00
Peter Palaga
838691641b Make DaemonParameters immutable 2020-11-06 22:05:52 +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
7e6e127f92 Move some classes from org.apache.maven to org.jboss.fuse.mvnd 2020-11-06 10:04:58 +01:00
Guillaume Nodet
b78d4c6a0a Pass the mvnd.daemon.storage system property to the daemon as it is used to store daemon log events 2020-11-06 10:04:32 +01:00
Guillaume Nodet
4030f8b5a4 Refactor usage of properties in the client / daemon, fixes #188 2020-11-05 19:42:46 +00:00
Peter Palaga
bb44e7e509 Await idle before the second execution in ExtensionsNativeIT 2020-11-03 21:37:22 +00:00
Guillaume Nodet
39dff61060 Should support core extensions #114 2020-11-02 16:43:41 +01:00
Guillaume Nodet
a95ac9e4dc Fail fast if the daemon can not be started, fixes #162 2020-11-02 16:37:15 +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
a9e9b7997f More fine grained status on build start 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
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
4dfd9e87ef Upgrade to jline 3.17.1 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
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
6cbd5be8b6 Killed or crashed daemon process kept in the registry until mvnd --stop is called #154 2020-10-27 12:28:15 +00:00
Peter Palaga
59a9bbad5b mvnd native executable is not passing -Dkey=val to the daemon #157 2020-10-27 10:38:34 +00:00
Peter Palaga
76bdd203de Improve the error message that reports a daemon crash 2020-10-26 23:42:15 +00:00
Guillaume Nodet
433d4144e3 Upgrade to jansi 2.0, fix windows output 2020-10-26 21:59:41 +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
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
02eed95132 wmic process where processid=<pid> get WorkingSetSize returns a value in bytes 2020-10-23 23:09:58 +02:00