Skip to content

Commit

Permalink
[webjars] Use the webjars locator
Browse files Browse the repository at this point in the history
  • Loading branch information
hazendaz committed Jul 19, 2024
1 parent ef1dd85 commit b218f68
Show file tree
Hide file tree
Showing 21 changed files with 26 additions and 20 deletions.
6 changes: 6 additions & 0 deletions psi-probe-web/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@

<!-- Javascript -->
<scriptaculous.version>1.9.0</scriptaculous.version>
<webjars-locator.version>0.47</webjars-locator.version>
</properties>

<dependencies>
Expand Down Expand Up @@ -92,6 +93,11 @@
<artifactId>logback-classic</artifactId>
</dependency>

<dependency>
<groupId>org.webjars</groupId>
<artifactId>webjars-locator</artifactId>
<version>${webjars-locator.version}</version>
</dependency>
<dependency>
<groupId>org.webjars</groupId>
<artifactId>scriptaculous</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion psi-probe-web/src/main/webapp/WEB-INF/jsp/allappstats.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<spring:message code="probe.jsp.title.allappstats"/>
</title>
<script src="<c:url value='/js/prototype.js'/>"></script>
<script src="/webjars/scriptaculous/1.9.0/scriptaculous.js"></script>
<script src="/webjars/scriptaculous/scriptaculous.js"></script>
<script src="<c:url value='/js/func.js'/>"></script>
<script src="<c:url value='/js/behaviour.js'/>"></script>
</head>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<link type="text/css" rel="stylesheet" href="${pageContext.request.contextPath}<spring:theme code='scroller.css'/>"/>
<script src="<c:url value='/js/prototype.js'/>"></script>
<script src="<c:url value='/js/behaviour.js'/>"></script>
<script src="/webjars/scriptaculous/1.9.0/scriptaculous.js"></script>
<script src="/webjars/scriptaculous/scriptaculous.js"></script>
<script src="<c:url value='/js/areascroller.js'/>"></script>
</head>

Expand Down
2 changes: 1 addition & 1 deletion psi-probe-web/src/main/webapp/WEB-INF/jsp/applications.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<head>
<title><spring:message code="probe.jsp.title.applications"/></title>
<script src="<c:url value='/js/prototype.js'/>"></script>
<script src="/webjars/scriptaculous/1.9.0/scriptaculous.js"></script>
<script src="/webjars/scriptaculous/scriptaculous.js"></script>
<script src="<c:url value='/js/func.js'/>"></script>
<script src="<c:url value='/js/behaviour.js'/>"></script>
</head>
Expand Down
2 changes: 1 addition & 1 deletion psi-probe-web/src/main/webapp/WEB-INF/jsp/appsummary.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
</c:when>
<c:otherwise>
<script src="<c:url value='/js/prototype.js'/>"></script>
<script src="/webjars/scriptaculous/1.9.0/scriptaculous.js"></script>
<script src="/webjars/scriptaculous/scriptaculous.js"></script>
<script src="<c:url value='/js/func.js'/>"></script>
<script src="<c:url value='/js/behaviour.js'/>"></script>

Expand Down
2 changes: 1 addition & 1 deletion psi-probe-web/src/main/webapp/WEB-INF/jsp/cluster.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<head>
<title><spring:message code="probe.jsp.title.cluster"/></title>
<script src="<c:url value='/js/prototype.js'/>"></script>
<script src="/webjars/scriptaculous/1.9.0/scriptaculous.js"></script>
<script src="/webjars/scriptaculous/scriptaculous.js"></script>
<script src="<c:url value='/js/func.js'/>"></script>
</head>

Expand Down
2 changes: 1 addition & 1 deletion psi-probe-web/src/main/webapp/WEB-INF/jsp/connectors.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<head>
<title><spring:message code="probe.jsp.title.connectors"/></title>
<script src="<c:url value='/js/prototype.js'/>"></script>
<script src="/webjars/scriptaculous/1.9.0/scriptaculous.js"></script>
<script src="/webjars/scriptaculous/scriptaculous.js"></script>
<script src="<c:url value='/js/Tooltip.js'/>"></script>
<script src="<c:url value='/js/behaviour.js'/>"></script>
<script src="<c:url value='/js/func.js'/>"></script>
Expand Down
2 changes: 1 addition & 1 deletion psi-probe-web/src/main/webapp/WEB-INF/jsp/datasources.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<head>
<title><spring:message code="probe.jsp.title.datasources"/></title>
<script src="<c:url value='/js/prototype.js'/>"></script>
<script src="/webjars/scriptaculous/1.9.0/scriptaculous.js"></script>
<script src="/webjars/scriptaculous/scriptaculous.js"></script>
<script src="<c:url value='/js/func.js'/>"></script>
<script src="<c:url value='/js/behaviour.js'/>"></script>
</head>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<link type="text/css" rel="stylesheet" href="${pageContext.request.contextPath}<spring:theme code='scroller.css'/>"/>
<script src="<c:url value='/js/prototype.js'/>"></script>
<script src="<c:url value='/js/behaviour.js'/>"></script>
<script src="/webjars/scriptaculous/1.9.0/scriptaculous.js"></script>
<script src="/webjars/scriptaculous/scriptaculous.js"></script>
<script src="<c:url value='/js/func.js'/>"></script>
<script src="<c:url value='/js/areascroller.js'/>"></script>
<script src="<c:url value='/js/datasourcetest.js'/>"></script>
Expand Down
2 changes: 1 addition & 1 deletion psi-probe-web/src/main/webapp/WEB-INF/jsp/follow.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<head>
<title><spring:message code="probe.jsp.title.follow"/></title>
<script src="<c:url value='/js/prototype.js'/>"></script>
<script src="/webjars/scriptaculous/1.9.0/scriptaculous.js"></script>
<script src="/webjars/scriptaculous/scriptaculous.js"></script>
<script src="<c:url value='/js/func.js'/>"></script>
<script src="<c:url value='/js/behaviour.js'/>"></script>
</head>
Expand Down
2 changes: 1 addition & 1 deletion psi-probe-web/src/main/webapp/WEB-INF/jsp/memory.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<head>
<title><spring:message code="probe.jsp.title.memory"/></title>
<script src="<c:url value='/js/prototype.js'/>"></script>
<script src="/webjars/scriptaculous/1.9.0/scriptaculous.js"></script>
<script src="/webjars/scriptaculous/scriptaculous.js"></script>
<script src="<c:url value='/js/func.js'/>"></script>
</head>

Expand Down
2 changes: 1 addition & 1 deletion psi-probe-web/src/main/webapp/WEB-INF/jsp/osinfo.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<head>
<title><spring:message code="probe.jsp.sysinfo.os.title"/></title>
<script src="<c:url value='/js/prototype.js'/>"></script>
<script src="/webjars/scriptaculous/1.9.0/scriptaculous.js"></script>
<script src="/webjars/scriptaculous/scriptaculous.js"></script>
<script src="<c:url value='/js/func.js'/>"></script>
<script src="<c:url value='/js/behaviour.js'/>"></script>
</head>
Expand Down
2 changes: 1 addition & 1 deletion psi-probe-web/src/main/webapp/WEB-INF/jsp/sessions.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
</c:otherwise>
</c:choose>
<script src="<c:url value='/js/prototype.js'/>"></script>
<script src="/webjars/scriptaculous/1.9.0/scriptaculous.js"></script>
<script src="/webjars/scriptaculous/scriptaculous.js"></script>
<script src="<c:url value='/js/Tooltip.js'/>"></script>
<script src="<c:url value='/js/func.js'/>"></script>
<script src="<c:url value='/js/behaviour.js'/>"></script>
Expand Down
2 changes: 1 addition & 1 deletion psi-probe-web/src/main/webapp/WEB-INF/jsp/showjsps.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<head>
<title><spring:message htmlEscape="true" code="probe.jsp.title.jsps" arguments="${param.webapp}"/></title>
<script src="<c:url value='/js/prototype.js'/>"></script>
<script src="/webjars/scriptaculous/1.9.0/scriptaculous.js"></script>
<script src="/webjars/scriptaculous/scriptaculous.js"></script>
</head>

<c:set var="navTabApps" value="active" scope="request"/>
Expand Down
2 changes: 1 addition & 1 deletion psi-probe-web/src/main/webapp/WEB-INF/jsp/threads.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<head>
<title><spring:message code="probe.jsp.title.threads"/></title>
<script src="<c:url value='/js/prototype.js'/>"></script>
<script src="/webjars/scriptaculous/1.9.0/scriptaculous.js"></script>
<script src="/webjars/scriptaculous/scriptaculous.js"></script>
<script src="<c:url value='/js/func.js'/>"></script>
<script src="<c:url value='/js/behaviour.js'/>"></script>
</head>
Expand Down
2 changes: 1 addition & 1 deletion psi-probe-web/src/main/webapp/WEB-INF/jsp/threads_sun.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<head>
<title><spring:message code="probe.jsp.title.threads"/></title>
<script src="<c:url value='/js/prototype.js'/>"></script>
<script src="/webjars/scriptaculous/1.9.0/scriptaculous.js"></script>
<script src="/webjars/scriptaculous/scriptaculous.js"></script>
<script src="<c:url value='/js/Tooltip.js'/>"></script>
<script src="<c:url value='/js/behaviour.js'/>"></script>
<script src="<c:url value='/js/func.js'/>"></script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<link type="text/css" rel="stylesheet" href="${pageContext.request.contextPath}<spring:theme code='scroller.css'/>"/>
<script src="<c:url value='/js/prototype.js'/>"></script>
<script src="<c:url value='/js/behaviour.js'/>"></script>
<script src="/webjars/scriptaculous/1.9.0/scriptaculous.js"></script>
<script src="/webjars/scriptaculous/scriptaculous.js"></script>
<script src="<c:url value='/js/areascroller.js'/>"></script>
</head>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<link type="text/css" rel="stylesheet" href="${pageContext.request.contextPath}<spring:theme code='scroller.css'/>"/>
<script src="<c:url value='/js/prototype.js'/>"></script>
<script src="<c:url value='/js/behaviour.js'/>"></script>
<script src="/webjars/scriptaculous/1.9.0/scriptaculous.js"></script>
<script src="/webjars/scriptaculous/scriptaculous.js"></script>
<script src="<c:url value='/js/areascroller.js'/>"></script>
</head>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<link type="text/css" rel="stylesheet" href="${pageContext.request.contextPath}<spring:theme code='scroller.css'/>"/>
<script src="<c:url value='/js/prototype.js'/>"></script>
<script src="<c:url value='/js/behaviour.js'/>"></script>
<script src="/webjars/scriptaculous/1.9.0/scriptaculous.js"></script>
<script src="/webjars/scriptaculous/scriptaculous.js"></script>
<script src="<c:url value='/js/areascroller.js'/>"></script>
</head>

Expand Down
2 changes: 1 addition & 1 deletion psi-probe-web/src/main/webapp/WEB-INF/jsp/wrapper.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<head>
<title><spring:message code="probe.jsp.title.wrapper"/></title>
<script src="<c:url value='/js/prototype.js'/>"></script>
<script src="/webjars/scriptaculous/1.9.0/scriptaculous.js"></script>
<script src="/webjars/scriptaculous/scriptaculous.js"></script>
<script src="<c:url value='/js/behaviour.js'/>"></script>
</head>

Expand Down
2 changes: 1 addition & 1 deletion psi-probe-web/src/main/webapp/WEB-INF/jsp/zoomreq.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<head>
<title><c:out value="${param.cn}" /></title>
<script src="<c:url value='/js/prototype.js'/>"></script>
<script src="/webjars/scriptaculous/1.9.0/scriptaculous.js"></script>
<script src="/webjars/scriptaculous/scriptaculous.js"></script>
<script src="<c:url value='/js/func.js'/>"></script>
</head>

Expand Down

0 comments on commit b218f68

Please sign in to comment.