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
jtulach@87
     1
<?xml version="1.0" encoding="UTF-8"?>
jtulach@87
     2
<project xmlns="http://www.netbeans.org/ns/project/1" xmlns:ns4="null">
jtulach@87
     3
    <type>org.netbeans.modules.ant.freeform</type>
jtulach@87
     4
    <configuration>
jtulach@87
     5
        <general-data xmlns="http://www.netbeans.org/ns/freeform-project/1">
jtulach@87
     6
            <name>preventcyclicdependencies</name>
jtulach@87
     7
        </general-data>
jtulach@87
     8
        <general-data xmlns="http://www.netbeans.org/ns/freeform-project/2">
jtulach@87
     9
            <!-- Do not use Project Properties customizer when editing this file manually. -->
jtulach@87
    10
            <name>preventcyclicdependencies</name>
jtulach@87
    11
            <properties/>
jtulach@87
    12
            <folders>
jtulach@87
    13
                <source-folder>
jtulach@87
    14
                    <label>preventcyclicdependencies</label>
jtulach@87
    15
                    <location>.</location>
jtulach@87
    16
                    <encoding>UTF-8</encoding>
jtulach@87
    17
                </source-folder>
jtulach@87
    18
                <source-folder>
jtulach@87
    19
                    <label>src-cyclic</label>
jtulach@87
    20
                    <type>java</type>
jtulach@87
    21
                    <location>src-cyclic</location>
jtulach@87
    22
                    <encoding>UTF-8</encoding>
jtulach@87
    23
                </source-folder>
jtulach@87
    24
                <source-folder>
jtulach@87
    25
                    <label>src-test</label>
jtulach@87
    26
                    <type>java</type>
jtulach@87
    27
                    <location>src-test</location>
jtulach@87
    28
                    <encoding>UTF-8</encoding>
jtulach@87
    29
                </source-folder>
jtulach@87
    30
                <source-folder>
jtulach@87
    31
                    <label>src-acyclic1</label>
jtulach@87
    32
                    <type>java</type>
jtulach@87
    33
                    <location>src-acyclic1</location>
jtulach@87
    34
                    <encoding>UTF-8</encoding>
jtulach@87
    35
                </source-folder>
jtulach@87
    36
                <source-folder>
jtulach@87
    37
                    <label>src-acyclic2</label>
jtulach@87
    38
                    <type>java</type>
jtulach@87
    39
                    <location>src-acyclic2</location>
jtulach@87
    40
                    <encoding>UTF-8</encoding>
jtulach@87
    41
                </source-folder>
jtulach@87
    42
            </folders>
jtulach@87
    43
            <ide-actions>
jtulach@87
    44
                <action name="build">
jtulach@87
    45
                    <target>build</target>
jtulach@87
    46
                </action>
jtulach@87
    47
                <action name="clean">
jtulach@87
    48
                    <target>clean</target>
jtulach@87
    49
                </action>
jtulach@87
    50
                <action name="run">
jtulach@87
    51
                    <target>run</target>
jtulach@87
    52
                </action>
jtulach@87
    53
                <action name="rebuild">
jtulach@87
    54
                    <target>clean</target>
jtulach@87
    55
                    <target>build</target>
jtulach@87
    56
                </action>
jtulach@87
    57
            </ide-actions>
jtulach@87
    58
            <view>
jtulach@87
    59
                <items>
jtulach@87
    60
                    <source-folder style="packages">
jtulach@87
    61
                        <label>src-cyclic</label>
jtulach@87
    62
                        <location>src-cyclic</location>
jtulach@87
    63
                    </source-folder>
jtulach@87
    64
                    <source-folder style="packages">
jtulach@87
    65
                        <label>src-test</label>
jtulach@87
    66
                        <location>src-test</location>
jtulach@87
    67
                    </source-folder>
jtulach@87
    68
                    <source-folder style="packages">
jtulach@87
    69
                        <label>src-acyclic1</label>
jtulach@87
    70
                        <location>src-acyclic1</location>
jtulach@87
    71
                    </source-folder>
jtulach@87
    72
                    <source-folder style="packages">
jtulach@87
    73
                        <label>src-acyclic2</label>
jtulach@87
    74
                        <location>src-acyclic2</location>
jtulach@87
    75
                    </source-folder>
jtulach@87
    76
                    <source-file>
jtulach@87
    77
                        <location>build.xml</location>
jtulach@87
    78
                    </source-file>
jtulach@87
    79
                </items>
jtulach@87
    80
                <context-menu>
jtulach@87
    81
                    <ide-action name="build"/>
jtulach@87
    82
                    <ide-action name="rebuild"/>
jtulach@87
    83
                    <ide-action name="clean"/>
jtulach@87
    84
                    <ide-action name="run"/>
jtulach@87
    85
                    <ide-action name="debug"/>
jtulach@87
    86
                </context-menu>
jtulach@87
    87
            </view>
jtulach@87
    88
            <subprojects/>
jtulach@87
    89
        </general-data>
jtulach@87
    90
        <java-data xmlns="http://www.netbeans.org/ns/freeform-project-java/1">
jtulach@87
    91
            <compilation-unit>
jtulach@87
    92
                <package-root>src-cyclic</package-root>
jtulach@87
    93
                <built-to>build/cyclic/classes</built-to>
jtulach@87
    94
                <source-level>1.5</source-level>
jtulach@87
    95
            </compilation-unit>
jtulach@87
    96
            <compilation-unit>
jtulach@87
    97
                <package-root>src-test</package-root>
jtulach@87
    98
                <classpath mode="compile">src-cyclic</classpath>
jtulach@87
    99
                <built-to>build/test/classes</built-to>
jtulach@87
   100
                <source-level>1.5</source-level>
jtulach@87
   101
            </compilation-unit>
jtulach@87
   102
            <compilation-unit>
jtulach@87
   103
                <package-root>src-acyclic1</package-root>
jtulach@87
   104
                <classpath mode="compile">../libs/dist/org-openide-util.jar</classpath>
jtulach@87
   105
                <built-to>build/acyclic1/classes</built-to>
jtulach@87
   106
                <source-level>1.5</source-level>
jtulach@87
   107
            </compilation-unit>
jtulach@87
   108
            <compilation-unit>
jtulach@87
   109
                <package-root>src-acyclic2</package-root>
jtulach@87
   110
                <classpath mode="compile">src-acyclic1</classpath>
jtulach@87
   111
                <built-to>build/acyclic2/classes</built-to>
jtulach@87
   112
                <source-level>1.5</source-level>
jtulach@87
   113
            </compilation-unit>
jtulach@87
   114
        </java-data>
jtulach@87
   115
    </configuration>
jtulach@87
   116
</project>