OK, having consulted my pillow I agree with the callback solution.

We then support two use cases (which is great):

  1.  Deploy from Classpath and reload on every class change (reload-goals can 
be empty then)
  2.  Deploy from WAR and build and reload on every class change (in 
combination with reload-goals). target/classes should be added to the watcher 
in that case (it is automatically done in the first case)

I'll add the tests and push the stuff to master. I also document the two 
scenarios.

Shouldn't we have more sensible defaults for the two cases? I.e. a property 
auto-reload that does a correct setup for both scenarios (setting 
watcher-bouncing to a value greater that 0 and when useClasspathDeployment is 
false, setup reload goals and target/classes)? Or should we even add a new goal

meecrowave:dev

which sets up auto-reloading depending on useClasspathDeployment (and probably 
also setting webResourceCached to false)?

That would be a separate commit though.

Cheers,
Arne

--

Arne Limburg - Enterprise Architekt




OPEN KNOWLEDGE GmbH
Poststraße 1, 26122 Oldenburg
Mobil: +49 151 - 108 22 942
Tel: +49 441 - 4082-154
Fax: +49 441 - 4082-111
arne.limb...@openknowledge.de
www.openknowledge.de <https://www.openknowledge.de/>

Registergericht: Amtsgericht Oldenburg, HRB 4670
Geschäftsführer: Lars Röwekamp, Jens Schumann

Treffen Sie uns auf kommenden Konferenzen und Workshops:

Zu unseren Events<https://www.openknowledge.de/event/>





________________________________
Von: Romain Manni-Bucau <rmannibu...@gmail.com>
Gesendet: Mittwoch, 12. Mai 2021 22:36
An: openwebbeans-dev
Betreff: Re: [DISCUSS] MEECROWAVE-290 - Enable class-reloading for meecowave 
maven plugin

Clearly for option2 with no new mojo config, no classloader partial support
only.
I'd just ensure backward compat in deployment meta and add a test for
webapp and classpath modes.

Le mer. 12 mai 2021 à 21:56, Arne Limburg <arne.limb...@openknowledge.de> a
écrit :

> Hi Romain,
>
>
> I have implemented three variants of the solution:
>
> -
> github.com/ArneLimburg/openwebbeans-meecrowave/tree/MEECROWAVE-290-reload-classes
>
> -
> github.com/ArneLimburg/openwebbeans-meecrowave/tree/MEECROWAVE-290-callback
>
> - github.com/ArneLimburg/openwebbeans-meecrowave/tree/MEECROWAVE-290-flag
>
>
> The first is the one with the config property, the second is with a reload
> callack and the third is a flag in DeploymentMeta.
>
> I personally like the third variant most. And we can configure it such
> that it reloads the classes just for the deployClasspath case (isn't
> implemented yet), which is the only case where it really makes sense.
>
> But we also can go with the second solution if you want.
>
>
> Btw.: I just want to handle the case where the IDE is configured to
> directly compile to target/classes and want to trigger an automated reload
> then.
>
>
> --
>
> Arne Limburg - Enterprise Architekt
>
>
>
>
> OPEN KNOWLEDGE GmbH
> Poststraße 1, 26122 Oldenburg
> Mobil: +49 151 - 108 22 942
> Tel: +49 441 - 4082-154
> Fax: +49 441 - 4082-111
> arne.limb...@openknowledge.de
> www.openknowledge.de<http://www.openknowledge.de> 
> <https://www.openknowledge.de/>
OPEN KNOWLEDGE GmbH<http://www.openknowledge.de/>
www.openknowledge.de
OPEN KNOWLEDGE GmbH steht für agile Softwareentwicklung und IT-Beratung mit 
Expertise in den Bereichen Enterprise und Cloud Computing. Standorte sind 
Oldenburg (Niedersachsen) und Essen (Nordrhein-Westfalen).

OPEN KNOWLEDGE GmbH<https://www.openknowledge.de/>
www.openknowledge.de
OPEN KNOWLEDGE GmbH steht für agile Softwareentwicklung und IT-Beratung mit 
Expertise in den Bereichen Enterprise und Cloud Computing. Standorte sind 
Oldenburg (Niedersachsen) und Essen (Nordrhein-Westfalen).


>
> Registergericht: Amtsgericht Oldenburg, HRB 4670
> Geschäftsführer: Lars Röwekamp, Jens Schumann
>
> Treffen Sie uns auf kommenden Konferenzen und Workshops:
>
> Zu unseren Events<https://www.openknowledge.de/event/>
Events | OPEN KNOWLEDGE GmbH<https://www.openknowledge.de/event/>
www.openknowledge.de
OPEN KNOWLEDGE GmbH steht für agile Softwareentwicklung und IT-Beratung mit 
Expertise in den Bereichen Enterprise und Cloud Computing. Standorte sind 
Oldenburg (Niedersachsen) und Essen (Nordrhein-Westfalen).


>
>
>
>
>
> ________________________________
> Von: Arne Limburg <arne.limb...@openknowledge.de>
> Gesendet: Mittwoch, 12. Mai 2021 21:11
> An: openwebbeans-dev
> Betreff: AW: [DISCUSS] MEECROWAVE-290 - Enable class-reloading for
> meecowave maven plugin
>
> Hi Romain,
>
>
> where would you put such callback?
>
> Put in in the class Meecrowave which would delegate it to
> MeecrowaveContextConfig, which then would delegate it to
> ReloadOnChangeController?
>
>
> Cheers,
>
> Arne
>
>
> --
>
> Arne Limburg - Enterprise Architekt
>
>
>
>
> OPEN KNOWLEDGE GmbH
> Poststraße 1, 26122 Oldenburg
> Mobil: +49 151 - 108 22 942
> Tel: +49 441 - 4082-154
> Fax: +49 441 - 4082-111
> arne.limb...@openknowledge.de
> www.openknowledge.de<http://www.openknowledge.de<http://www.openknowledge.de<http://www.openknowledge.de>>
>  <
> https://www.openknowledge.de/>
> OPEN KNOWLEDGE GmbH<https://www.openknowledge.de/>
> www.openknowledge.de<http://www.openknowledge.de>
> OPEN KNOWLEDGE GmbH steht für agile Softwareentwicklung und IT-Beratung
> mit Expertise in den Bereichen Enterprise und Cloud Computing. Standorte
> sind Oldenburg (Niedersachsen) und Essen (Nordrhein-Westfalen).
>
> OPEN KNOWLEDGE GmbH<http://www.openknowledge.de/>
> www.openknowledge.de<http://www.openknowledge.de>
> OPEN KNOWLEDGE GmbH steht für agile Softwareentwicklung und IT-Beratung
> mit Expertise in den Bereichen Enterprise und Cloud Computing. Standorte
> sind Oldenburg (Niedersachsen) und Essen (Nordrhein-Westfalen).
>
>
>
> Registergericht: Amtsgericht Oldenburg, HRB 4670
> Geschäftsführer: Lars Röwekamp, Jens Schumann
>
> Treffen Sie uns auf kommenden Konferenzen und Workshops:
>
> Zu unseren Events<https://www.openknowledge.de/event/>
> Events | OPEN KNOWLEDGE GmbH<https://www.openknowledge.de/event/>
> www.openknowledge.de<http://www.openknowledge.de>
> OPEN KNOWLEDGE GmbH steht für agile Softwareentwicklung und IT-Beratung
> mit Expertise in den Bereichen Enterprise und Cloud Computing. Standorte
> sind Oldenburg (Niedersachsen) und Essen (Nordrhein-Westfalen).
>
>
>
>
>
>
>
> ________________________________
> Von: Romain Manni-Bucau <rmannibu...@gmail.com>
> Gesendet: Mittwoch, 12. Mai 2021 15:52
> An: openwebbeans-dev
> Betreff: Re: [DISCUSS] MEECROWAVE-290 - Enable class-reloading for
> meecowave maven plugin
>
> Le mer. 12 mai 2021 à 15:00, Arne Limburg <arne.limb...@openknowledge.de>
> a
> écrit :
>
> > Hi Romain,
> >
> >
> > The only reason, I did not implement it in the Mojo was, that I could not
> > find an easy way to do it.
> >
> > Do you suggest to throw away the ReloadOnChangeController (or move it to
> > the maven plugin),
> >
>
> setReloadCallback(Runnable) sounds like a less radical impl.
>
>
> >
> > implement file-watching in the mojo and then do reloading in the same way
> > we do it with the "reload" command from System.in?
> >
> > My first approaches doing it that way ended up in endless reloading of
> the
> > context, because the maven build itself triggered the watcher.
> >
>
> setReloadCallback(() -> { if (reloading.get()) {return;}
> reloading.set(true);try {reload();}finally{reloading.set(false);} })
>
> + small debouncing i guess?
>
>
>
> >
> > But that can be circumvented somehow.
> >
> >
> > Basically my current implementation does the same stuff in the
> > ReloadOnChangeChontroller that is currently done in the Mojo on reload.
> >
>
> Hmm , generally speaking
>
> https://smex-ctp.trendmicro.com:443/wis/clicktime/v1/query?url=https%3a%2f%2fgithub.com%2fArneLimburg%2fopenwebbeans%2dmeecrowave%2fcommit%2f03b1b3614f63ce3e9255f5c33c779e03aa537245%23diff%2d830d1e256f27a967a495cade9188682a24d3f508e40ce8c5bf8c63f4a39c407eR92&umid=c42ae0ea-1ab7-49d7-973a-2301f37430c1&auth=ab2dbe9a65917e05515ec2a89459f3e450df8ff8-cb3a5ebb69aaaf6604f16ab56ed4c8a40bba1529
> [
> https://opengraph.githubassets.com/4e9321ba47b5df5a4554181389176bf9fc88cec6a1abd629e64e80fdf7159c6a/ArneLimburg/openwebbeans-meecrowave/commit/03b1b3614f63ce3e9255f5c33c779e03aa537245
> ]<
> https://smex-ctp.trendmicro.com/wis/clicktime/v1/query?url=https%3a%2f%2fgithub.com%2fArneLimburg%2fopenwebbeans%2dmeecrowave%2fcommit%2f03b1b3614f63ce3e9255f5c33c779e03aa537245%23diff%2d830d1e256f27a967a495cade9188682a24d3f508e40ce8c5bf8c63f4a39c407eR92&umid=c42ae0ea-1ab7-49d7-973a-2301f37430c1&auth=ab2dbe9a65917e05515ec2a89459f3e450df8ff8-cb3a5ebb69aaaf6604f16ab56ed4c8a40bba1529
> >
>
> MEECROWAVE-290: Add 'reloadClasses' config property and implement rel… ·
> ArneLimburg/openwebbeans-meecrowave@03b1b36 · GitHub<
> https://smex-ctp.trendmicro.com/wis/clicktime/v1/query?url=https%3a%2f%2fgithub.com%2fArneLimburg%2fopenwebbeans%2dmeecrowave%2fcommit%2f03b1b3614f63ce3e9255f5c33c779e03aa537245%23diff%2d830d1e256f27a967a495cade9188682a24d3f508e40ce8c5bf8c63f4a39c407eR92&umid=c42ae0ea-1ab7-49d7-973a-2301f37430c1&auth=ab2dbe9a65917e05515ec2a89459f3e450df8ff8-cb3a5ebb69aaaf6604f16ab56ed4c8a40bba1529
> >
> smex-ctp.trendmicro.com
> Apache OpenWebBeans meecrowave. Contribute to
> ArneLimburg/openwebbeans-meecrowave development by creating an account on
> GitHub.
>
>
> [
> https://opengraph.githubassets.com/4e9321ba47b5df5a4554181389176bf9fc88cec6a1abd629e64e80fdf7159c6a/ArneLimburg/openwebbeans-meecrowave/commit/03b1b3614f63ce3e9255f5c33c779e03aa537245
> ]<
> https://smex-ctp.trendmicro.com:443/wis/clicktime/v1/query?url=https%3a%2f%2fgithub.com%2fArneLimburg%2fopenwebbeans%2dmeecrowave%2fcommit%2f03b1b3614f63ce3e9255f5c33c779e03aa537245%23diff%2d830d1e256f27a967a495cade9188682a24d3f508e40ce8c5bf8c63f4a39c407eR92&umid=c42ae0ea-1ab7-49d7-973a-2301f37430c1&auth=ab2dbe9a65917e05515ec2a89459f3e450df8ff8-cb3a5ebb69aaaf6604f16ab56ed4c8a40bba1529
> >
>
> MEECROWAVE-290: Add 'reloadClasses' config property and implement rel… ·
> ArneLimburg/openwebbeans-meecrowave@03b1b36 · GitHub<
> https://smex-ctp.trendmicro.com:443/wis/clicktime/v1/query?url=https%3a%2f%2fgithub.com%2fArneLimburg%2fopenwebbeans%2dmeecrowave%2fcommit%2f03b1b3614f63ce3e9255f5c33c779e03aa537245%23diff%2d830d1e256f27a967a495cade9188682a24d3f508e40ce8c5bf8c63f4a39c407eR92&umid=c42ae0ea-1ab7-49d7-973a-2301f37430c1&auth=ab2dbe9a65917e05515ec2a89459f3e450df8ff8-cb3a5ebb69aaaf6604f16ab56ed4c8a40bba1529
> >
> [
> https://opengraph.githubassets.com/4e9321ba47b5df5a4554181389176bf9fc88cec6a1abd629e64e80fdf7159c6a/ArneLimburg/openwebbeans-meecrowave/commit/03b1b3614f63ce3e9255f5c33c779e03aa537245
> ]<
> https://smex-ctp.trendmicro.com/wis/clicktime/v1/query?url=https%3a%2f%2fgithub.com%2fArneLimburg%2fopenwebbeans%2dmeecrowave%2fcommit%2f03b1b3614f63ce3e9255f5c33c779e03aa537245%23diff%2d830d1e256f27a967a495cade9188682a24d3f508e40ce8c5bf8c63f4a39c407eR92&umid=c42ae0ea-1ab7-49d7-973a-2301f37430c1&auth=ab2dbe9a65917e05515ec2a89459f3e450df8ff8-cb3a5ebb69aaaf6604f16ab56ed4c8a40bba1529
> >
>
> MEECROWAVE-290: Add 'reloadClasses' config property and implement rel… ·
> ArneLimburg/openwebbeans-meecrowave@03b1b36 · GitHub<
> https://smex-ctp.trendmicro.com/wis/clicktime/v1/query?url=https%3a%2f%2fgithub.com%2fArneLimburg%2fopenwebbeans%2dmeecrowave%2fcommit%2f03b1b3614f63ce3e9255f5c33c779e03aa537245%23diff%2d830d1e256f27a967a495cade9188682a24d3f508e40ce8c5bf8c63f4a39c407eR92&umid=c42ae0ea-1ab7-49d7-973a-2301f37430c1&auth=ab2dbe9a65917e05515ec2a89459f3e450df8ff8-cb3a5ebb69aaaf6604f16ab56ed4c8a40bba1529
> >
> smex-ctp.trendmicro.com
> Apache OpenWebBeans meecrowave. Contribute to
> ArneLimburg/openwebbeans-meecrowave development by creating an account on
> GitHub.
>
>
> github.com
> Apache OpenWebBeans meecrowave. Contribute to
> ArneLimburg/openwebbeans-meecrowave development by creating an account on
> GitHub.
>
>
> rarely works since it is only about embedded case and reload will
> stop.start the classloader anyway.
> What I can see missing is target/classes if not built before launching the
> first time. I don't think we need to handle that case but if you want you
> can just do an addUrl or addRepository on the classloader I guess.
> Note that thread.setContextClassLoader shouldn't be done (seems you only do
> to getContextClassLoader after) cause it can break but setting the
> classloader can be on the context (same as you do except thread is not
> touched).
> An option can be to let the Loader handle the lifecycle properly instead of
> using providedLoader, this way reload will work - but once again, only for
> deployclasspath case and not webapp cases.
>
> Hope it makes sense.
>
>
> >
> >
> > Cheers,
> >
> > Arne
> >
> >
> > --
> >
> > Arne Limburg - Enterprise Architekt
> >
> >
> >
> >
> > OPEN KNOWLEDGE GmbH
> > Poststraße 1, 26122 Oldenburg
> > Mobil: +49 151 - 108 22 942
> > Tel: +49 441 - 4082-154
> > Fax: +49 441 - 4082-111
> > arne.limb...@openknowledge.de
> > www.openknowledge.de<http://www.openknowledge.de<<http://www.openknowledge.de<http://www.openknowledge.de<>
> http://www.openknowledge.de<http://www.openknowledge.de>> <
> https://www.openknowledge.de/>
> OPEN KNOWLEDGE GmbH<https://www.openknowledge.de/>
> www.openknowledge.de<http://www.openknowledge.de<http://www.openknowledge.de<http://www.openknowledge.de>>
> OPEN KNOWLEDGE GmbH steht für agile Softwareentwicklung und IT-Beratung
> mit Expertise in den Bereichen Enterprise und Cloud Computing. Standorte
> sind Oldenburg (Niedersachsen) und Essen (Nordrhein-Westfalen).
>
> OPEN KNOWLEDGE GmbH<http://www.openknowledge.de/>
> www.openknowledge.de<http://www.openknowledge.de<http://www.openknowledge.de<http://www.openknowledge.de>>
> OPEN KNOWLEDGE GmbH steht für agile Softwareentwicklung und IT-Beratung
> mit Expertise in den Bereichen Enterprise und Cloud Computing. Standorte
> sind Oldenburg (Niedersachsen) und Essen (Nordrhein-Westfalen).
>
>
> >
> > Registergericht: Amtsgericht Oldenburg, HRB 4670
> > Geschäftsführer: Lars Röwekamp, Jens Schumann
> >
> > Treffen Sie uns auf kommenden Konferenzen und Workshops:
> >
> > Zu unseren Events<https://www.openknowledge.de/event/>
> Events | OPEN KNOWLEDGE GmbH<https://www.openknowledge.de/event/>
> www.openknowledge.de<http://www.openknowledge.de<http://www.openknowledge.de<http://www.openknowledge.de>>
> OPEN KNOWLEDGE GmbH steht für agile Softwareentwicklung und IT-Beratung
> mit Expertise in den Bereichen Enterprise und Cloud Computing. Standorte
> sind Oldenburg (Niedersachsen) und Essen (Nordrhein-Westfalen).
>
>
> >
> >
> >
> >
> >
> > ________________________________
> > Von: Romain Manni-Bucau <rmannibu...@gmail.com>
> > Gesendet: Mittwoch, 12. Mai 2021 14:46
> > An: openwebbeans-dev
> > Betreff: Re: [DISCUSS] MEECROWAVE-290 - Enable class-reloading for
> > meecowave maven plugin
> >
> > Hi Arne,
> >
> > What about the proposal on jira?
> > Idea is we already have redeploy command but currently it is made
> > incompatible (unsupported) with the watcher.
> > Guess if both are configured we can make both working together, does look
> > way simpler than making the classloading implementation right (you only
> > handled meecrowave custom loader case but not tomcat case + it breaks
> most
> > of cdi usage AFAIK whereas redeploy should stay fast and fully functional
> > without weird case, you loose state but all is "normal" then).
> >
> > wdyt?
> >
> > Romain Manni-Bucau
> > @rmannibucau <https://twitter.com/rmannibucau> |  Blog
> > <
> >
> https://smex-ctp.trendmicro.com:443/wis/clicktime/v1/query?url=https%3a%2f%2frmannibucau.metawerx.net&umid=0d028c0f-486f-4943-b243-bdcf46cf64aa&auth=ab2dbe9a65917e05515ec2a89459f3e450df8ff8-5952a27ec923c46b4afeedc4573484f98112035a
> >
> Index<
> https://smex-ctp.trendmicro.com/wis/clicktime/v1/query?url=https%3a%2f%2frmannibucau.metawerx.net&umid=0d028c0f-486f-4943-b243-bdcf46cf64aa&auth=ab2dbe9a65917e05515ec2a89459f3e450df8ff8-5952a27ec923c46b4afeedc4573484f98112035a
> >
> smex-ctp.trendmicro.com
> An opiniated IT blogging.
>
>
> > | Old Blog
> > Index<
> >
> https://smex-ctp.trendmicro.com/wis/clicktime/v1/query?url=https%3a%2f%2frmannibucau.metawerx.net&umid=0d028c0f-486f-4943-b243-bdcf46cf64aa&auth=ab2dbe9a65917e05515ec2a89459f3e450df8ff8-5952a27ec923c46b4afeedc4573484f98112035a
> Index<
> https://smex-ctp.trendmicro.com/wis/clicktime/v1/query?url=https%3a%2f%2frmannibucau.metawerx.net&umid=0d028c0f-486f-4943-b243-bdcf46cf64aa&auth=ab2dbe9a65917e05515ec2a89459f3e450df8ff8-5952a27ec923c46b4afeedc4573484f98112035a
> >
> smex-ctp.trendmicro.com
> An opiniated IT blogging.
>
>
> > >
> > smex-ctp.trendmicro.com
> > An opiniated IT blogging.
> >
> >
> > <
> >
> https://smex-ctp.trendmicro.com:443/wis/clicktime/v1/query?url=http%3a%2f%2frmannibucau.wordpress.com&umid=0d028c0f-486f-4943-b243-bdcf46cf64aa&auth=ab2dbe9a65917e05515ec2a89459f3e450df8ff8-023c823d4d9689451f2aa2b2324666f53fde1a51
> >
> [
> https://secure.gravatar.com/blavatar/18ef8a5fe8eefd3810b5e9743904d82c?s=200&ts=1620846393
> ]<
> https://smex-ctp.trendmicro.com/wis/clicktime/v1/query?url=http%3a%2f%2frmannibucau.wordpress.com&umid=0d028c0f-486f-4943-b243-bdcf46cf64aa&auth=ab2dbe9a65917e05515ec2a89459f3e450df8ff8-023c823d4d9689451f2aa2b2324666f53fde1a51
> >
>
> New posts here >>> rmannibucau.metawerx.net | New posts here >>>
> https://smex-ctp.trendmicro.com:443/wis/clicktime/v1/query?url=https%3a%2f%2frmannibucau.metawerx.net&umid=c42ae0ea-1ab7-49d7-973a-2301f37430c1&auth=ab2dbe9a65917e05515ec2a89459f3e450df8ff8-53e763c08274be018dd94dc96862211dfa24d20a
> <
> https://smex-ctp.trendmicro.com/wis/clicktime/v1/query?url=http%3a%2f%2frmannibucau.wordpress.com&umid=0d028c0f-486f-4943-b243-bdcf46cf64aa&auth=ab2dbe9a65917e05515ec2a89459f3e450df8ff8-023c823d4d9689451f2aa2b2324666f53fde1a51
> >
> smex-ctp.trendmicro.com
> New posts here >>>
> https://smex-ctp.trendmicro.com:443/wis/clicktime/v1/query?url=https%3a%2f%2frmannibucau.metawerx.net&umid=c42ae0ea-1ab7-49d7-973a-2301f37430c1&auth=ab2dbe9a65917e05515ec2a89459f3e450df8ff8-53e763c08274be018dd94dc96862211dfa24d20a
>
>
> > | Github <
> >
> https://smex-ctp.trendmicro.com:443/wis/clicktime/v1/query?url=https%3a%2f%2fgithub.com%2frmannibucau&umid=0d028c0f-486f-4943-b243-bdcf46cf64aa&auth=ab2dbe9a65917e05515ec2a89459f3e450df8ff8-9f5335456d1eaef8209cd71ee9786d2feacf6a6a
> >
> [https://avatars.githubusercontent.com/u/1249546?v=4?s=400]<
> https://smex-ctp.trendmicro.com/wis/clicktime/v1/query?url=https%3a%2f%2fgithub.com%2frmannibucau&umid=0d028c0f-486f-4943-b243-bdcf46cf64aa&auth=ab2dbe9a65917e05515ec2a89459f3e450df8ff8-9f5335456d1eaef8209cd71ee9786d2feacf6a6a
> >
>
> rmannibucau (Romain Manni-Bucau) · GitHub<
> https://smex-ctp.trendmicro.com/wis/clicktime/v1/query?url=https%3a%2f%2fgithub.com%2frmannibucau&umid=0d028c0f-486f-4943-b243-bdcf46cf64aa&auth=ab2dbe9a65917e05515ec2a89459f3e450df8ff8-9f5335456d1eaef8209cd71ee9786d2feacf6a6a
> >
> smex-ctp.trendmicro.com
> Apache addict I'm involved in several project (OpenWebBeans, Johnzon,
> Geronimo, Meecrowave, ... -
> http://home.apache.org/committer-index.html#rmannibucau). - rmannibucau
>
>
> > |
> > [
> >
> https://secure.gravatar.com/blavatar/18ef8a5fe8eefd3810b5e9743904d82c?s=200&ts=1620823706
> > ]<
> >
> https://smex-ctp.trendmicro.com/wis/clicktime/v1/query?url=http%3a%2f%2frmannibucau.wordpress.com&umid=0d028c0f-486f-4943-b243-bdcf46cf64aa&auth=ab2dbe9a65917e05515ec2a89459f3e450df8ff8-023c823d4d9689451f2aa2b2324666f53fde1a51
> [
> https://secure.gravatar.com/blavatar/18ef8a5fe8eefd3810b5e9743904d82c?s=200&ts=1620846423
> ]<
> https://smex-ctp.trendmicro.com/wis/clicktime/v1/query?url=http%3a%2f%2frmannibucau.wordpress.com&umid=0d028c0f-486f-4943-b243-bdcf46cf64aa&auth=ab2dbe9a65917e05515ec2a89459f3e450df8ff8-023c823d4d9689451f2aa2b2324666f53fde1a51
> >
>
> New posts here >>> rmannibucau.metawerx.net | New posts here >>>
> https://smex-ctp.trendmicro.com:443/wis/clicktime/v1/query?url=https%3a%2f%2frmannibucau.metawerx.net&umid=c42ae0ea-1ab7-49d7-973a-2301f37430c1&auth=ab2dbe9a65917e05515ec2a89459f3e450df8ff8-53e763c08274be018dd94dc96862211dfa24d20a
> <
> https://smex-ctp.trendmicro.com/wis/clicktime/v1/query?url=http%3a%2f%2frmannibucau.wordpress.com&umid=0d028c0f-486f-4943-b243-bdcf46cf64aa&auth=ab2dbe9a65917e05515ec2a89459f3e450df8ff8-023c823d4d9689451f2aa2b2324666f53fde1a51
> >
> smex-ctp.trendmicro.com
> New posts here >>>
> https://smex-ctp.trendmicro.com:443/wis/clicktime/v1/query?url=https%3a%2f%2frmannibucau.metawerx.net&umid=c42ae0ea-1ab7-49d7-973a-2301f37430c1&auth=ab2dbe9a65917e05515ec2a89459f3e450df8ff8-53e763c08274be018dd94dc96862211dfa24d20a
>
>
> > >
> >
> > New posts here >>> rmannibucau.metawerx.net | New posts here >>>
> >
> https://smex-ctp.trendmicro.com:443/wis/clicktime/v1/query?url=https%3a%2f%2frmannibucau.metawerx.net&umid=c42ae0ea-1ab7-49d7-973a-2301f37430c1&auth=ab2dbe9a65917e05515ec2a89459f3e450df8ff8-53e763c08274be018dd94dc96862211dfa24d20a
> <
> >
> https://smex-ctp.trendmicro.com/wis/clicktime/v1/query?url=http%3a%2f%2frmannibucau.wordpress.com&umid=0d028c0f-486f-4943-b243-bdcf46cf64aa&auth=ab2dbe9a65917e05515ec2a89459f3e450df8ff8-023c823d4d9689451f2aa2b2324666f53fde1a51
> > >
> > smex-ctp.trendmicro.com
> > New posts here >>>
> https://smex-ctp.trendmicro.com:443/wis/clicktime/v1/query?url=https%3a%2f%2frmannibucau.metawerx.net&umid=c42ae0ea-1ab7-49d7-973a-2301f37430c1&auth=ab2dbe9a65917e05515ec2a89459f3e450df8ff8-53e763c08274be018dd94dc96862211dfa24d20a
> >
> > [https://avatars.githubusercontent.com/u/1249546?v=4?s=400]<
> >
> https://smex-ctp.trendmicro.com/wis/clicktime/v1/query?url=https%3a%2f%2fgithub.com%2frmannibucau&umid=0d028c0f-486f-4943-b243-bdcf46cf64aa&auth=ab2dbe9a65917e05515ec2a89459f3e450df8ff8-9f5335456d1eaef8209cd71ee9786d2feacf6a6a
> > >
> >
> > rmannibucau (Romain Manni-Bucau) · GitHub<
> >
> https://smex-ctp.trendmicro.com/wis/clicktime/v1/query?url=https%3a%2f%2fgithub.com%2frmannibucau&umid=0d028c0f-486f-4943-b243-bdcf46cf64aa&auth=ab2dbe9a65917e05515ec2a89459f3e450df8ff8-9f5335456d1eaef8209cd71ee9786d2feacf6a6a
> > >
> > smex-ctp.trendmicro.com
> > Apache addict I'm involved in several project (OpenWebBeans, Johnzon,
> > Geronimo, Meecrowave, ... -
> > http://home.apache.org/committer-index.html#rmannibucau). - rmannibucau
> >
> >
> > LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
> > <
> >
> https://www.packtpub.com/application-development/java-ee-8-high-performance
> > >
> > [https://static.packt-cdn.com/products/9781788473064/cover/smaller]<
> >
> https://www.packtpub.com/application-development/java-ee-8-high-performance
> > >
> >
> > Java EE 8 High Performance | Packt<
> >
> https://www.packtpub.com/application-development/java-ee-8-high-performance
> > >
> > www.packtpub.com<http://www.packtpub.com>
> > Get more control of your applications performances in development and
> > production and know how to meet your Service Level Agreement on critical
> > microservices.
> >
> >
> >
> >
> > Le mer. 12 mai 2021 à 14:41, Arne Limburg <arne.limb...@openknowledge.de
> >
> > a
> > écrit :
> >
> > > Sorry for the mangled link (outlook seems to do that automatically for
> > > github urls). Here is the plain link:
> > >
> >
> https://github.com/ArneLimburg/openwebbeans-meecrowave/tree/MEECROWAVE-290
> > [
> >
> https://opengraph.githubassets.com/befeedc4a1c616c1dd05f388c46fce15e669dac8f4c749ee0df26d66c5de36dd/ArneLimburg/openwebbeans-meecrowave
> > ]<
> >
> https://github.com/ArneLimburg/openwebbeans-meecrowave/tree/MEECROWAVE-290
> > >
> >
> > GitHub - ArneLimburg/openwebbeans-meecrowave at MEECROWAVE-290<
> >
> https://github.com/ArneLimburg/openwebbeans-meecrowave/tree/MEECROWAVE-290
> > >
> > github.com
> > Apache OpenWebBeans meecrowave. Contribute to
> > ArneLimburg/openwebbeans-meecrowave development by creating an account on
> > GitHub.
> >
> >
> > >
> > >
> > > --
> > >
> > > Arne Limburg - Enterprise Architekt
> > >
> > >
> > >
> > >
> > > OPEN KNOWLEDGE GmbH
> > > Poststraße 1, 26122 Oldenburg
> > > Mobil: +49 151 - 108 22 942
> > > Tel: +49 441 - 4082-154
> > > Fax: +49 441 - 4082-111
> > > arne.limb...@openknowledge.de
> > > www.openknowledge.de<http://www.openknowledge.de<<http://www.openknowledge.de<http://www.openknowledge.de<>
> http://www.openknowledge.de<http://www.openknowledge.de<
> http://www.openknowledge.de<http://www.openknowledge.de<
> http://www.openknowledge.de<http://www.openknowledge.de>>> <
> > https://www.openknowledge.de/>
> > OPEN KNOWLEDGE GmbH<https://www.openknowledge.de/>
> > www.openknowledge.de<http://www.openknowledge.de<<http://www.openknowledge.de<http://www.openknowledge.de<>
> http://www.openknowledge.de<http://www.openknowledge.de>>
> > OPEN KNOWLEDGE GmbH steht für agile Softwareentwicklung und IT-Beratung
> > mit Expertise in den Bereichen Enterprise und Cloud Computing. Standorte
> > sind Oldenburg (Niedersachsen) und Essen (Nordrhein-Westfalen).
> >
> > OPEN KNOWLEDGE GmbH<http://www.openknowledge.de/>
> > www.openknowledge.de<http://www.openknowledge.de<<http://www.openknowledge.de<http://www.openknowledge.de<>
> http://www.openknowledge.de<http://www.openknowledge.de>>
> > OPEN KNOWLEDGE GmbH steht für agile Softwareentwicklung und IT-Beratung
> > mit Expertise in den Bereichen Enterprise und Cloud Computing. Standorte
> > sind Oldenburg (Niedersachsen) und Essen (Nordrhein-Westfalen).
> >
> >
> > >
> > > Registergericht: Amtsgericht Oldenburg, HRB 4670
> > > Geschäftsführer: Lars Röwekamp, Jens Schumann
> > >
> > > Treffen Sie uns auf kommenden Konferenzen und Workshops:
> > >
> > > Zu unseren Events<https://www.openknowledge.de/event/>
> > Events | OPEN KNOWLEDGE GmbH<https://www.openknowledge.de/event/>
> > www.openknowledge.de<http://www.openknowledge.de<<http://www.openknowledge.de<http://www.openknowledge.de<>
> http://www.openknowledge.de<http://www.openknowledge.de>>
> > OPEN KNOWLEDGE GmbH steht für agile Softwareentwicklung und IT-Beratung
> > mit Expertise in den Bereichen Enterprise und Cloud Computing. Standorte
> > sind Oldenburg (Niedersachsen) und Essen (Nordrhein-Westfalen).
> >
> >
> > >
> > >
> > >
> > >
> > >
> > > ________________________________
> > > Von: Arne Limburg <arne.limb...@openknowledge.de>
> > > Gesendet: Mittwoch, 12. Mai 2021 14:14
> > > An: openwebbeans-dev
> > > Betreff: [DISCUSS] MEECROWAVE-290 - Enable class-reloading for
> meecowave
> > > maven plugin
> > >
> > > Hi all,
> > >
> > >
> > > I have managed to implement class reloading for meecrowave via our
> maven
> > > plugin:
> > >
> > >
> > >
> >
> https://smex-ctp.trendmicro.com:443/wis/clicktime/v1/query?url=https%3a%2f%2fgithub.com%2fArneLimburg%2fopenwebbeans%2dmeecrowave%2ftree%2fMEECROWAVE%2d290&umid=24f6de0a-3fbc-49f0-85a7-4de687983e93&auth=ab2dbe9a65917e05515ec2a89459f3e450df8ff8-f3c96a0cfa58a4835b5d993fe05147eb9d242adc
> > [
> >
> https://opengraph.githubassets.com/befeedc4a1c616c1dd05f388c46fce15e669dac8f4c749ee0df26d66c5de36dd/ArneLimburg/openwebbeans-meecrowave
> > ]<
> >
> https://smex-ctp.trendmicro.com/wis/clicktime/v1/query?url=https%3a%2f%2fgithub.com%2fArneLimburg%2fopenwebbeans%2dmeecrowave%2ftree%2fMEECROWAVE%2d290&umid=24f6de0a-3fbc-49f0-85a7-4de687983e93&auth=ab2dbe9a65917e05515ec2a89459f3e450df8ff8-f3c96a0cfa58a4835b5d993fe05147eb9d242adc
> > >
> >
> > GitHub - ArneLimburg/openwebbeans-meecrowave at MEECROWAVE-290<
> >
> https://smex-ctp.trendmicro.com/wis/clicktime/v1/query?url=https%3a%2f%2fgithub.com%2fArneLimburg%2fopenwebbeans%2dmeecrowave%2ftree%2fMEECROWAVE%2d290&umid=24f6de0a-3fbc-49f0-85a7-4de687983e93&auth=ab2dbe9a65917e05515ec2a89459f3e450df8ff8-f3c96a0cfa58a4835b5d993fe05147eb9d242adc
> > >
> > smex-ctp.trendmicro.com
> > Apache OpenWebBeans meecrowave. Contribute to
> > ArneLimburg/openwebbeans-meecrowave development by creating an account on
> > GitHub.
> >
> >
> > > [
> > >
> >
> https://opengraph.githubassets.com/befeedc4a1c616c1dd05f388c46fce15e669dac8f4c749ee0df26d66c5de36dd/ArneLimburg/openwebbeans-meecrowave
> > > ]<
> > >
> >
> https://smex-ctp.trendmicro.com/wis/clicktime/v1/query?url=https%3a%2f%2fgithub.com%2fArneLimburg%2fopenwebbeans%2dmeecrowave%2ftree%2fMEECROWAVE%2d290&umid=24f6de0a-3fbc-49f0-85a7-4de687983e93&auth=ab2dbe9a65917e05515ec2a89459f3e450df8ff8-f3c96a0cfa58a4835b5d993fe05147eb9d242adc
> > [
> >
> https://opengraph.githubassets.com/befeedc4a1c616c1dd05f388c46fce15e669dac8f4c749ee0df26d66c5de36dd/ArneLimburg/openwebbeans-meecrowave
> > ]<
> >
> https://smex-ctp.trendmicro.com/wis/clicktime/v1/query?url=https%3a%2f%2fgithub.com%2fArneLimburg%2fopenwebbeans%2dmeecrowave%2ftree%2fMEECROWAVE%2d290&umid=24f6de0a-3fbc-49f0-85a7-4de687983e93&auth=ab2dbe9a65917e05515ec2a89459f3e450df8ff8-f3c96a0cfa58a4835b5d993fe05147eb9d242adc
> > >
> >
> > GitHub - ArneLimburg/openwebbeans-meecrowave at MEECROWAVE-290<
> >
> https://smex-ctp.trendmicro.com/wis/clicktime/v1/query?url=https%3a%2f%2fgithub.com%2fArneLimburg%2fopenwebbeans%2dmeecrowave%2ftree%2fMEECROWAVE%2d290&umid=24f6de0a-3fbc-49f0-85a7-4de687983e93&auth=ab2dbe9a65917e05515ec2a89459f3e450df8ff8-f3c96a0cfa58a4835b5d993fe05147eb9d242adc
> > >
> > smex-ctp.trendmicro.com
> > Apache OpenWebBeans meecrowave. Contribute to
> > ArneLimburg/openwebbeans-meecrowave development by creating an account on
> > GitHub.
> >
> >
> > > >
> > >
> > > GitHub - ArneLimburg/openwebbeans-meecrowave at MEECROWAVE-290<
> > >
> >
> https://smex-ctp.trendmicro.com/wis/clicktime/v1/query?url=https%3a%2f%2fgithub.com%2fArneLimburg%2fopenwebbeans%2dmeecrowave%2ftree%2fMEECROWAVE%2d290&umid=24f6de0a-3fbc-49f0-85a7-4de687983e93&auth=ab2dbe9a65917e05515ec2a89459f3e450df8ff8-f3c96a0cfa58a4835b5d993fe05147eb9d242adc
> > [
> >
> https://opengraph.githubassets.com/befeedc4a1c616c1dd05f388c46fce15e669dac8f4c749ee0df26d66c5de36dd/ArneLimburg/openwebbeans-meecrowave
> > ]<
> >
> https://smex-ctp.trendmicro.com/wis/clicktime/v1/query?url=https%3a%2f%2fgithub.com%2fArneLimburg%2fopenwebbeans%2dmeecrowave%2ftree%2fMEECROWAVE%2d290&umid=24f6de0a-3fbc-49f0-85a7-4de687983e93&auth=ab2dbe9a65917e05515ec2a89459f3e450df8ff8-f3c96a0cfa58a4835b5d993fe05147eb9d242adc
> > >
> >
> > GitHub - ArneLimburg/openwebbeans-meecrowave at MEECROWAVE-290<
> >
> https://smex-ctp.trendmicro.com/wis/clicktime/v1/query?url=https%3a%2f%2fgithub.com%2fArneLimburg%2fopenwebbeans%2dmeecrowave%2ftree%2fMEECROWAVE%2d290&umid=24f6de0a-3fbc-49f0-85a7-4de687983e93&auth=ab2dbe9a65917e05515ec2a89459f3e450df8ff8-f3c96a0cfa58a4835b5d993fe05147eb9d242adc
> > >
> > smex-ctp.trendmicro.com
> > Apache OpenWebBeans meecrowave. Contribute to
> > ArneLimburg/openwebbeans-meecrowave development by creating an account on
> > GitHub.
> >
> >
> > > >
> > > smex-ctp.trendmicro.com
> > > Apache OpenWebBeans meecrowave. Contribute to
> > > ArneLimburg/openwebbeans-meecrowave development by creating an account
> on
> > > GitHub.
> > >
> > >
> > >
> > >
> > > Unfortunately this does not work for the programmatic start of
> Meecrowave
> > > (i.e. WatcherTest fails). So I added a config property "reloadClasses"
> to
> > > signal, if class reloading should be done (in the maven plugin case) or
> > not
> > > (in the programmatic case).
> > >
> > >
> > > Do you have any better idea to handle that? Or any concrete idea to
> merge
> > > that with "reloadGoals"?
> > >
> > >
> > > Cheers,
> > >
> > > Arne
> > >
> > >
> > > --
> > >
> > > Arne Limburg - Enterprise Architekt
> > >
> > >
> > >
> > >
> > > OPEN KNOWLEDGE GmbH
> > > Poststraße 1, 26122 Oldenburg
> > > Mobil: +49 151 - 108 22 942
> > > Tel: +49 441 - 4082-154
> > > Fax: +49 441 - 4082-111
> > > arne.limb...@openknowledge.de
> > > www.openknowledge.de<http://www.openknowledge.de<<<http://www.openknowledge.de<http://www.openknowledge.de<<>
> http://www.openknowledge.de<http://www.openknowledge.de<<
> http://www.openknowledge.de<http://www.openknowledge.de<<
> http://www.openknowledge.de<http://www.openknowledge.de<>>
> > http://www.openknowledge.de<http://www.openknowledge.de>> <
> > > https://www.openknowledge.de/>
> > > OPEN KNOWLEDGE GmbH<https://www.openknowledge.de/>
> > > www.openknowledge.de<http://www.openknowledge.de<<http://www.openknowledge.de<http://www.openknowledge.de<>
> http://www.openknowledge.de<http://www.openknowledge.de<
> http://www.openknowledge.de<http://www.openknowledge.de<
> http://www.openknowledge.de<http://www.openknowledge.de>>>
> > > OPEN KNOWLEDGE GmbH steht für agile Softwareentwicklung und IT-Beratung
> > > mit Expertise in den Bereichen Enterprise und Cloud Computing.
> Standorte
> > > sind Oldenburg (Niedersachsen) und Essen (Nordrhein-Westfalen).
> > >
> > > OPEN KNOWLEDGE GmbH<http://www.openknowledge.de/>
> > > www.openknowledge.de<http://www.openknowledge.de<<http://www.openknowledge.de<http://www.openknowledge.de<>
> http://www.openknowledge.de<http://www.openknowledge.de<
> http://www.openknowledge.de<http://www.openknowledge.de<
> http://www.openknowledge.de<http://www.openknowledge.de>>>
> > > OPEN KNOWLEDGE GmbH steht für agile Softwareentwicklung und IT-Beratung
> > > mit Expertise in den Bereichen Enterprise und Cloud Computing.
> Standorte
> > > sind Oldenburg (Niedersachsen) und Essen (Nordrhein-Westfalen).
> > >
> > >
> > >
> > > Registergericht: Amtsgericht Oldenburg, HRB 4670
> > > Geschäftsführer: Lars Röwekamp, Jens Schumann
> > >
> > > Treffen Sie uns auf kommenden Konferenzen und Workshops:
> > >
> > > Zu unseren Events<https://www.openknowledge.de/event/>
> > > Events | OPEN KNOWLEDGE GmbH< <https://www.openknowledge.de/event/>

Reply via email to