This commit is contained in:
parent
3867f8a437
commit
cd01c35118
113
jsch-build.xml
113
jsch-build.xml
@ -10,11 +10,12 @@
|
|||||||
|
|
||||||
<property name="project.artifactId" value="jsch"/>
|
<property name="project.artifactId" value="jsch"/>
|
||||||
<property name="project.version" value="0.2.9"/>
|
<property name="project.version" value="0.2.9"/>
|
||||||
|
|
||||||
<property name="spec.version" value="0.2"/>
|
<property name="spec.version" value="0.2"/>
|
||||||
<property name="versionWithoutMinus" value="${project.version}"/>
|
<property name="versionWithoutMinus" value="${project.version}"/>
|
||||||
|
|
||||||
<property name="compiler.source" value="8"/>
|
<property name="compiler.release" value="8"/>
|
||||||
|
<property name="compiler.source" value="1.${compiler.release}"/>
|
||||||
<property name="compiler.target" value="${compiler.source}"/>
|
<property name="compiler.target" value="${compiler.source}"/>
|
||||||
|
|
||||||
<property name="build.finalName" value="jsch-${project.version}"/>
|
<property name="build.finalName" value="jsch-${project.version}"/>
|
||||||
@ -72,13 +73,13 @@
|
|||||||
</filterchain>
|
</filterchain>
|
||||||
</copy>
|
</copy>
|
||||||
<mkdir dir="${build.outputDir}"/>
|
<mkdir dir="${build.outputDir}"/>
|
||||||
<javac destdir="${build.outputDir}"
|
<javac destdir="${build.outputDir}"
|
||||||
nowarn="true"
|
nowarn="true"
|
||||||
debug="true"
|
debug="true"
|
||||||
optimize="false"
|
optimize="false"
|
||||||
deprecation="true"
|
deprecation="true"
|
||||||
release="${compiler.source}"
|
release="${compiler.release}"
|
||||||
verbose="false"
|
verbose="false"
|
||||||
fork="false">
|
fork="false">
|
||||||
<src>
|
<src>
|
||||||
<pathelement location="${build.srcDir}"/>
|
<pathelement location="${build.srcDir}"/>
|
||||||
@ -89,14 +90,14 @@
|
|||||||
<mkdir dir="${build.mrOutputDir}"/>
|
<mkdir dir="${build.mrOutputDir}"/>
|
||||||
<!-- Override classes for Java 9+ -->
|
<!-- Override classes for Java 9+ -->
|
||||||
<mkdir dir="${build.mrOutputDir.9}"/>
|
<mkdir dir="${build.mrOutputDir.9}"/>
|
||||||
<javac destdir="${build.mrOutputDir.9}"
|
<javac destdir="${build.mrOutputDir.9}"
|
||||||
nowarn="true"
|
nowarn="true"
|
||||||
debug="true"
|
debug="true"
|
||||||
optimize="false"
|
optimize="false"
|
||||||
deprecation="true"
|
deprecation="true"
|
||||||
source="${compiler.source}"
|
source="${compiler.source}"
|
||||||
target="${compiler.target}"
|
target="${compiler.target}"
|
||||||
verbose="false"
|
verbose="false"
|
||||||
fork="false">
|
fork="false">
|
||||||
<src>
|
<src>
|
||||||
<pathelement location="${build.mrSrcDir.9}"/>
|
<pathelement location="${build.mrSrcDir.9}"/>
|
||||||
@ -108,13 +109,13 @@
|
|||||||
</classpath>
|
</classpath>
|
||||||
</javac>
|
</javac>
|
||||||
<!-- Build module-info.class -->
|
<!-- Build module-info.class -->
|
||||||
<javac destdir="${build.mrOutputDir.9}"
|
<javac destdir="${build.mrOutputDir.9}"
|
||||||
nowarn="true"
|
nowarn="true"
|
||||||
debug="true"
|
debug="true"
|
||||||
optimize="false"
|
optimize="false"
|
||||||
deprecation="true"
|
deprecation="true"
|
||||||
release="9"
|
release="9"
|
||||||
verbose="false"
|
verbose="false"
|
||||||
fork="false">
|
fork="false">
|
||||||
<src>
|
<src>
|
||||||
<pathelement location="${build.mrSrcDir.9}"/>
|
<pathelement location="${build.mrSrcDir.9}"/>
|
||||||
@ -127,14 +128,14 @@
|
|||||||
</javac>
|
</javac>
|
||||||
<!-- Override classes for Java 10+ -->
|
<!-- Override classes for Java 10+ -->
|
||||||
<mkdir dir="${build.mrOutputDir.10}"/>
|
<mkdir dir="${build.mrOutputDir.10}"/>
|
||||||
<javac destdir="${build.mrOutputDir.10}"
|
<javac destdir="${build.mrOutputDir.10}"
|
||||||
nowarn="true"
|
nowarn="true"
|
||||||
debug="true"
|
debug="true"
|
||||||
optimize="false"
|
optimize="false"
|
||||||
deprecation="true"
|
deprecation="true"
|
||||||
source="${compiler.source}"
|
source="${compiler.source}"
|
||||||
target="${compiler.target}"
|
target="${compiler.target}"
|
||||||
verbose="false"
|
verbose="false"
|
||||||
fork="false">
|
fork="false">
|
||||||
<src>
|
<src>
|
||||||
<pathelement location="${build.mrSrcDir.10}"/>
|
<pathelement location="${build.mrSrcDir.10}"/>
|
||||||
@ -146,14 +147,14 @@
|
|||||||
</javac>
|
</javac>
|
||||||
<!-- Override classes for Java 11+ -->
|
<!-- Override classes for Java 11+ -->
|
||||||
<mkdir dir="${build.mrOutputDir.11}"/>
|
<mkdir dir="${build.mrOutputDir.11}"/>
|
||||||
<javac destdir="${build.mrOutputDir.11}"
|
<javac destdir="${build.mrOutputDir.11}"
|
||||||
nowarn="true"
|
nowarn="true"
|
||||||
debug="true"
|
debug="true"
|
||||||
optimize="false"
|
optimize="false"
|
||||||
deprecation="true"
|
deprecation="true"
|
||||||
source="${compiler.source}"
|
source="${compiler.source}"
|
||||||
target="${compiler.target}"
|
target="${compiler.target}"
|
||||||
verbose="false"
|
verbose="false"
|
||||||
fork="false">
|
fork="false">
|
||||||
<src>
|
<src>
|
||||||
<pathelement location="${build.mrSrcDir.11}"/>
|
<pathelement location="${build.mrSrcDir.11}"/>
|
||||||
@ -170,24 +171,24 @@
|
|||||||
<!-- ====================================================================== -->
|
<!-- ====================================================================== -->
|
||||||
|
|
||||||
<target name="javadoc" description="Generates the Javadoc of the application">
|
<target name="javadoc" description="Generates the Javadoc of the application">
|
||||||
<javadoc sourcepath="${build.srcDir}"
|
<javadoc sourcepath="${build.srcDir}"
|
||||||
destdir="${reporting.outputDirectory}/apidocs"
|
destdir="${reporting.outputDirectory}/apidocs"
|
||||||
access="protected"
|
access="protected"
|
||||||
source="${compiler.source}"
|
source="${compiler.source}"
|
||||||
verbose="false"
|
verbose="false"
|
||||||
version="true"
|
version="true"
|
||||||
use="true"
|
use="true"
|
||||||
author="true"
|
author="true"
|
||||||
splitindex="false"
|
splitindex="false"
|
||||||
nodeprecated="false"
|
nodeprecated="false"
|
||||||
nodeprecatedlist="false"
|
nodeprecatedlist="false"
|
||||||
notree="false"
|
notree="false"
|
||||||
noindex="false"
|
noindex="false"
|
||||||
nohelp="false"
|
nohelp="false"
|
||||||
nonavbar="false"
|
nonavbar="false"
|
||||||
serialwarn="false"
|
serialwarn="false"
|
||||||
charset="ISO-8859-1"
|
charset="ISO-8859-1"
|
||||||
linksource="false"
|
linksource="false"
|
||||||
breakiterator="false">
|
breakiterator="false">
|
||||||
<classpath refid="build.classpath"/>
|
<classpath refid="build.classpath"/>
|
||||||
</javadoc>
|
</javadoc>
|
||||||
@ -198,10 +199,10 @@
|
|||||||
<!-- ====================================================================== -->
|
<!-- ====================================================================== -->
|
||||||
|
|
||||||
<target name="package" depends="compile" description="Package the application">
|
<target name="package" depends="compile" description="Package the application">
|
||||||
<jar jarfile="${build.dir}/${build.finalName}.jar"
|
<jar jarfile="${build.dir}/${build.finalName}.jar"
|
||||||
compress="true"
|
compress="true"
|
||||||
index="false"
|
index="false"
|
||||||
basedir="${build.outputDir}"
|
basedir="${build.outputDir}"
|
||||||
excludes="**/package.html">
|
excludes="**/package.html">
|
||||||
<manifest>
|
<manifest>
|
||||||
<attribute name="Bundle-Description" value="JSch is a pure Java implementation of SSH2"/>
|
<attribute name="Bundle-Description" value="JSch is a pure Java implementation of SSH2"/>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user