fixing linux distro

git-svn-id: http://google-refine.googlecode.com/svn/trunk@919 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
Stefano Mazzocchi 2010-05-30 19:27:41 +00:00
parent 97842fabdd
commit 2edda3f193

View File

@ -132,7 +132,7 @@
<target name="build" depends="build_server, build_webapp"/> <target name="build" depends="build_server, build_webapp"/>
<target name="jar_server" depends="build_server"> <target name="jar_server" depends="build_server">
<jar destfile="${build.dir}/${fullname}-server.jar" basedir="${webapp.classes.dir}"/> <jar destfile="${build.dir}/${fullname}-server.jar" basedir="${server.classes.dir}"/>
</target> </target>
<target name="jar_webapp" depends="build_webapp"> <target name="jar_webapp" depends="build_webapp">
@ -208,7 +208,7 @@
<config <config
headerType="console" headerType="console"
outfile="${windows.dir}/Gridworks.exe" outfile="${windows.dir}/Gridworks.exe"
jarPath="lib/${fullname}.jar" jarPath="lib/${fullname}-server.jar"
dontWrapJar="true" dontWrapJar="true"
icon="${graphics.dir}/icon/gridworks.ico"> icon="${graphics.dir}/icon/gridworks.ico">
<classPath mainClass="com.metaweb.gridworks.Gridworks"> <classPath mainClass="com.metaweb.gridworks.Gridworks">
@ -242,9 +242,9 @@
<include name="*.dll"/> <include name="*.dll"/>
</fileset> </fileset>
</copy> </copy>
<copy file="${build.dir}/${fullname}.jar" tofile="${windows.dir}/${fullname}.jar"/>
<copy todir="${windows.dir}/webapp"> <copy todir="${windows.dir}/webapp">
<fileset dir="${webapp.dir}"> <fileset dir="${built.webapp.dir}">
<include name="**"/> <include name="**"/>
</fileset> </fileset>
</copy> </copy>
@ -266,19 +266,20 @@
<target name="linux" depends="jar, prepare_webapp"> <target name="linux" depends="jar, prepare_webapp">
<mkdir dir="${linux.dir}"/> <mkdir dir="${linux.dir}"/>
<copy todir="${linux.dir}/lib"> <copy todir="${linux.dir}/server/lib">
<fileset dir="${server.lib.dir}"> <fileset dir="${server.lib.dir}">
<include name="**/*.jar"/> <include name="**/*.jar"/>
</fileset> </fileset>
</copy> </copy>
<copy file="${build.dir}/${fullname}-server.jar" tofile="${linux.dir}/lib/${fullname}-server.jar"/> <copy file="${build.dir}/${fullname}-server.jar" tofile="${linux.dir}/server/lib/${fullname}-server.jar"/>
<copy todir="${linux.dir}/webapp"> <copy todir="${linux.dir}/main/webapp">
<fileset dir="${webapp.dir}"> <fileset dir="${built.webapp.dir}">
<include name="**"/> <include name="**"/>
</fileset> </fileset>
</copy> </copy>
<copy todir="${linux.dir}/licenses"> <copy todir="${linux.dir}/licenses">
<fileset dir="${basedir}/licenses"> <fileset dir="${basedir}/licenses">
<include name="**"/> <include name="**"/>