Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-jams
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-jams
Commits
810511b0
Commit
810511b0
authored
4 years ago
by
Felix Sidokhine
Browse files
Options
Downloads
Patches
Plain Diff
cleanup
Change-Id: Ia3bfad3147f2898cb7066ed7ef63e1488f38038d
parent
8c431f37
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
jams-server/src/main/java/net/jami/jams/server/Server.java
+8
-7
8 additions, 7 deletions
jams-server/src/main/java/net/jami/jams/server/Server.java
with
8 additions
and
7 deletions
jams-server/src/main/java/net/jami/jams/server/Server.java
+
8
−
7
View file @
810511b0
...
...
@@ -78,14 +78,15 @@ public class Server {
public
static
void
main
(
String
[]
args
)
{
//This is a fix to drop old cached stuff from the tomcat classloader.
ClassPool
.
getDefault
().
clearImportedPackages
();
ScopedServletAnnotationScanner
scanner
=
new
ScopedServletAnnotationScanner
();
//TODO: Remove this entirely, as we no longer need to do dynamic codegen.
//ScopedServletAnnotationScanner scanner = new ScopedServletAnnotationScanner();
//Here we need to scan and modify our servlets, this is not necessarily the greatest thing ever.
try
{
scanner
.
scanAndModify
(
PackageScanner
.
getClasses
());
}
catch
(
Exception
e
){
log
.
error
(
"Could not modify the annotated files"
);
}
//
try {
//
scanner.scanAndModify(PackageScanner.getClasses());
//
}
//
catch (Exception e){
//
log.error("Could not modify the annotated files");
//
}
switch
(
args
.
length
)
{
case
1
:
tomcatLauncher
=
new
TomcatLauncher
(
Integer
.
parseInt
(
args
[
0
]));
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment