|
226 | 226 | <!-- Classpaths -->
|
227 | 227 | <path id="compile.classpath">
|
228 | 228 | <pathelement location="${bnd.jar}"/>
|
| 229 | + <pathelement location="${osgi-annotations.jar}"/> |
229 | 230 | <pathelement location="${jdt.jar}"/>
|
230 | 231 | <pathelement location="${saaj-api.jar}"/>
|
231 | 232 | <pathelement location="${jaxrpc-lib.jar}"/>
|
|
943 | 944 | </copy>
|
944 | 945 | </target>
|
945 | 946 |
|
946 |
| - <target name="compile" depends="download-compile,validate,setup-bnd"> |
| 947 | + <target name="compile" depends="download-compile,validate"> |
947 | 948 | <!-- Compile internal server components -->
|
948 | 949 | <javac srcdir="java" destdir="${tomcat.classes}"
|
949 | 950 | debug="${compile.debug}"
|
@@ -2178,7 +2179,7 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform.
|
2178 | 2179 |
|
2179 | 2180 | </target>
|
2180 | 2181 |
|
2181 |
| - <target name="javadoc" depends="dist-source" |
| 2182 | + <target name="javadoc" depends="dist-source,download-compile" |
2182 | 2183 | description="Create the Tomcat javadoc" >
|
2183 | 2184 | <javadoc packagenames="jakarta.annotation.*"
|
2184 | 2185 | sourcepath="${tomcat.dist}/src/java"
|
@@ -2324,6 +2325,7 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform.
|
2324 | 2325 | <classpath>
|
2325 | 2326 | <path refid="compile.classpath"/>
|
2326 | 2327 | <path location="${ant.core.lib}"/>
|
| 2328 | + <path location="${osgi-annotations.jar}"/> |
2327 | 2329 | </classpath>
|
2328 | 2330 | <link href="../annotationapi"/>
|
2329 | 2331 | <link href="../servletapi"/>
|
@@ -3059,7 +3061,8 @@ skip.installer property in build.properties" />
|
3059 | 3061 | </target>
|
3060 | 3062 |
|
3061 | 3063 | <target name="download-compile"
|
3062 |
| - description="Download components necessary to compile" > |
| 3064 | + description="Download components necessary to compile" |
| 3065 | + depends="setup-bnd"> |
3063 | 3066 |
|
3064 | 3067 | <!-- Download Commons Daemon -->
|
3065 | 3068 | <antcall target="downloadgz-2">
|
@@ -3604,6 +3607,15 @@ Read the Building page on the Apache Tomcat documentation site for details on ho
|
3604 | 3607 | <param name="checksum.algorithm" value="${bnd.checksum.algorithm}"/>
|
3605 | 3608 | <param name="checksum.value" value="${bnd.checksum.value}"/>
|
3606 | 3609 | </antcall>
|
| 3610 | + <!-- Download OSGi annotations --> |
| 3611 | + <antcall target="downloadfile"> |
| 3612 | + <param name="sourcefile" value="${osgi-annotations.loc}"/> |
| 3613 | + <param name="destfile" value="${osgi-annotations.jar}"/> |
| 3614 | + <param name="destdir" value="${osgi-annotations.home}"/> |
| 3615 | + <param name="checksum.enabled" value="${osgi-annotations.checksum.enabled}"/> |
| 3616 | + <param name="checksum.algorithm" value="${osgi-annotations.checksum.algorithm}"/> |
| 3617 | + <param name="checksum.value" value="${osgi-annotations.checksum.value}"/> |
| 3618 | + </antcall> |
3607 | 3619 | </target>
|
3608 | 3620 |
|
3609 | 3621 | <target name="setup-bnd" depends="download-bnd">
|
|
0 commit comments