summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlotus <lotus@6c8d7289-2bf4-0310-a012-ef5d649a1542>2010-10-30 08:49:39 +0000
committerlotus <lotus@6c8d7289-2bf4-0310-a012-ef5d649a1542>2010-10-30 08:49:39 +0000
commit2db6ca81044117eb4452e2d3034f33e78aa646fe (patch)
treeb3c9fc0f88c6294e1bcf17a54e7e30cccbfa7069
parent482127e777dd715157b430646038beb3d9c83940 (diff)
- do not allow user to disable java installation
- java version update - build cleanup git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7284 6c8d7289-2bf4-0310-a012-ef5d649a1542
-rw-r--r--addon/download.php8
-rwxr-xr-xbuild.nsi4
-rw-r--r--build.xml5
3 files changed, 6 insertions, 11 deletions
diff --git a/addon/download.php b/addon/download.php
index 944b95d79..4798f7ac9 100644
--- a/addon/download.php
+++ b/addon/download.php
@@ -17,12 +17,12 @@ $_GET['yacyrevnr'] not used yet
if ($_GET['what'] == 'jre') {
if($_GET['version'] == 32)
- // jre-6u21-windows-i586.exe
- header('Location: http://javadl.sun.com/webapps/download/AutoDL?BundleId=41724');
+ // jre-6u22-windows-i586.exe
+ header('Location: http://javadl.sun.com/webapps/download/AutoDL?BundleId=42733');
if($_GET['version'] == 64)
- // jre-6u21-windows-x64.exe
- header('Location: http://javadl.sun.com/webapps/download/AutoDL?BundleId=41293');
+ // jre-6u22-windows-x64.exe
+ header('Location: http://javadl.sun.com/webapps/download/AutoDL?BundleId=42735');
}
diff --git a/build.nsi b/build.nsi
index 0d82f8393..3e04aba8f 100755
--- a/build.nsi
+++ b/build.nsi
@@ -123,7 +123,7 @@ LangString finishPage 0 "Zeige die Windows Firewall Konfiguration fuer YaCy."
Section "YaCy"
SectionIn 1 RO
- SetShellVarContext current
+ SetShellVarContext current ; use system variables (folders) for current user
RMDir /r "$SMPROGRAMS\YaCy" ;clear old shortcuts
Delete "$QUICKLAUNCH\YaCy-Search.lnk" ;old
Delete "$DESKTOP\YaCy-Search.lnk" ;old
@@ -142,7 +142,7 @@ Section "YaCy"
SectionEnd
Section "Sun Java"
- SectionIn 1
+ SectionIn 1 RO
SetShellVarContext current
Call DetectJRE
SectionEnd
diff --git a/build.xml b/build.xml
index 494bb35bd..cc1a3998e 100644
--- a/build.xml
+++ b/build.xml
@@ -314,9 +314,6 @@
</fileset>
</copy>
- <!-- TODO: check what this file yacy.exe is/was and if it is still needed here ... -->
- <copy todir="${release_main}" file="yacy.exe" failonerror="false"/>
-
<!-- copy locales -->
<copy todir="${release_main}/locales">
<fileset dir="${locales}">
@@ -461,8 +458,6 @@
<delete dir="${release_main}" failonerror="false"/>
<delete file="${build}/de/anomic/yacy/yacyBuildProperties.java" failonerror="false"/>
<delete file="${build}/log4j.properties" failonerror="false"/>
- <!-- TODO: check what this file yacy.exe is/was and if it is still needed here ... -->
- <delete file="yacy.exe" failonerror="false"/>
<delete file="${lib}/yacycore.jar" failonerror="false"/>
<delete file="${lib}/svnRevNr.jar" failonerror="false"/>
<delete file="${libbuild}/svnRevNr.jar" failonerror="false"/>