samples/composition/nbproject/project.xml
author Jaroslav Tulach <jtulach@netbeans.org>
Sat, 14 Jun 2008 09:59:27 +0200
changeset 181 81d72f69fa42
parent 180 131332825eab
permissions -rw-r--r--
Incorporating Patrick's changes. I am not reall sure about the changes after the war, it is really 'or' it cannot be 'and'. I will change that when I do the reading through the whole chapter.
     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>composition</name>
     7         </general-data>
     8         <general-data xmlns="http://www.netbeans.org/ns/freeform-project/2">
     9             <!-- Do not use Project Properties customizer when editing this file manually. -->
    10             <name>composition</name>
    11             <properties/>
    12             <folders>
    13                 <source-folder>
    14                     <label>src-api1.0</label>
    15                     <type>java</type>
    16                     <location>src-api1.0</location>
    17                     <encoding>UTF-8</encoding>
    18                 </source-folder>
    19                 <source-folder>
    20                     <label>src-api2.0</label>
    21                     <type>java</type>
    22                     <location>src-api2.0</location>
    23                     <encoding>UTF-8</encoding>
    24                 </source-folder>
    25                 <source-folder>
    26                     <label>src-api2.0-compat</label>
    27                     <type>java</type>
    28                     <location>src-api2.0-compat</location>
    29                     <encoding>UTF-8</encoding>
    30                 </source-folder>
    31                 <source-folder>
    32                     <label>src-api2.0-property</label>
    33                     <type>java</type>
    34                     <location>src-api2.0-property</location>
    35                     <encoding>UTF-8</encoding>
    36                 </source-folder>
    37                 <source-folder>
    38                     <label>test</label>
    39                     <type>java</type>
    40                     <location>src-test</location>
    41                     <encoding>UTF-8</encoding>
    42                 </source-folder>
    43                 <source-folder>
    44                     <label>src-api2.0-enum</label>
    45                     <type>java</type>
    46                     <location>src-api2.0-enum</location>
    47                     <encoding>UTF-8</encoding>
    48                 </source-folder>
    49                 <source-folder>
    50                     <label>src-api2.0-runtime</label>
    51                     <type>java</type>
    52                     <location>src-api2.0-runtime</location>
    53                     <encoding>UTF-8</encoding>
    54                 </source-folder>
    55             </folders>
    56             <ide-actions>
    57                 <action name="build">
    58                     <target>build</target>
    59                 </action>
    60                 <action name="clean">
    61                     <target>clean</target>
    62                 </action>
    63                 <action name="test">
    64                     <target>test</target>
    65                 </action>
    66                 <action name="run">
    67                     <target>test</target>
    68                 </action>
    69                 <action name="rebuild">
    70                     <target>clean</target>
    71                     <target>build</target>
    72                 </action>
    73             </ide-actions>
    74             <view>
    75                 <items>
    76                     <source-folder style="packages">
    77                         <label>API Version 1.0</label>
    78                         <location>src-api1.0</location>
    79                     </source-folder>
    80                     <source-folder style="packages">
    81                         <label>API Version 2.0</label>
    82                         <location>src-api2.0</location>
    83                     </source-folder>
    84                     <source-folder style="packages">
    85                         <label>API Version 2.0, in compatible style</label>
    86                         <location>src-api2.0-compat</location>
    87                     </source-folder>
    88                     <source-folder style="packages">
    89                         <label>API Version 2.0, with property</label>
    90                         <location>src-api2.0-property</location>
    91                     </source-folder>
    92                     <source-folder style="packages">
    93                         <label>API Version 2.0, with enum</label>
    94                         <location>src-api2.0-enum</location>
    95                     </source-folder>
    96                     <source-folder style="packages">
    97                         <label>API Version 2.0, with runtime inspection</label>
    98                         <location>src-api2.0-runtime</location>
    99                     </source-folder>
   100                     <source-folder style="packages">
   101                         <label>Usage of the API</label>
   102                         <location>src-test</location>
   103                     </source-folder>
   104                     <source-file>
   105                         <location>build.xml</location>
   106                     </source-file>
   107                 </items>
   108                 <context-menu>
   109                     <ide-action name="build"/>
   110                     <ide-action name="rebuild"/>
   111                     <ide-action name="run"/>
   112                     <ide-action name="clean"/>
   113                     <ide-action name="test"/>
   114                 </context-menu>
   115             </view>
   116         </general-data>
   117         <java-data xmlns="http://www.netbeans.org/ns/freeform-project-java/1">
   118             <compilation-unit>
   119                 <package-root>src-api1.0</package-root>
   120                 <source-level>1.5</source-level>
   121             </compilation-unit>
   122             <compilation-unit>
   123                 <package-root>src-api2.0</package-root>
   124                 <source-level>1.5</source-level>
   125             </compilation-unit>
   126             <compilation-unit>
   127                 <package-root>src-api2.0-compat</package-root>
   128                 <source-level>1.5</source-level>
   129             </compilation-unit>
   130             <compilation-unit>
   131                 <package-root>src-api2.0-enum</package-root>
   132                 <source-level>1.5</source-level>
   133             </compilation-unit>
   134             <compilation-unit>
   135                 <package-root>src-api2.0-property</package-root>
   136                 <source-level>1.5</source-level>
   137             </compilation-unit>
   138             <compilation-unit>
   139                 <package-root>src-api2.0-runtime</package-root>
   140                 <source-level>1.5</source-level>
   141             </compilation-unit>
   142             <compilation-unit>
   143                 <package-root>src-test</package-root>
   144                 <classpath mode="compile">src-api1.0:../libs/dist/junit-4.4.jar</classpath>
   145                 <source-level>1.5</source-level>
   146             </compilation-unit>
   147         </java-data>
   148     </configuration>
   149 </project>