On Wed, Feb 17, 2021 at 10:23 AM Mark Thomas <ma...@apache.org> wrote:
> On 16/02/2021 16:07, r...@apache.org wrote: > > This is an automated email from the ASF dual-hosted git repository. > > > > remm pushed a commit to branch master > > in repository https://gitbox.apache.org/repos/asf/tomcat.git > > > > > > The following commit(s) were added to refs/heads/master by this push: > > new abd1dea Allow casual runtime use of the migration tool > > abd1dea is described below > > > > commit abd1dead7804e99e3215e8e01a6cf7448a6b9f36 > > Author: remm <r...@apache.org> > > AuthorDate: Tue Feb 16 17:06:27 2021 +0100 > > > > Allow casual runtime use of the migration tool > > > > This allows specifying a profile which will be used for a > > ClassFileTransformer. Nothing much to report, it does basic things > but > > does not do classloader resources or static files. > > I was about to query why you are using reflection when I remembered that > Will remove it obviously, just testing ... > the library isn't availaable by default. I was planning on changing that > as soon as 0.2.0 was released as part of my implementation of migration > at deployment time. > > Once the library is available by default we can simplify this some. > If you want it available by default "soon", then a new tag is needed as the 0.2.0 shaded JAR causes an error (the classpath attribute of the manifest causes a failure as it tries to lookup for the dependent JARs). > > I was also planning on adding migrate.[sh|bat] scripts to the bin > directory so the migration tool was available on the command line. > Good idea ! Rémy