mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-07-23 02:33:30 +00:00
Configure Eclipse wtp to use the same context root as jetty
This commit is contained in:
parent
bd53ff1832
commit
6983b166d8
@ -105,6 +105,11 @@ configure(javaProjects) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
tasks.withType(org.gradle.plugins.eclipse.EclipseWtpComponent) {
|
||||||
|
whenConfigured { wtpComponent ->
|
||||||
|
wtpComponent.contextPath = project.tasks.findByName('jettyRun')?.contextPath?.replaceFirst('/','')
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ideaModule {
|
ideaModule {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user