Skip to content

Commit

Permalink
- do not allow user to disable java installation
Browse files Browse the repository at this point in the history
- java version update
- build cleanup

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7284 6c8d7289-2bf4-0310-a012-ef5d649a1542
  • Loading branch information
lotus committed Oct 30, 2010
1 parent 482127e commit 2db6ca8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 11 deletions.
8 changes: 4 additions & 4 deletions addon/download.php
Expand Up @@ -17,12 +17,12 @@
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');

}

Expand Down
4 changes: 2 additions & 2 deletions build.nsi
Expand Up @@ -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
Expand All @@ -142,7 +142,7 @@ Section "YaCy"
SectionEnd

Section "Sun Java"
SectionIn 1
SectionIn 1 RO
SetShellVarContext current
Call DetectJRE
SectionEnd
Expand Down
5 changes: 0 additions & 5 deletions build.xml
Expand Up @@ -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}">
Expand Down Expand Up @@ -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"/>
Expand Down

0 comments on commit 2db6ca8

Please sign in to comment.