Alain,
On 9/8/21 14:26, alain hubert wrote:
Hello,
my colleagues just gave me a challenge before I can retire but the problem
is I haven't done anything else than Email/Excel for years, being an
old-school manager. Please be indulgent.
It took hours before I could find the Tomcat source, unzip it, and much
more to understand the magics with ANT which needs Java to run (I was
ashamed to learn that but the Tomcat documentation is well written, thanks).
Here I am blocked, I need to implement a very simple Authenticator relying
on a proprietary Java library.
When adding the import lines for importing this proprietary package, it's
not possible to compile anymore.
How important is it to build Tomcat *with* your custom library? What if,
instead, you compiled your library separately and used Tomcat as a
(previously-built) dependency?
I get the following errors. From what I understand, building Tomcat
with an additional library would need to add it somewhere but I was
not able to find this in the documentation. Does anyone have an
idea? >
thanks for reading
A.Hubert.
compile:
[javac] Compiling 1 source file to
/home/ahubert/tests/tomcat-src/apache-tomcat-9.0.52-src/output/classes
[javac]
/home/ahubert/tests/tomcat-src/apache-tomcat-9.0.52-src/java/org/apache/catalina/authenticator/BasicAuthenticatorToto.java:19:
error: package com.exane.authentification does not exist
[javac] import static com.exane.authentification.Authent.*;
[javac] ^
[javac]
/home/ahubert/tests/tomcat-src/apache-tomcat-9.0.52-src/java/org/apache/catalina/authenticator/BasicAuthenticatorToto.java:20:
error: package com.exane.authentification does not exist
[javac] import static com.exane.authentification.Verif.*;
[javac] ^
[javac]
/home/ahubert/tests/tomcat-src/apache-tomcat-9.0.52-src/java/org/apache/catalina/authenticator/BasicAuthenticatorToto.java:22:
error: package com.exane.authentification does not exist
[javac] import com.exane.authentification.*;
[javac] ^
[javac] 3 errors
BUILD FAILED
/home/ahubert/tests/tomcat-src/apache-tomcat-9.0.52-src/build.xml:973:
Compile failed; see the compiler error output for details.
Where are the source files for com.exane.* to be found?
-chris
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org