samples/componentinjection/anagram-modular/nbproject/project.xml
author Jaroslav Tulach <jtulach@netbeans.org>
Sat, 14 Jun 2008 10:07:15 +0200
changeset 228 984a01bbac90
parent 225 57ae32a47ccd
child 229 b01da7eb41dd
permissions -rw-r--r--
Showing how such a general registry might look like
     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>src-word-static</label>
    20                     <type>java</type>
    21                     <location>src-word-static</location>
    22                     <encoding>UTF-8</encoding>
    23                 </source-folder>
    24                 <source-folder>
    25                     <label>src-scrambler-simple</label>
    26                     <type>java</type>
    27                     <location>src-scrambler-simple</location>
    28                     <encoding>UTF-8</encoding>
    29                 </source-folder>
    30                 <source-folder>
    31                     <label>src-gui</label>
    32                     <type>java</type>
    33                     <location>src-gui</location>
    34                     <encoding>UTF-8</encoding>
    35                 </source-folder>
    36                 <source-folder>
    37                     <label>src-app-register</label>
    38                     <type>java</type>
    39                     <location>src-app-register</location>
    40                     <encoding>UTF-8</encoding>
    41                 </source-folder>
    42                 <source-folder>
    43                     <label>src-app-register-general</label>
    44                     <type>java</type>
    45                     <location>src-app-register-general</location>
    46                     <encoding>UTF-8</encoding>
    47                 </source-folder>
    48                 <source-folder>
    49                     <label>src-app-property</label>
    50                     <type>java</type>
    51                     <location>src-app-property</location>
    52                     <encoding>UTF-8</encoding>
    53                 </source-folder>
    54                 <source-folder>
    55                     <label>src-app-spring</label>
    56                     <type>java</type>
    57                     <location>src-app-spring</location>
    58                     <encoding>UTF-8</encoding>
    59                 </source-folder>
    60                 <source-folder>
    61                     <label>Anagram Modular</label>
    62                     <location>.</location>
    63                     <encoding>UTF-8</encoding>
    64                 </source-folder>
    65             </folders>
    66             <ide-actions>
    67                 <action name="build">
    68                     <target>build</target>
    69                 </action>
    70                 <action name="clean">
    71                     <target>clean</target>
    72                 </action>
    73                 <action name="test">
    74                     <target>test</target>
    75                 </action>
    76                 <action name="rebuild">
    77                     <target>clean</target>
    78                     <target>build</target>
    79                 </action>
    80                 <action name="debug.single">
    81                     <target>-do-test</target>
    82                     <context>
    83                         <property>include</property>
    84                         <folder>src-test</folder>
    85                         <format>relative-path-noext</format>
    86                         <arity>
    87                             <one-file-only/>
    88                         </arity>
    89                     </context>
    90                 </action>
    91             </ide-actions>
    92             <export>
    93                 <type>folder</type>
    94                 <location>build/api/classes</location>
    95                 <build-target>build</build-target>
    96             </export>
    97             <view>
    98                 <items>
    99                     <source-folder style="packages">
   100                         <label>src-api</label>
   101                         <location>src-api</location>
   102                     </source-folder>
   103                     <source-folder style="packages">
   104                         <label>src-word-static</label>
   105                         <location>src-word-static</location>
   106                     </source-folder>
   107                     <source-folder style="packages">
   108                         <label>src-scrambler-simple</label>
   109                         <location>src-scrambler-simple</location>
   110                     </source-folder>
   111                     <source-folder style="packages">
   112                         <label>src-gui</label>
   113                         <location>src-gui</location>
   114                     </source-folder>
   115                     <source-folder style="packages">
   116                         <label>src-app-register</label>
   117                         <location>src-app-register</location>
   118                     </source-folder>
   119                     <source-folder style="packages">
   120                         <label>src-app-register-general</label>
   121                         <location>src-app-register-general</location>
   122                     </source-folder>
   123                     <source-folder style="packages">
   124                         <label>src-app-property</label>
   125                         <location>src-app-property</location>
   126                     </source-folder>
   127                     <source-folder style="packages">
   128                         <label>src-app-spring</label>
   129                         <location>src-app-spring</location>
   130                     </source-folder>
   131                     <source-file>
   132                         <location>build.xml</location>
   133                     </source-file>
   134                 </items>
   135                 <context-menu>
   136                     <ide-action name="build"/>
   137                     <ide-action name="rebuild"/>
   138                     <ide-action name="clean"/>
   139                     <ide-action name="test"/>
   140                     <ide-action name="debug"/>
   141                 </context-menu>
   142             </view>
   143             <subprojects/>
   144         </general-data>
   145         <java-data xmlns="http://www.netbeans.org/ns/freeform-project-java/1">
   146             <compilation-unit>
   147                 <package-root>src-api</package-root>
   148                 <built-to>build/api/classes</built-to>
   149                 <source-level>1.5</source-level>
   150             </compilation-unit>
   151             <compilation-unit>
   152                 <package-root>src-word-static</package-root>
   153                 <classpath mode="compile">src-api</classpath>
   154                 <built-to>build/word-static/classes</built-to>
   155                 <source-level>1.5</source-level>
   156             </compilation-unit>
   157             <compilation-unit>
   158                 <package-root>src-scrambler-simple</package-root>
   159                 <classpath mode="compile">src-api</classpath>
   160                 <built-to>build/scrambler-simple/classes</built-to>
   161                 <source-level>1.5</source-level>
   162             </compilation-unit>
   163             <compilation-unit>
   164                 <package-root>src-gui</package-root>
   165                 <classpath mode="compile">src-api</classpath>
   166                 <built-to>build/gui/classes</built-to>
   167                 <source-level>1.5</source-level>
   168             </compilation-unit>
   169             <compilation-unit>
   170                 <package-root>src-app-register</package-root>
   171                 <classpath mode="compile">src-api:src-scrambler-simple:src-word-static:src-gui</classpath>
   172                 <built-to>build/app-register/classes</built-to>
   173                 <source-level>1.5</source-level>
   174             </compilation-unit>
   175             <compilation-unit>
   176                 <package-root>src-app-register-general</package-root>
   177                 <classpath mode="compile">src-api:src-scrambler-simple:src-word-static:src-gui</classpath>
   178                 <built-to>build/app-register/classes</built-to>
   179                 <source-level>1.5</source-level>
   180             </compilation-unit>
   181             <compilation-unit>
   182                 <package-root>src-app-property</package-root>
   183                 <classpath mode="compile">src-api:src-scrambler-simple:src-word-static:src-gui</classpath>
   184                 <built-to>build/app-property/classes</built-to>
   185                 <source-level>1.5</source-level>
   186             </compilation-unit>
   187             <compilation-unit>
   188                 <package-root>src-app-spring</package-root>
   189                 <classpath mode="compile">src-api:src-scrambler-simple:src-word-static:src-gui:../../libs/dist/spring-2.5.jar</classpath>
   190                 <built-to>build/app-spring/classes</built-to>
   191                 <source-level>1.5</source-level>
   192             </compilation-unit>
   193             <compilation-unit>
   194                 <package-root>src-test</package-root>
   195                 <classpath mode="compile">src-new-api:../libs/dist/junit-4.4.jar</classpath>
   196                 <source-level>1.5</source-level>
   197             </compilation-unit>
   198         </java-data>
   199     </configuration>
   200 </project>