Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
adding classpath to Manfiest of yacycore.jar - this allows to start w/o giving explicite java -cp (just java -jar lib/yacycore.jar works) - especially helpful while running YaCy as Win service, making it obsolete to adjust classpath cfg of the service wrapper on upgrades of lib/*.jar's
regerbe5d3a106677
diff --git a/build.xml b/build.xmlindex 9b15b95dd..ce7df8ccf 100644--- a/build.xml+++ b/build.xml@@ -243,10 +243,22 @@<compilerarg value="-Xlint"/></javac>+ <!-- prepare classpath for MANIFEST (manifest cp is relative to jar) -->+ <path id="project.classpath.runtime">+ <fileset dir="./lib">+ <include name="**/*.jar" />+ <exclude name="yacycore.jar"/>+ </fileset>+ </path>+ <pathconvert property="manifest.classpath" pathsep=" " refid="project.classpath.runtime">+ <flattenmapper/>+ </pathconvert>+<!-- make the jacycore jar --><jar destfile="${lib}/yacycore.jar" basedir="${build}/"><manifest>- <attribute name="Main-Class" value="yacy"/>+ <attribute name="Main-Class" value="net.yacy.yacy"/>+ <attribute name="Class-Path" value="../htroot ${manifest.classpath}"/></manifest></jar>