samples/componentinjection/anagram-modular/nbproject/project.xml
author Jaroslav Tulach <jtulach@netbeans.org>
Sat, 14 Jun 2008 10:06:45 +0200
changeset 215 43b122711ae1
child 216 0be61dc2e9b5
permissions -rw-r--r--
Defining APIs for the modular interfaces
     1 <?xml version="1.0" encoding="UTF-8"?>
     2 <project xmlns="http://www.netbeans.org/ns/project/1" xmlns:ns4="null">
     3     <type>org.netbeans.modules.ant.freeform</type>
     4     <configuration>
     5         <general-data xmlns="http://www.netbeans.org/ns/freeform-project/1">
     6             <name>Anagram Modular</name>
     7         </general-data>
     8         <general-data xmlns="http://www.netbeans.org/ns/freeform-project/2">
     9             <name>Anagram Modular</name>
    10             <properties/>
    11             <folders>
    12                 <source-folder>
    13                     <label>src-api</label>
    14                     <type>java</type>
    15                     <location>src-api</location>
    16                     <encoding>UTF-8</encoding>
    17                 </source-folder>
    18                 <source-folder>
    19                     <label>Anagram Modular</label>
    20                     <location>.</location>
    21                     <encoding>UTF-8</encoding>
    22                 </source-folder>
    23             </folders>
    24             <ide-actions>
    25                 <action name="build">
    26                     <target>build</target>
    27                 </action>
    28                 <action name="clean">
    29                     <target>clean</target>
    30                 </action>
    31                 <action name="test">
    32                     <target>test</target>
    33                 </action>
    34                 <action name="rebuild">
    35                     <target>clean</target>
    36                     <target>build</target>
    37                 </action>
    38                 <action name="debug.single">
    39                     <target>-do-test</target>
    40                     <context>
    41                         <property>include</property>
    42                         <folder>src-test</folder>
    43                         <format>relative-path-noext</format>
    44                         <arity>
    45                             <one-file-only/>
    46                         </arity>
    47                     </context>
    48                 </action>
    49             </ide-actions>
    50             <export>
    51                 <type>folder</type>
    52                 <location>build/api/classes</location>
    53                 <build-target>build</build-target>
    54             </export>
    55             <view>
    56                 <items>
    57                     <source-folder style="packages">
    58                         <label>src-api</label>
    59                         <location>src-api</location>
    60                     </source-folder>
    61                     <source-file>
    62                         <location>build.xml</location>
    63                     </source-file>
    64                 </items>
    65                 <context-menu>
    66                     <ide-action name="build"/>
    67                     <ide-action name="rebuild"/>
    68                     <ide-action name="clean"/>
    69                     <ide-action name="test"/>
    70                     <ide-action name="debug"/>
    71                 </context-menu>
    72             </view>
    73             <subprojects/>
    74         </general-data>
    75         <java-data xmlns="http://www.netbeans.org/ns/freeform-project-java/1">
    76             <compilation-unit>
    77                 <package-root>src-api</package-root>
    78                 <built-to>build/api/classes</built-to>
    79                 <source-level>1.5</source-level>
    80             </compilation-unit>
    81             <compilation-unit>
    82                 <package-root>src-test</package-root>
    83                 <classpath mode="compile">src-new-api:../libs/dist/junit-4.4.jar</classpath>
    84                 <source-level>1.5</source-level>
    85             </compilation-unit>
    86         </java-data>
    87     </configuration>
    88 </project>