samples/reexport/nbproject/project.xml
author Jaroslav Tulach <jtulach@netbeans.org>
Sat, 14 Jun 2008 09:54:15 +0200
changeset 97 a1dd8447b30f
parent 94 9f71e6842995
permissions -rw-r--r--
How to use wrapping against reexport issues shown in the project
     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>reexport</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>reexport</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-query</label>
    27                     <type>java</type>
    28                     <location>src-query</location>
    29                     <encoding>UTF-8</encoding>
    30                 </source-folder>
    31                 <source-folder>
    32                     <label>src-wrap1.0</label>
    33                     <type>java</type>
    34                     <location>src-wrap1.0</location>
    35                     <encoding>UTF-8</encoding>
    36                 </source-folder>
    37                 <source-folder>
    38                     <label>src-wrap2.0</label>
    39                     <type>java</type>
    40                     <location>src-wrap2.0</location>
    41                     <encoding>UTF-8</encoding>
    42                 </source-folder>
    43                 <source-folder>
    44                     <label>test</label>
    45                     <type>java</type>
    46                     <location>src-test</location>
    47                     <encoding>UTF-8</encoding>
    48                 </source-folder>
    49                 <source-folder>
    50                     <label>test</label>
    51                     <type>java</type>
    52                     <location>src-testwrap</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 String 1.0</label>
    78                         <location>src-api1.0</location>
    79                     </source-folder>
    80                     <source-folder style="packages">
    81                         <label>API String 2.0</label>
    82                         <location>src-api2.0</location>
    83                     </source-folder>
    84                     <source-folder style="packages">
    85                         <label>Query reexporting api.String</label>
    86                         <location>src-query</location>
    87                     </source-folder>
    88                     <source-folder style="packages">
    89                         <label>Query wrapping api.String 1.0</label>
    90                         <location>src-wrap1.0</location>
    91                     </source-folder>
    92                     <source-folder style="packages">
    93                         <label>Query wrapping api.String 2.0</label>
    94                         <location>src-wrap2.0</location>
    95                     </source-folder>
    96                     <source-folder style="packages">
    97                         <label>Usage of the reexporting Query</label>
    98                         <location>src-test</location>
    99                     </source-folder>
   100                     <source-folder style="packages">
   101                         <label>Usage of the wrapping Query</label>
   102                         <location>src-testwrap</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="clean"/>
   112                     <ide-action name="test"/>
   113                 </context-menu>
   114             </view>
   115         </general-data>
   116         <java-data xmlns="http://www.netbeans.org/ns/freeform-project-java/1">
   117             <compilation-unit>
   118                 <package-root>src-api1.0</package-root>
   119                 <source-level>1.5</source-level>
   120             </compilation-unit>
   121             <compilation-unit>
   122                 <package-root>src-api2.0</package-root>
   123                 <source-level>1.5</source-level>
   124             </compilation-unit>
   125             <compilation-unit>
   126                 <package-root>src-query</package-root>
   127                 <classpath mode="compile">src-api1.0</classpath>
   128                 <source-level>1.5</source-level>
   129             </compilation-unit>
   130             <compilation-unit>
   131                 <package-root>src-wrap1.0</package-root>
   132                 <classpath mode="compile">src-api1.0</classpath>
   133                 <source-level>1.5</source-level>
   134             </compilation-unit>
   135             <compilation-unit>
   136                 <package-root>src-wrap2.0</package-root>
   137                 <classpath mode="compile">src-api2.0</classpath>
   138                 <source-level>1.5</source-level>
   139             </compilation-unit>
   140             <compilation-unit>
   141                 <package-root>src-test</package-root>
   142                 <classpath mode="compile">src-api1.0:src-query:../libs/dist/junit-4.4.jar</classpath>
   143                 <source-level>1.5</source-level>
   144             </compilation-unit>
   145             <compilation-unit>
   146                 <package-root>src-testwrap</package-root>
   147                 <classpath mode="compile">src-wrap1.0:../libs/dist/junit-4.4.jar</classpath>
   148                 <source-level>1.5</source-level>
   149             </compilation-unit>
   150         </java-data>
   151     </configuration>
   152 </project>