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