Hi,

I have a question about https://github.com/apache/tomcat-jakartaee-migration
<https://github.com/apache/tomcat-jakartaee-migration/blob/master/src/main/scripts/migrate.sh>
tool:
How is it supposed to be used ?
It's README does not explain this.

I've found
https://github.com/apache/tomcat-jakartaee-migration/blob/master/src/main/scripts/migrate.sh
and
from it I've figured:

java -cp target/jakartaee-migration-0.0.2-SNAPSHOT-shaded.jar
org.apache.tomcat.jakartaee.Migration
~/devel/apache-tomcat-10.0.0.0-M1/webapps/we.war we.war

but it fails with NPE:

Feb 06, 2020 10:56:35 AM org.apache.tomcat.jakartaee.Migration execute
INFO: Performing migration from source
[/home/martin/devel/apache-tomcat-10.0.0.0-M1/webapps/we.war] to
destination [/home/martin/git/apache/tomcat-jakartaee-migration/we.war]
Exception in thread "main" java.lang.NullPointerException
at org.apache.tomcat.jakartaee.Migration.execute(Migration.java:87)
at org.apache.tomcat.jakartaee.Migration.main(Migration.java:198)

Martin


On Wed, Feb 5, 2020 at 9:22 PM Mark Thomas <ma...@apache.org> wrote:

> The proposed Apache Tomcat 10.0.0.0-M1 release is now available for
> voting. This is the first release of 10.0.0.x and is based on 9.0.31.
>
> The major changes compared to 9.0.31  are:
>
> - Complete the javax to jakarta package rename
>
> - Remove duplication of configuration between HTTP/1.1 and HTTP/2.
>   HTTP/2 will now inherit values from HTTP/1.1.
>
> - Remove deprecated code
>
> Along with lots of other bug fixes and improvements.
>
> For full details, see the changelog:
> https://ci.apache.org/projects/tomcat/tomcat10/docs/changelog.html
>
> It can be obtained from:
> https://dist.apache.org/repos/dist/dev/tomcat/tomcat-10/v10.0.0.0-M1/
> The Maven staging repo is:
> https://repository.apache.org/content/repositories/orgapachetomcat-1244/
> The tag is:
> https://github.com/apache/tomcat/tree/10.0.0.0-M1
> 9797ba13e0e554c3b8e990f2dc4f846d2bdccf6d
>
> The proposed 10.0.0.0-M1 release is:
> [ ] Broken - do not release
> [ ] Alpha  - go ahead and release as 10.0.0.0-M1
>
> I opted to only include alpha here as there are still some potentially
> significant changes on the TOMCAT-NEXT list.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: dev-h...@tomcat.apache.org
>
>

Reply via email to