diff --git a/addon/jsmooth/lib/jsmoothgen-ant.jar b/addon/jsmooth/lib/jsmoothgen-ant.jar new file mode 100644 index 000000000..0ad825e8e Binary files /dev/null and b/addon/jsmooth/lib/jsmoothgen-ant.jar differ diff --git a/addon/jsmooth/skeletons/console-wrapper/consolewrapper.exe b/addon/jsmooth/skeletons/console-wrapper/consolewrapper.exe new file mode 100644 index 000000000..98e010e76 Binary files /dev/null and b/addon/jsmooth/skeletons/console-wrapper/consolewrapper.exe differ diff --git a/addon/jsmooth/skeletons/console-wrapper/description.skel b/addon/jsmooth/skeletons/console-wrapper/description.skel new file mode 100644 index 000000000..8f29ec1a0 --- /dev/null +++ b/addon/jsmooth/skeletons/console-wrapper/description.skel @@ -0,0 +1,37 @@ + + +false +This skeleton wraps console applications. +- Standard Input/Output and Error streams are available +- If no Java VM is found, it displays a default message. + +Although it is designed for console application (i.e. launched from the command.com shell prompt), it can launch standard GUI application. In such a case, any output of the java application (from System.out or System.err) is displayed in the a DOS Console. + +consolewrapper.exe +JAVA +102 +103 +Console Wrapper + +When no JVM is found in the target computer, the following message is displayed on the console. +Message + +textarea +This program needs Java to run. +Please download it at http://www.java.com + + +The wrapper waits a keypress on the console when the application exits. +PressKey + +boolean +0 + + +Enable the jsmooth debug traces +Debug + +boolean +0 + + diff --git a/addon/jsmooth/skeletons/windowed-wrapper/description.skel b/addon/jsmooth/skeletons/windowed-wrapper/description.skel new file mode 100644 index 000000000..a1ef9cd1e --- /dev/null +++ b/addon/jsmooth/skeletons/windowed-wrapper/description.skel @@ -0,0 +1,41 @@ + + +false +This skeleton wraps GUI applications. +- No console I/O is displayed +- If no Java VM is found, it is able to display a configurable URL (typically to a java download page). + +jwrap.exe +JAVA +102 +103 +Windowed Wrapper + +When no JVM is found in the target computer, the user is prompted with the message defined below. Then, the default browser is launched with the URL defined here. +Message + +textarea +Java has not been found on your computer. Do you want to download it? + + +If the user selects YES to the message prompted above, the default web browser is launched with this URL. +URL + +string +http://www.java.com + + +The default behaviour is to launch the java application in a different (detached) process. If you want to force the wrapper to launch the Java application in the same process than the exe, than select this option. +SingleProcess + +boolean +0 + + +Enable the jsmooth debug console. +Debug + +boolean +0 + + diff --git a/addon/jsmooth/skeletons/windowed-wrapper/jwrap.exe b/addon/jsmooth/skeletons/windowed-wrapper/jwrap.exe new file mode 100644 index 000000000..38d1f3644 Binary files /dev/null and b/addon/jsmooth/skeletons/windowed-wrapper/jwrap.exe differ diff --git a/addon/jsmooth/yacy.jsmooth b/addon/jsmooth/yacy.jsmooth new file mode 100644 index 000000000..da3748e03 --- /dev/null +++ b/addon/jsmooth/yacy.jsmooth @@ -0,0 +1,61 @@ + + +registry +javahome +jrepath +jdkpath +exepath +jview + +..\..\htroot +..\..\htroot\htdocsdefault +..\..\htroot\proxymsg +..\..\htroot\yacy +..\..\yacy.jar +..\..\lib\commons-collections.jar +..\..\lib\commons-pool-1.2.jar +..\..\libx\axis-ant.jar +..\..\libx\axis.jar +..\..\libx\bzip2.jar +..\..\libx\commons-codec-1.3.jar +..\..\libx\commons-discovery.jar +..\..\libx\commons-logging.jar +..\..\libx\informa-0.6.0.jar +..\..\libx\jakarta-oro-2.0.7.jar +..\..\libx\javasvn.jar +..\..\libx\jaxrpc.jar +..\..\libx\jdom.jar +..\..\libx\jmimemagic-0.0.4a.jar +..\..\libx\jrpm-head.jar +..\..\libx\jrpm-SNAPSHOT.jar +..\..\libx\jsch-0.1.21.jar +..\..\libx\log4j-1.2.9.jar +..\..\libx\odf_utils_05_11_10.jar +..\..\libx\PDFBox-0.7.2.jar +..\..\libx\saaj.jar +..\..\libx\tar.jar +..\..\libx\tm-extractors-0.4.jar +..\..\libx\wsdl4j.jar +..\..\libx\xerces.jar +false +..\..\yacy.exe +..\..\htroot\favicon.png +-1 +yacy +-1 + +1.4.2 +Console Wrapper + +Message +This program needs Java to run. Please download it at http://www.java.com + + +PressKey +1 + + +Debug +0 + + diff --git a/build.xml b/build.xml index 93368aad3..32dc339f2 100644 --- a/build.xml +++ b/build.xml @@ -379,6 +379,7 @@ + @@ -616,7 +617,7 @@ - + + + + diff --git a/doc/This_is_a_test_if_the_archive_file_containing_YaCy_was_unpacked_correctly_If_not_please_use_gnu_tar_instead.txt b/doc/This_is_a_test_if_the_archive_file_containing_YaCy_was_unpacked_correctly_If_not_please_use_gnu_tar_instead.txt new file mode 100644 index 000000000..418cd6066 --- /dev/null +++ b/doc/This_is_a_test_if_the_archive_file_containing_YaCy_was_unpacked_correctly_If_not_please_use_gnu_tar_instead.txt @@ -0,0 +1,7 @@ + // Testing if the yacy archive file were unzipped correctly. + // This test is needed because of classfile-names longer than 100 chars + // which could cause problems with incompatible unzip software. + // See: + // - http://www.yacy-forum.de/viewtopic.php?t=1763 + // - http://www.yacy-forum.de/viewtopic.php?t=715 + // - http://www.yacy-forum.de/viewtopic.php?t=1674 \ No newline at end of file diff --git a/htroot/favicon.png b/htroot/favicon.png new file mode 100644 index 000000000..c6f8e7826 Binary files /dev/null and b/htroot/favicon.png differ diff --git a/source/yacy.java b/source/yacy.java index 0901de4f2..4ed2351fe 100644 --- a/source/yacy.java +++ b/source/yacy.java @@ -234,7 +234,7 @@ public final class yacy { // - http://www.yacy-forum.de/viewtopic.php?t=1763 // - http://www.yacy-forum.de/viewtopic.php?t=715 // - http://www.yacy-forum.de/viewtopic.php?t=1674 - File unzipTest = new File(homePath,"classes/de/anomic/kelondro/kelondroMScoreCluster$reverseScoreIterator.class"); + File unzipTest = new File(homePath,"doc/This_is_a_test_if_the_archive_file_containing_YaCy_was_unpacked_correctly_If_not_please_use_gnu_tar_instead.txt"); if (!unzipTest.exists()) { String errorMsg = "The archive file containing YaCy was not unpacked correctly. " + "Please use 'GNU-Tar' or upgrade to a newer version of your unzip software.\n" +