Hello everyone,
1) Is there an official documentation for embedding TC process? My search
shows various how-to on other sites.
a) If not, I guess I could request to be added to the wiki to
contribute one. Since I don't quite know all the details of TC, is there a
review process to ensure clarity and complete coverage of embedding process?
2) (probably better to ask the dev list?) I noticed there are some
differences in the official binary distribution vs development environment:
a) Official has annotations-api.jar while development has according to
gradle:
default - Configuration for default artifacts.
+--- org.apache.tomcat.embed:tomcat-embed-core:9.0.+ -> 9.0.21
| \--- org.apache.tomcat:tomcat-annotations-api:9.0.21
while the jar file names are different, the classes' name and the jar's
manifest within appear to the same. I think this is trivial.
b) ecj version differences: the official binary uses ecj-4.10.jar
while the development, per gradle, uses ecj-3.16:
default - Configuration for default artifacts.
+--- org.apache.tomcat.embed:tomcat-embed-jasper:9.0.+ -> 9.0.21
| +--- org.apache.tomcat.embed:tomcat-embed-core:9.0.21 (*)
| +--- org.apache.tomcat.embed:tomcat-embed-el:9.0.21
| \--- org.eclipse.jdt:ecj:3.16.0
Is there a particular reason while such big difference of the major version
4.x vs 3.x? According to the tomcat-embed maven repository [1]:
<dependency>
<groupId>org.eclipse.jdt</groupId>
<artifactId>ecj</artifactId>
<version>3.16.0</version>
</dependency>
Thanks,
Tommy
[1]
http://repo2.maven.org/maven2/org/apache/tomcat/embed/tomcat-embed-jasper/9.0.21/tomcat-embed-jasper-9.0.21.pom