samples/preventcyclicdependencies/nbproject/project.xml
author Jaroslav Tulach <jtulach@netbeans.org>
Sat, 14 Jun 2008 09:53:48 +0200
changeset 87 618b79994cd4
child 263 7e8e995065c5
permissions -rw-r--r--
How to eliminate cyclic dependencies
     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>preventcyclicdependencies</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>preventcyclicdependencies</name>
    11             <properties/>
    12             <folders>
    13                 <source-folder>
    14                     <label>preventcyclicdependencies</label>
    15                     <location>.</location>
    16                     <encoding>UTF-8</encoding>
    17                 </source-folder>
    18                 <source-folder>
    19                     <label>src-cyclic</label>
    20                     <type>java</type>
    21                     <location>src-cyclic</location>
    22                     <encoding>UTF-8</encoding>
    23                 </source-folder>
    24                 <source-folder>
    25                     <label>src-test</label>
    26                     <type>java</type>
    27                     <location>src-test</location>
    28                     <encoding>UTF-8</encoding>
    29                 </source-folder>
    30                 <source-folder>
    31                     <label>src-acyclic1</label>
    32                     <type>java</type>
    33                     <location>src-acyclic1</location>
    34                     <encoding>UTF-8</encoding>
    35                 </source-folder>
    36                 <source-folder>
    37                     <label>src-acyclic2</label>
    38                     <type>java</type>
    39                     <location>src-acyclic2</location>
    40                     <encoding>UTF-8</encoding>
    41                 </source-folder>
    42             </folders>
    43             <ide-actions>
    44                 <action name="build">
    45                     <target>build</target>
    46                 </action>
    47                 <action name="clean">
    48                     <target>clean</target>
    49                 </action>
    50                 <action name="run">
    51                     <target>run</target>
    52                 </action>
    53                 <action name="rebuild">
    54                     <target>clean</target>
    55                     <target>build</target>
    56                 </action>
    57             </ide-actions>
    58             <view>
    59                 <items>
    60                     <source-folder style="packages">
    61                         <label>src-cyclic</label>
    62                         <location>src-cyclic</location>
    63                     </source-folder>
    64                     <source-folder style="packages">
    65                         <label>src-test</label>
    66                         <location>src-test</location>
    67                     </source-folder>
    68                     <source-folder style="packages">
    69                         <label>src-acyclic1</label>
    70                         <location>src-acyclic1</location>
    71                     </source-folder>
    72                     <source-folder style="packages">
    73                         <label>src-acyclic2</label>
    74                         <location>src-acyclic2</location>
    75                     </source-folder>
    76                     <source-file>
    77                         <location>build.xml</location>
    78                     </source-file>
    79                 </items>
    80                 <context-menu>
    81                     <ide-action name="build"/>
    82                     <ide-action name="rebuild"/>
    83                     <ide-action name="clean"/>
    84                     <ide-action name="run"/>
    85                     <ide-action name="debug"/>
    86                 </context-menu>
    87             </view>
    88             <subprojects/>
    89         </general-data>
    90         <java-data xmlns="http://www.netbeans.org/ns/freeform-project-java/1">
    91             <compilation-unit>
    92                 <package-root>src-cyclic</package-root>
    93                 <built-to>build/cyclic/classes</built-to>
    94                 <source-level>1.5</source-level>
    95             </compilation-unit>
    96             <compilation-unit>
    97                 <package-root>src-test</package-root>
    98                 <classpath mode="compile">src-cyclic</classpath>
    99                 <built-to>build/test/classes</built-to>
   100                 <source-level>1.5</source-level>
   101             </compilation-unit>
   102             <compilation-unit>
   103                 <package-root>src-acyclic1</package-root>
   104                 <classpath mode="compile">../libs/dist/org-openide-util.jar</classpath>
   105                 <built-to>build/acyclic1/classes</built-to>
   106                 <source-level>1.5</source-level>
   107             </compilation-unit>
   108             <compilation-unit>
   109                 <package-root>src-acyclic2</package-root>
   110                 <classpath mode="compile">src-acyclic1</classpath>
   111                 <built-to>build/acyclic2/classes</built-to>
   112                 <source-level>1.5</source-level>
   113             </compilation-unit>
   114         </java-data>
   115     </configuration>
   116 </project>