You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
74 lines
2.9 KiB
74 lines
2.9 KiB
20 years ago
|
<?xml version="1.0"?>
|
||
|
<project name="YACY - seedUpload via SCP" default="dist">
|
||
|
<description>
|
||
|
A class that allows to upload the seed list via scp
|
||
|
</description>
|
||
|
|
||
|
<property name="addonShortName" value="Scp"/>
|
||
|
<property name="addonVersion" value="0.1"/>
|
||
|
|
||
|
<property name="addonLongName" value="${addonShortName}SeedUploader"/>
|
||
|
<property name="parserArchive" location="${release}/${addonLongName}_${addonVersion}.tgz"/>
|
||
|
|
||
|
<target name="compile">
|
||
13 years ago
|
<javac srcdir="${src}/net/yacy/peers/operation/" destdir="${build}" source="${javacSource}" target="${javacTarget}" debug="true" debuglevel="lines,vars,source">
|
||
20 years ago
|
<include name="yacySeedUpload${addonShortName}.java"/>
|
||
20 years ago
|
<classpath>
|
||
|
<pathelement location="${build}" />
|
||
|
|
||
|
<!-- main lib needed to parse rss/atom feed files -->
|
||
16 years ago
|
<pathelement location="${lib}/jsch-0.1.21.jar" />
|
||
20 years ago
|
</classpath>
|
||
|
</javac>
|
||
|
</target>
|
||
|
|
||
|
|
||
|
<target name="zip" depends="compile">
|
||
|
<tar destfile="${parserArchive}" compression="gzip">
|
||
16 years ago
|
<tarfileset dir="${lib}"
|
||
19 years ago
|
includes="jsch-0.1.21.*"
|
||
16 years ago
|
prefix="${releaseDir}/lib/"
|
||
20 years ago
|
dirmode="755" mode="644"/>
|
||
13 years ago
|
<tarfileset dir="${src}/net/yacy/peers/operation/"
|
||
20 years ago
|
includes="yacySeedUpload${addonShortName}.java"
|
||
13 years ago
|
prefix="${releaseDir}/source/net/yacy/peers/operation/"
|
||
20 years ago
|
dirmode="755" mode="644"/>
|
||
13 years ago
|
<tarfileset dir="${build}/net/yacy/peers/operation/"
|
||
18 years ago
|
includes="yacySeedUpload${addonShortName}.class,SchUserInfo.class,sshc.class"
|
||
13 years ago
|
prefix="${releaseDir}/classes/net/yacy/peers/operation/"
|
||
20 years ago
|
dirmode="755" mode="644"/>
|
||
18 years ago
|
<tarfileset dir="${htroot}/"
|
||
|
includes="Settings_Seed_Upload${addonShortName}.inc"
|
||
|
prefix="${releaseDir}/htroot/"
|
||
20 years ago
|
dirmode="755" mode="644"/>
|
||
|
</tar>
|
||
|
</target>
|
||
|
|
||
|
|
||
20 years ago
|
<target name="copy" depends="compile">
|
||
13 years ago
|
<copy todir="${release}/source/net/yacy/peers/operation/">
|
||
|
<fileset dir="${src}/net/yacy/peers/operation/">
|
||
20 years ago
|
<include name="yacySeedUpload${addonShortName}.java"/>
|
||
|
</fileset>
|
||
|
</copy>
|
||
13 years ago
|
<copy todir="${release}/classes/net/yacy/peers/operation/">
|
||
|
<fileset dir="${build}/net/yacy/peers/operation/">
|
||
20 years ago
|
<include name="yacySeedUpload${addonShortName}.class"/>
|
||
20 years ago
|
<include name="SchUserInfo.class"/>
|
||
|
<include name="sshc.class"/>
|
||
20 years ago
|
</fileset>
|
||
|
</copy>
|
||
|
<copy todir="${release}/htroot/yacy/seedUpload/">
|
||
18 years ago
|
<fileset dir="${htroot}/">
|
||
|
<include name="Settings_Seed_Upload${addonShortName}.inc"/>
|
||
20 years ago
|
</fileset>
|
||
|
</copy>
|
||
|
</target>
|
||
|
|
||
|
|
||
20 years ago
|
<target name="dist" depends="compile,zip" description="Compile and zip the addon"/>
|
||
|
|
||
|
|
||
|
</project>
|
||
|
|