[PATCH] Fix installing SmartGWT
Wald Commits
scm-commit at wald.intevation.org
Mon Aug 29 15:55:44 CEST 2022
# HG changeset patch
# User Tom Gottfried <tom at intevation.de>
# Date 1661781336 -7200
# Mon Aug 29 15:55:36 2022 +0200
# Branch 3.2.x
# Node ID 4fabdc8ed97b48889d7370bea6843406e0a942f7
# Parent 8abcb3cdaff112151d5e579b7eaac95708160a8a
Fix installing SmartGWT
The download path has moved. While at it, silence curl downloads and
improve build caching a bit.
diff -r 8abcb3cdaff1 -r 4fabdc8ed97b docker/Dockerfile.gwt-client
--- a/docker/Dockerfile.gwt-client Thu Aug 25 10:51:49 2022 +0200
+++ b/docker/Dockerfile.gwt-client Mon Aug 29 15:55:36 2022 +0200
@@ -19,18 +19,18 @@
RUN mvn -q -f framework/pom.xml install
RUN mvn -q -f http-client/pom.xml install
-RUN curl -LO "https://github.com/openlayers/ol2/releases/download/release-2.11/OpenLayers-2.11.tar.gz"
+RUN curl -sLO "https://github.com/openlayers/ol2/releases/download/release-2.11/OpenLayers-2.11.tar.gz"
# Use latest patch release and fake version=4.1-p20141119 to work around
# the actual version (which is known to work properly)
# is not publicly available
-RUN curl -O https://www.smartclient.com/builds/SmartGWT/4.1p/LGPL/latest/smartgwt.jar
+RUN curl -sLO https://www.smartclient.com/builds/SmartGWT/4.1p/LGPL/latest/smartgwt.jar
+RUN mvn -q install:install-file -Dfile=smartgwt.jar -Dversion=4.1-p20141119 \
+ -DartifactId=smartgwt-lgpl -DgroupId=com.isomorphic.smartgwt.lgpl \
+ -Dpackaging=jar
ADD . river
-RUN mvn -q install:install-file -Dfile=smartgwt.jar -Dversion=4.1-p20141119 \
- -DartifactId=smartgwt-lgpl -DgroupId=com.isomorphic.smartgwt.lgpl \
- -Dpackaging=jar
RUN tar -C river/gwt-client/src/main/webapp \
--exclude=OpenLayers-2.11/doc --exclude=OpenLayers-2.11/tests \
--exclude=OpenLayers-2.11/examples -xf OpenLayers-2.11.tar.gz
More information about the Dive4Elements-commits
mailing list