mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-22 14:17:57 +01:00
Minor fixes
This commit is contained in:
parent
59e065c8b5
commit
4c4a8d9553
@ -1,5 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -x
|
||||||
set -e
|
set -e
|
||||||
set -u
|
set -u
|
||||||
|
|
||||||
@ -8,8 +9,8 @@ BASE_DIR=`pwd`
|
|||||||
TARGET_DIR=$BASE_DIR/target
|
TARGET_DIR=$BASE_DIR/target
|
||||||
JETTY_DIR=$TARGET_DIR/wisemapping-$WISE_VERSION
|
JETTY_DIR=$TARGET_DIR/wisemapping-$WISE_VERSION
|
||||||
WISE_WEBAPP_DIR=$JETTY_DIR/webapps/wisemapping
|
WISE_WEBAPP_DIR=$JETTY_DIR/webapps/wisemapping
|
||||||
JETTY_DIST_DIR=jetty-distribution-7.6.0.v20120127
|
JETTY_DIST_DIR=jetty-distribution-8.1.4.v20120524.zip
|
||||||
JETTY_ZIP=${JETTY_DIST_DIR}.zip
|
JETTY_ZIP=${JETTY_DIST_DIR}
|
||||||
|
|
||||||
# Clean ...
|
# Clean ...
|
||||||
mvn -o -f $BASE_DIR/../pom.xml clean
|
mvn -o -f $BASE_DIR/../pom.xml clean
|
||||||
@ -18,12 +19,12 @@ rm -fr ${JETTY_DIR}
|
|||||||
rm -fr ${TARGET_DIR}/${JETTY_DIST_DIR}
|
rm -fr ${TARGET_DIR}/${JETTY_DIST_DIR}
|
||||||
|
|
||||||
# Prepare resources ..
|
# Prepare resources ..
|
||||||
mvn -o -f $BASE_DIR/../pom.xml install
|
mvn -o -f $BASE_DIR/../pom.xml install -Dmaven.test.skip=true
|
||||||
|
|
||||||
if [ ! -f ./target/${JETTY_ZIP} ]
|
if [ ! -f ./target/${JETTY_ZIP} ]
|
||||||
then
|
then
|
||||||
echo "Download Jetty"
|
echo "Download Jetty"
|
||||||
wget http://download.eclipse.org/jetty/stable-7/dist/${JETTY_ZIP} -P $TARGET_DIR
|
wget http://download.eclipse.org/jetty/8.1.4.v20120524/dist/jetty-distribution-8.1.4.v20120524.zip -P $TARGET_DIR
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Unzip Jetty ...:"
|
echo "Unzip Jetty ...:"
|
||||||
@ -31,23 +32,18 @@ unzip ${TARGET_DIR}/${JETTY_ZIP} -d ${TARGET_DIR}/ > /dev/null
|
|||||||
mv ${TARGET_DIR}/${JETTY_DIST_DIR} ${JETTY_DIR}
|
mv ${TARGET_DIR}/${JETTY_DIST_DIR} ${JETTY_DIR}
|
||||||
|
|
||||||
# Clean unsed files ...
|
# Clean unsed files ...
|
||||||
rm -r $JETTY_DIR/webapps/*
|
rm -rf $JETTY_DIR/webapps/*
|
||||||
rm -r $JETTY_DIR/contexts/*
|
rm -rf $JETTY_DIR/contexts/*
|
||||||
|
|
||||||
# Now, start wise-webapps customization ...
|
# Now, start wise-webapps customization ...
|
||||||
echo "Unzip wisemappig.war ..."
|
echo "Unzip wisemappig.war ..."
|
||||||
mkdir $WISE_WEBAPP_DIR
|
mkdir $WISE_WEBAPP_DIR
|
||||||
unzip $BASE_DIR/../wise-webapp/target/wisemapping.war -d $WISE_WEBAPP_DIR >/dev/null
|
unzip $BASE_DIR/../wise-webapp/target/wisemapping.war -d $WISE_WEBAPP_DIR >/dev/null
|
||||||
rm $WISE_WEBAPP_DIR/images/wisemapping.swf
|
|
||||||
|
|
||||||
mkdir $WISE_WEBAPP_DIR/WEB-INF/database
|
mkdir $WISE_WEBAPP_DIR/WEB-INF/database
|
||||||
cp -r $BASE_DIR/../wise-webapp/target/db/* $WISE_WEBAPP_DIR/WEB-INF/database/
|
cp -r $BASE_DIR/../wise-webapp/target/db/* $WISE_WEBAPP_DIR/WEB-INF/database/
|
||||||
cp $BASE_DIR/wisemapping.xml $JETTY_DIR/contexts/
|
cp $BASE_DIR/wisemapping.xml $JETTY_DIR/contexts/
|
||||||
|
|
||||||
# Some replacements ...
|
|
||||||
sed 's/target\/db\/wisemapping/webapps\/wisemapping\/WEB-INF\/database\/wisemapping/' $WISE_WEBAPP_DIR/WEB-INF/app.properties > $WISE_WEBAPP_DIR/WEB-INF/app.properties2
|
|
||||||
mv $WISE_WEBAPP_DIR/WEB-INF/app.properties2 $WISE_WEBAPP_DIR/WEB-INF/app.properties
|
|
||||||
|
|
||||||
|
|
||||||
# Distribute scripts
|
# Distribute scripts
|
||||||
cp -r $BASE_DIR/../wise-webapp/src/test/sql $TARGET_DIR/wisemapping-$WISE_VERSION/config
|
cp -r $BASE_DIR/../wise-webapp/src/test/sql $TARGET_DIR/wisemapping-$WISE_VERSION/config
|
||||||
|
@ -98,7 +98,7 @@ KEYBOARD_MSG=Estos son los atajos de teclado que puede utilizar en el editor!
|
|||||||
|
|
||||||
REVERT=revertir
|
REVERT=revertir
|
||||||
EXPORT_FORMAT_RESTRICTIONS=Important: Exporting to Image, PDF or SVG is available only in the editor toolbar.
|
EXPORT_FORMAT_RESTRICTIONS=Important: Exporting to Image, PDF or SVG is available only in the editor toolbar.
|
||||||
STARRED=Importantes
|
STARRED=Destacados
|
||||||
ACCOUNT_ACTIVED=Su cuenta ha sido activada
|
ACCOUNT_ACTIVED=Su cuenta ha sido activada
|
||||||
ACCOUNT_ACTIVED_FAIL=Falla al Activar Cuenta
|
ACCOUNT_ACTIVED_FAIL=Falla al Activar Cuenta
|
||||||
WISEMAPPING_EXPORT_FORMAT=WiseMapping
|
WISEMAPPING_EXPORT_FORMAT=WiseMapping
|
||||||
@ -138,7 +138,7 @@ NO_SEARCH_RESULT=No existen mapas disponibles para el criterio de busqueda selec
|
|||||||
GENERAL=General
|
GENERAL=General
|
||||||
SECURITY=Seguridad
|
SECURITY=Seguridad
|
||||||
MAP_NAME_HINT=El nombre del nuevo mapa
|
MAP_NAME_HINT=El nombre del nuevo mapa
|
||||||
MAP_DESCRIPTION_HINT=Una descripción de tu mapa
|
MAP_DESCRIPTION_HINT=Una descripci\u00f3n de tu mapa
|
||||||
WARNING=Cuidado
|
WARNING=Cuidado
|
||||||
DELETE_MAPS_WARNING=Una vez borrado de un mapa no puede ser recuperado. Desea continuar ?
|
DELETE_MAPS_WARNING=Una vez borrado de un mapa no puede ser recuperado. Desea continuar ?
|
||||||
WHAT_IS_NEW=Novedades
|
WHAT_IS_NEW=Novedades
|
||||||
|
@ -4,7 +4,16 @@
|
|||||||
<div style="float:left; width:40%;">
|
<div style="float:left; width:40%;">
|
||||||
<p><a href="http://www.wisemapping.org"><spring:message code="COPYRIGHT"/></a></p>
|
<p><a href="http://www.wisemapping.org"><spring:message code="COPYRIGHT"/></a></p>
|
||||||
</div>
|
</div>
|
||||||
|
<div style="float:left; text-align:left;padding:5px;">
|
||||||
|
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
|
||||||
|
<input type="hidden" name="cmd" value="_s-xclick"/>
|
||||||
|
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but04.gif" name="submit"
|
||||||
|
alt="Make payments with PayPal - it's fast, free and secure!"/>
|
||||||
|
<img alt="" style="border: 0;width:1px;height:1px;" src="https://www.paypal.com/en_US/i/scr/pixel.gif"/>
|
||||||
|
<input type="hidden" name="encrypted"
|
||||||
|
value="-----BEGIN PKCS7-----MIIHwQYJKoZIhvcNAQcEoIIHsjCCB64CAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwDQYJKoZIhvcNAQEBBQAEgYBvLN5PRNvfylLOCDCi65JktD2se3FdTyRH1+Ptw+OrhDWUX76pT8qt89aCzRjroJikwKfgmiyLHSOw4rDF5xGbzesCdAjpkrv5KwMRxiaf/FEdXDHHufv2pwP591+h7mY36I0+nDdwVykq7K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nOBXT8NkZ6gWqNX9iwDq83rblm3XI7yrjRUCQrvIkhJ80xKGrhBn48V61FawASYdpE1AmhZoga9XAIZruO0NrnT2QXxe2p-----END PKCS7-----"/>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
<div style="float:left; text-align:left;padding:5px;">
|
<div style="float:left; text-align:left;padding:5px;">
|
||||||
<a href="http://www.w3.org/html/logo/">
|
<a href="http://www.w3.org/html/logo/">
|
||||||
<img src="http://www.w3.org/html/logo/badge/html5-badge-h-graphics.png" width="66" height="32"
|
<img src="http://www.w3.org/html/logo/badge/html5-badge-h-graphics.png" width="66" height="32"
|
||||||
|
Loading…
Reference in New Issue
Block a user