| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| |
| --> |
| <project name="java/junit" default="build" basedir="."> |
| |
| <import file="../../nbbuild/templates/projectized.xml"/> |
| |
| <target name="files-init" depends="projectized.files-init"> |
| <property name="extra.arch.files.dir" value="arch"/> |
| <patternset id="extra.arch.files" includes="JUnitPlugin.png"/> |
| </target> |
| |
| <target name="arch" depends="projectized-common.arch"> |
| <copy todir="build"> |
| <fileset dir="${extra.arch.files.dir}"> |
| <patternset refid="extra.arch.files"/> |
| </fileset> |
| </copy> |
| </target> |
| |
| <target name="javadoc" depends="projectized.javadoc"> |
| <property name="javadoc.name" value="${code.name.base.dashes}" /> |
| <property name="javadoc.out" location="${netbeans.javadoc.dir}"/> |
| <property name="javadoc.out.dir" location="${javadoc.out}/${javadoc.name}"/> |
| <property name="javadoc.out.zip" location="${javadoc.out}/${javadoc.name}.zip"/> |
| <copy todir="${javadoc.out.dir}"> |
| <fileset dir="${extra.arch.files.dir}"> |
| <patternset refid="extra.arch.files"/> |
| </fileset> |
| </copy> |
| <zip destfile="${javadoc.out.zip}" basedir="${javadoc.out.dir}" |
| update="true" duplicate="preserve"> |
| <fileset dir="${javadoc.out.dir}"> |
| <patternset refid="extra.arch.files"/> |
| </fileset> |
| </zip> |
| </target> |
| |
| </project> |