fix generate.javadoc property
This commit is contained in:
@@ -91,44 +91,50 @@
|
|||||||
</java>
|
</java>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="compilerSources" if="generate.javadoc">
|
<target name="compilerSources">
|
||||||
<jar jarfile="${output}/kotlin-compiler-sources.jar">
|
<if>
|
||||||
<!-- TODO How to convert it from pathset or dirset ? -->
|
<istrue value="${generate.javadoc}"/>
|
||||||
<fileset dir="compiler/frontend/src"/>
|
|
||||||
<fileset dir="compiler/frontend.java/src"/>
|
|
||||||
<fileset dir="compiler/backend/src"/>
|
|
||||||
<fileset dir="compiler/cli/src"/>
|
|
||||||
<fileset dir="compiler/util/src"/>
|
|
||||||
<fileset dir="compiler/jet.as.java.psi/src"/>
|
|
||||||
<fileset dir="runtime/src"/>
|
|
||||||
<fileset dir="js/js.translator/src"/>
|
|
||||||
|
|
||||||
<manifest>
|
<then>
|
||||||
<attribute name="Built-By" value="JetBrains"/>
|
<jar jarfile="${output}/kotlin-compiler-sources.jar">
|
||||||
|
<!-- TODO How to convert it from pathset or dirset ? -->
|
||||||
|
<fileset dir="compiler/frontend/src"/>
|
||||||
|
<fileset dir="compiler/frontend.java/src"/>
|
||||||
|
<fileset dir="compiler/backend/src"/>
|
||||||
|
<fileset dir="compiler/cli/src"/>
|
||||||
|
<fileset dir="compiler/util/src"/>
|
||||||
|
<fileset dir="compiler/jet.as.java.psi/src"/>
|
||||||
|
<fileset dir="runtime/src"/>
|
||||||
|
<fileset dir="js/js.translator/src"/>
|
||||||
|
|
||||||
<attribute name="Implementation-Vendor" value="JetBrains"/>
|
<manifest>
|
||||||
<attribute name="Implementation-Title" value="Kotlin Compiler Sources"/>
|
<attribute name="Built-By" value="JetBrains"/>
|
||||||
<attribute name="Implementation-Version" value="${build.number}"/>
|
|
||||||
</manifest>
|
|
||||||
</jar>
|
|
||||||
|
|
||||||
<delete dir="${output}/kotlin-compiler-javadoc" failonerror="false" />
|
<attribute name="Implementation-Vendor" value="JetBrains"/>
|
||||||
<javadoc destdir="${output}/kotlin-compiler-javadoc"
|
<attribute name="Implementation-Title" value="Kotlin Compiler Sources"/>
|
||||||
sourcepathref="compilerSources.path"
|
<attribute name="Implementation-Version" value="${build.number}"/>
|
||||||
classpathref="classpath"
|
</manifest>
|
||||||
linksource="yes"
|
</jar>
|
||||||
windowtitle="Kotlin Compiler"/>
|
|
||||||
<jar jarfile="${output}/kotlin-compiler-javadoc.jar">
|
|
||||||
<fileset dir="${output}/kotlin-compiler-javadoc"/>
|
|
||||||
|
|
||||||
<manifest>
|
<delete dir="${output}/kotlin-compiler-javadoc" failonerror="false" />
|
||||||
<attribute name="Built-By" value="JetBrains"/>
|
<javadoc destdir="${output}/kotlin-compiler-javadoc"
|
||||||
|
sourcepathref="compilerSources.path"
|
||||||
|
classpathref="classpath"
|
||||||
|
linksource="yes"
|
||||||
|
windowtitle="Kotlin Compiler"/>
|
||||||
|
<jar jarfile="${output}/kotlin-compiler-javadoc.jar">
|
||||||
|
<fileset dir="${output}/kotlin-compiler-javadoc"/>
|
||||||
|
|
||||||
<attribute name="Implementation-Vendor" value="JetBrains"/>
|
<manifest>
|
||||||
<attribute name="Implementation-Title" value="Kotlin Compiler Javadoc"/>
|
<attribute name="Built-By" value="JetBrains"/>
|
||||||
<attribute name="Implementation-Version" value="${build.number}"/>
|
|
||||||
</manifest>
|
<attribute name="Implementation-Vendor" value="JetBrains"/>
|
||||||
</jar>
|
<attribute name="Implementation-Title" value="Kotlin Compiler Javadoc"/>
|
||||||
|
<attribute name="Implementation-Version" value="${build.number}"/>
|
||||||
|
</manifest>
|
||||||
|
</jar>
|
||||||
|
</then>
|
||||||
|
</if>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="compiler">
|
<target name="compiler">
|
||||||
|
|||||||
Reference in New Issue
Block a user