[cvs] / jsr166 / build.xml Repository:
ViewVC logotype

Diff of /jsr166/build.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.99, Sat Jan 19 01:37:44 2013 UTC revision 1.100, Sat Jan 19 17:15:44 2013 UTC
# Line 167  Line 167 
167      <pathelement location="${build.loops.dir}"/>      <pathelement location="${build.loops.dir}"/>
168    </path>    </path>
169    
170      <!-- Support @jls tag, used in jdk8+ javadoc -->
171      <!-- TODO: How do we get &trade to work? -->
172      <!--   property name="javadoc.jls.cite" value="The Java&trade; Language Specification" -->
173      <property name="javadoc.jls.cite" value="The Java Language Specification"/>
174      <property name="javadoc.jls.option" value="jls:a:See &lt;cite&gt;${javadoc.jls.cite}&lt;/cite&gt;:"/>
175    
176    <!-- Main targets -->    <!-- Main targets -->
177    
# Line 175  Line 180 
180            description="Builds all public jars and docs"/>            description="Builds all public jars and docs"/>
181    
182    <target name="compile"    <target name="compile"
183            depends="init, configure-compiler"            depends="configure-compiler"
184            description="Compiles main sources to build folder">            description="Compiles src/main sources to build folder">
185    
186      <mkdir dir="${build.classes.dir}"/>      <mkdir dir="${build.classes.dir}"/>
187    
# Line 185  Line 190 
190              debug="${build.debug}"              debug="${build.debug}"
191         debuglevel="${build.debuglevel}"         debuglevel="${build.debuglevel}"
192        deprecation="${build.deprecation}"        deprecation="${build.deprecation}"
193             source="${build.sourcelevel}"             classpath=""
194               includeAntRuntime="false"
195               includeJavaRuntime="false"
196               executable="${javac8}"
197               fork="true">               fork="true">
198    
199        <include name="**/*.java"/>        <include name="**/*.java"/>
200          <compilerarg line="${build.args}"/>
201        <compilerarg value="-XDignore.symbol.file=true"/>        <compilerarg value="-XDignore.symbol.file=true"/>
202          <compilerarg value="-Xlint:all"/>
203    
204  <!--  <!--
205        <exclude name="java/lang/**"/>        <exclude name="java/lang/**"/>
# Line 224  Line 234 
234    
235    
236    <target name="docs"    <target name="docs"
237            description="Builds javadocs with custom tags to build folder">            description="Builds javadocs for src/main">
238    
239      <delete dir="${build.javadocs.dir}"/>      <delete dir="${dist.javadocs.dir}"/>
240      <mkdir dir="${build.javadocs.dir}"/>      <mkdir dir="${dist.javadocs.dir}"/>
241    
242      <!-- the packagenames="none" hack below prevents scanning the -->      <!-- the packagenames="none" hack below prevents scanning the -->
243      <!-- sourcepath for packages -->      <!-- sourcepath for packages -->
244    
245      <javadoc destdir="${build.javadocs.dir}"      <javadoc destdir="${dist.javadocs.dir}"
246               packagenames="none"               packagenames="none"
247               link="${jdkapidocs.url}"               link="${jdkapi8docs.url}"
248               overview="${src.dir}/intro.html"               overview="${src.dir}/intro.html"
249               sourcepath="${src.dir}:${jdksrc.dir}"               sourcepath="${src.dir}:${jdk8src.dir}"
250               additionalparam="-XDignore.symbol.file=true" >               classpath=""
251                 executable="${javadoc8}">
252          <arg value="-XDignore.symbol.file=true"/>
253          <arg value="-tag"/>
254          <arg value="${javadoc.jls.option}"/>
255        <fileset dir="${src.dir}" defaultexcludes="yes">        <fileset dir="${src.dir}" defaultexcludes="yes">
256          <include name="**/*.java"/>          <include name="**/*.java"/>
257        </fileset>        </fileset>
# Line 248  Line 262 
262    
263    
264    <target name="dist"    <target name="dist"
265            depends="init, dist-clean, dist-jar, dist-docs"            depends="init, dist-clean, dist-jar, docs"
266            description="Puts all distributable products in single hierarchy"/>            description="Puts all distributable products in single hierarchy"/>
267    
268    
# Line 292  Line 306 
306    
307    
308    
   <target name="dist-docs"  
           description="Builds javadocs without custom tags to dist folder">  
   
     <delete dir="${dist.javadocs.dir}"/>  
     <mkdir dir="${dist.javadocs.dir}"/>  
   
     <!-- the packagenames="none" hack below prevents scanning the -->  
     <!-- sourcepath for packages -->  
   
     <javadoc destdir="${dist.javadocs.dir}"  
              packagenames="none"  
              link="${jdkapidocs.url}"  
              overview="${src.dir}/intro.html"  
              sourcepath="${src.dir}:${jdksrc.dir}"  
              additionalparam="-XDignore.symbol.file=true" >  
       <fileset dir="${src.dir}" defaultexcludes="yes">  
         <include name="**/*.java"/>  
       </fileset>  
     </javadoc>  
   
   </target>  
   
   
   
309    <!-- Internal targets -->    <!-- Internal targets -->
310    
311    

Legend:
Removed from v.1.99  
changed lines
  Added in v.1.100

Doug Lea
ViewVC Help
Powered by ViewVC 1.0.8