Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

*) Correcting problems with run target

thelibd79c43b0bc5
diff --git a/build.xml b/build.xml
index 4d1dd8278..2ea83b30a 100644
--- a/build.xml
+++ b/build.xml
@@ -329,13 +329,16 @@
<!-- run YaCy (needed for NetBeans4) -->
<target name="run" description="run YaCy">
- <java classname="yacy">
- <classpath>
+ <java classname="yacy" fork="yes">
+ <classpath>
<pathelement location="${build}"/>
+ <pathelement location="${htroot}"/>
<pathelement location="${lib}/commons-collections.jar" />
- <pathelement location="${lib}/commons-pool-1.2.jar" />
+ <pathelement location="${lib}/commons-pool-1.2.jar" />
+ <pathelement location="${libx}" />
+ <fileset dir="${libx}" includes="**/*.jar" />
</classpath>
- <arg line="-start /Users/admin/dev/yacy/trunk"/>
+ <arg line="-start ${user.home}"/>
</java>
</target>