From 19f03bf7469e1f7b26674f212c8c78cf8b53f78e Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Wed, 1 Jul 2015 21:00:34 -0500 Subject: [PATCH] IDEMPIERE-2662 Windows idempiere-server.bat broken --- org.idempiere.eclipse.platform-feature/director.bat | 3 ++- org.idempiere.eclipse.platform-feature/update.bat | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/org.idempiere.eclipse.platform-feature/director.bat b/org.idempiere.eclipse.platform-feature/director.bat index 48609805fa..2614a1edec 100644 --- a/org.idempiere.eclipse.platform-feature/director.bat +++ b/org.idempiere.eclipse.platform-feature/director.bat @@ -1,4 +1,5 @@ @Title ... p2 director @Echo off -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 %1 +FOR %%c in (plugins\org.eclipse.osgi_3.7.*.jar) DO set JARFILE=%%c +java -Dosgi.noShutdown=false -Dosgi.compatibility.bootdelegation=true -Dosgi.install.area=director -jar %JARFILE% -application org.eclipse.equinox.p2.director -consoleLog -profileProperties org.eclipse.update.install.features=true %1 diff --git a/org.idempiere.eclipse.platform-feature/update.bat b/org.idempiere.eclipse.platform-feature/update.bat index ba9c73fb16..c6ac023db0 100644 --- a/org.idempiere.eclipse.platform-feature/update.bat +++ b/org.idempiere.eclipse.platform-feature/update.bat @@ -17,9 +17,10 @@ if exist plugins/org.adempiere.tomcat.config_2.1.0/META-INF/tomcat/server.xml ( copy plugins/org.adempiere.tomcat.config_2.1.0/META-INF/tomcat/server.xml server.xml.sav ) -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 %~dp0 -repository %1 -u org.adempiere.server.product +FOR %%c in (plugins\org.eclipse.osgi_3.7.*.jar) DO set JARFILE=%%c +java -Dosgi.noShutdown=false -Dosgi.compatibility.bootdelegation=true -Dosgi.install.area=director -jar %JARFILE% -application org.eclipse.equinox.p2.director -consoleLog -profileProperties org.eclipse.update.install.features=true -destination %~dp0 -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 %~dp0 -repository %1 -i org.adempiere.server.product +java -Dosgi.noShutdown=false -Dosgi.compatibility.bootdelegation=true -Dosgi.install.area=director -jar %JARFILE% -application org.eclipse.equinox.p2.director -consoleLog -profileProperties org.eclipse.update.install.features=true -destination %~dp0 -repository %1 -i org.adempiere.server.product copy idempiere.ini.sav idempiere.ini if exist server.xml.sav (