2012-07-20 06:00:13 +07:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
|
|
|
|
|
|
|
cd $(dirname "${0}")
|
|
|
|
DESTINATION=$(pwd)
|
|
|
|
|
|
|
|
cp idempiere.ini idempiere.ini.sav
|
|
|
|
|
2013-07-15 16:13:07 +07:00
|
|
|
if [ -f server.xml.sav ];
|
|
|
|
then
|
|
|
|
rm -f server.xml.sav
|
|
|
|
fi
|
|
|
|
if [ -f plugins/org.adempiere.tomcat.config_1.0.0/META-INF/tomcat/server.xml ]
|
|
|
|
then
|
|
|
|
cp plugins/org.adempiere.tomcat.config_1.0.0/META-INF/tomcat/server.xml server.xml.sav
|
2013-11-21 17:24:08 +07:00
|
|
|
rm plugins/org.adempiere.tomcat.config_1.0.0/META-INF/tomcat/server.xml
|
|
|
|
fi
|
|
|
|
if [ -f plugins/org.adempiere.tomcat.config_2.0.0/META-INF/tomcat/server.xml ]
|
|
|
|
then
|
|
|
|
cp plugins/org.adempiere.tomcat.config_2.0.0/META-INF/tomcat/server.xml server.xml.sav
|
2014-10-31 11:30:38 +07:00
|
|
|
rm plugins/org.adempiere.tomcat.config_2.0.0/META-INF/tomcat/server.xml
|
|
|
|
fi
|
|
|
|
if [ -f plugins/org.adempiere.tomcat.config_2.1.0/META-INF/tomcat/server.xml ]
|
|
|
|
then
|
|
|
|
cp plugins/org.adempiere.tomcat.config_2.1.0/META-INF/tomcat/server.xml server.xml.sav
|
2013-07-15 16:13:07 +07:00
|
|
|
fi
|
2012-07-20 06:00:13 +07:00
|
|
|
java -Dosgi.noShutdown=false -Dosgi.compatibility.bootdelegation=true -Dosgi.install.area=director -jar plugins/org.eclipse.osgi_3.7.*.jar -application org.eclipse.equinox.p2.director -consoleLog -profileProperties org.eclipse.update.install.features=true -destination $DESTINATION -repository $1 -u org.adempiere.server.product
|
|
|
|
|
|
|
|
java -Dosgi.noShutdown=false -Dosgi.compatibility.bootdelegation=true -Dosgi.install.area=director -jar plugins/org.eclipse.osgi_3.7.*.jar -application org.eclipse.equinox.p2.director -consoleLog -profileProperties org.eclipse.update.install.features=true -destination $DESTINATION -repository $1 -i org.adempiere.server.product
|
|
|
|
|
|
|
|
cp idempiere.ini.sav idempiere.ini
|
2013-07-15 16:13:07 +07:00
|
|
|
if [ -f server.xml.sav ]
|
|
|
|
then
|
2014-10-31 11:30:38 +07:00
|
|
|
cp server.xml.sav plugins/org.adempiere.tomcat.config_2.1.0/META-INF/tomcat/server.xml
|
2013-07-15 16:13:07 +07:00
|
|
|
rm -f server.xml.sav
|
|
|
|
fi
|
|
|
|
|