> On Thu, Aug 15, 2024 at 4:06 PM Eirik Bakke <eba...@ultorg.com.invalid>
> wrote:
> > What is the recommended alternative to Compile-on-Save, for Maven-based
> > NetBeans Platform applications? I’ll be happy to give it a try on my own
> > project and report back…

Not sure!  Depends where you feel the bottlenecks are I guess?  I
never noticed much benefit to using CoS and lost too much time to
problems it was causing that I gave up on it a long time ago.

For me the right answer is somewhere at the Maven level, not in the
IDE - eg. https://www.baeldung.com/maven-fast-build

Some things cause minor issues with the UI.  We'd be better
concentrating on those and configuration options then CoS in my
opinion.  You can try Maven Daemon directly (or possibly via Maven
Wrapper), if you're not doing already?  Personally I'm in favour of
using the wrapper in every project anyway.

On Thu, 15 Aug 2024 at 23:44, Scott Palmer <swpal...@gmail.com> wrote:
> One option is to switch to Gradle and use continuous builds (see
> https://docs.gradle.org/current/userguide/continuous_builds.html ).  Yeah,
> I know a switch to Gradle may not be a realistic option in some situations

Including this one.  Which will at least save the hours of work,
frustration and regret! ;-)

> Having said that, some kind of integrated support for continuous builds in
> the IDE may be desirable.

As someone who's working on tools that do live code updates, I may
have surprisingly mixed feelings about that one.  I'm not sure that in
"normal" coding there is such a correlation in my mind between saving
state and running a task, and it's just an extra keypress away.
Still, this is one area the IDE could be enhanced further in the
configuration and triggering of on-save actions?  The IDE is in a
better position than anything based on file listening to know what it
is doing.

Best wishes,

Neil

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Reply via email to