org.apache.tomcat.util.descriptor.DigesterFactory warn

Description

when run idempiere master branch by command line see bellow log

run on eclipse don't get this warning
on eclipse if add bundle javax.servlet to launch then get same message

report here: https://bugs.eclipse.org/bugs/show_bug.cgi?id=564705

reason:
bundle org.eclipse.jetty.osgi-servlet-api has that resource but javax.servlet hasn't
when build by tycho it count plugin on require list on feature.xml, so add both javax.servlet and org.eclipse.jetty.osgi-servlet-api to launch

Environment

None

Activity

Show:
Hiep Lq
June 27, 2020, 9:24 AM

idempiere use servlet 3.1. plugin depend on servlet 3.1 will import package like javax.servlet

we has 2 bundle provide this package javax.servlet and org.eclipse.jetty.osgi-servlet-api

on resolve dependency on eclipse or tycho for build it can use javax.servlet or org.eclipse.jetty.osgi-servlet-api
or both
it's ok because build/dependency resolve base on target platform

when launch server eclipse choose plugin by features define on server.product so it choose org.eclipse.jetty.osgi-servlet-api
tycho when make binary, it choose both javax.servlet and org.eclipse.jetty.osgi-servlet-api and append both to [idempiere-server]/configuration/org.eclipse.equinox.simpleconfigurator/bundles.info
i guess it's a tycho bug, it don't respect feature define on server.product

Assignee

Hiep Lq

Reporter

Hiep Lq

Labels

None

Tested By

None

Fix versions

Priority

Major
Configure