<?xml version='1.0' encoding='ISO-8859-1' ?>
<!--
The contents of this file are subject to the terms of the Common Development
and Distribution License (the License). You may not use this file except in
compliance with the License.

You can obtain a copy of the License at http://www.netbeans.org/cddl.html
or http://www.netbeans.org/cddl.txt.

When distributing Covered Code, include this CDDL Header Notice in each file
and include the License file at http://www.netbeans.org/cddl.txt.
If applicable, add the following below the CDDL Header, with the fields
enclosed by brackets [] replaced by your own identifying information:
"Portions Copyrighted [year] [name of copyright owner]"

The Original Software is NetBeans. The Initial Developer of the Original
Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
Microsystems, Inc. All Rights Reserved.
-->

<project name="Arch Questions and Answers Generator" default="answer" basedir=".">
  <!-- modify this property to point to root of NetBeans CVS 
       so necessary files in the build system may be found -->
  <property name="ide.root" value="../.." />

  <!-- directory for the generated file. Usually may stay untouched -->
  <property name="arch.outputdir" value="." />
  
  <!-- Uncomment following line to add missing questions into your sample file
  <property name="arch.generate" value="true" /> 
  -->
  
  <taskdef name="arch" classname="org.netbeans.nbbuild.Arch" classpath="${ide.root}/nbbuild/nbantext.jar"/>
  
  <target 
    name="answer" 
    depends="autoupdate" 
    description="Generates HTML file with answers to architecture questions"
  />

  <target name="autoupdate"  >
    <arch answers="arch-autoupdate.xml" output="${arch.outputdir}/autoupdate.html" />
  </target>
  
    
  <target name="clean">
    <delete>
      <fileset dir="${arch.outputdir}" >
        <include name="*.html" />
      </fileset>
    </delete>
  </target>    
</project>
