1 <?xml version="1.0" encoding="UTF-8"?>
   2 <!--
   3  Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved.
   4  DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   5 
   6  This code is free software; you can redistribute it and/or modify it
   7  under the terms of the GNU General Public License version 2 only, as
   8  published by the Free Software Foundation.
   9 
  10  This code is distributed in the hope that it will be useful, but WITHOUT
  11  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  12  FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  13  version 2 for more details (a copy is included in the LICENSE file that
  14  accompanied this code).
  15 
  16  You should have received a copy of the GNU General Public License version
  17  2 along with this work; if not, write to the Free Software Foundation,
  18  Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  19 
  20  Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  21  or visit www.oracle.com if you need additional information or have any
  22  questions.
  23 -->
  24 <project xmlns="http://www.netbeans.org/ns/project/1">
  25     <type>org.netbeans.modules.ant.freeform</type>
  26     <configuration>
  27         <general-data xmlns="http://www.netbeans.org/ns/freeform-project/1">
  28             <name>nashorn</name>
  29         </general-data>
  30         <general-data xmlns="http://www.netbeans.org/ns/freeform-project/2">
  31             <!-- Do not use Project Properties customizer when editing this file manually. -->
  32             <name>nashorn</name>
  33             <properties/>
  34             <folders>
  35                 <source-folder>
  36                     <label>nashorn</label>
  37                     <location>.</location>
  38                     <encoding>UTF-8</encoding>
  39                 </source-folder>
  40                 <source-folder>
  41                     <label>../test/src</label>
  42                     <location>../test/src</location>
  43                 </source-folder>
  44                 <source-folder>
  45                     <label>../buildtools/nasgen/src</label>
  46                     <location>../buildtools/nasgen/src</location>
  47                 </source-folder>
  48                 <source-folder>
  49                     <label>../src/jdk.scripting.nashorn/share/classes</label>
  50                     <location>../src/jdk.scripting.nashorn/share/classes</location>
  51                 </source-folder>
  52                 <source-folder>
  53                     <label>../src/jdk.scripting.nashorn.shell/share/classes</label>
  54                     <location>../src/jdk.scripting.nashorn.shell/share/classes</location>
  55                 </source-folder>
  56                 <source-folder>
  57                     <label>../test/src</label>
  58                     <type>java</type>
  59                     <location>../test/src</location>
  60                     <encoding>UTF-8</encoding>
  61                 </source-folder>
  62                 <source-folder>
  63                     <label>../buildtools/nasgen/src</label>
  64                     <type>java</type>
  65                     <location>../buildtools/nasgen/src</location>
  66                     <encoding>UTF-8</encoding>
  67                 </source-folder>
  68                 <source-folder>
  69                     <label>../src/jdk.scripting.nashorn/share/classes</label>
  70                     <type>java</type>
  71                     <location>../src/jdk.scripting.nashorn/share/classes</location>
  72                     <encoding>UTF-8</encoding>
  73                 </source-folder>
  74                 <source-folder>
  75                     <label>../src/jdk.scripting.nashorn.shell/share/classes</label>
  76                     <type>java</type>
  77                     <location>../src/jdk.scripting.nashorn.shell/share/classes</location>
  78                     <encoding>UTF-8</encoding>
  79                 </source-folder>
  80                 <source-folder>
  81                     <label>../src/jdk.dynalink/share/classes</label>
  82                     <type>java</type>
  83                     <location>../src/jdk.dynalink/share/classes</location>
  84                     <encoding>UTF-8</encoding>
  85                 </source-folder>
  86                 <source-folder>
  87                     <label>../src/jdk.dynalink/share/classes</label>
  88                     <location>../src/jdk.dynalink/share/classes</location>
  89                 </source-folder>
  90             </folders>
  91             <ide-actions>
  92                 <action name="build">
  93                     <script>nbproject/nbjdk.xml</script>
  94                     <target>jar</target>
  95                 </action>
  96                 <action name="clean">
  97                     <script>nbproject/nbjdk.xml</script>
  98                     <target>clean</target>
  99                 </action>
 100                 <action name="javadoc">
 101                     <script>nbproject/nbjdk.xml</script>
 102                     <target>javadoc</target>
 103                 </action>
 104                 <action name="test">
 105                     <script>nbproject/nbjdk.xml</script>
 106                     <target>test</target>
 107                 </action>
 108                 <action name="rebuild">
 109                     <script>nbproject/nbjdk.xml</script>
 110                     <target>clean</target>
 111                     <target>jar</target>
 112                 </action>
 113                 <action name="run">
 114                     <script>nbproject/nbjdk.xml</script>
 115                     <target>run</target>
 116                 </action>
 117                 <action name="debug">
 118                     <script>nbproject/nbjdk.xml</script>
 119                     <target>debug-nb</target>
 120                 </action>
 121                 <action name="run.single">
 122                     <script>build.xml</script>
 123                     <target>test</target>
 124                     <context>
 125                         <property>test.class</property>
 126                         <folder>../test/src</folder>
 127                         <pattern>\.java$</pattern>
 128                         <format>relative-path-noext</format>
 129                         <arity>
 130                             <one-file-only/>
 131                         </arity>
 132                     </context>
 133                 </action>
 134                 <action name="debug.single">
 135                     <script>nbproject/ide-file-targets.xml</script>
 136                     <target>debug-selected-file-in-src</target>
 137                     <context>
 138                         <property>test.class</property>
 139                         <folder>../test/src</folder>
 140                         <pattern>\.java$</pattern>
 141                         <format>relative-path-noext</format>
 142                         <arity>
 143                             <one-file-only/>
 144                         </arity>
 145                     </context>
 146                 </action>
 147             </ide-actions>
 148             <view>
 149                 <items>
 150                     <source-folder style="packages">
 151                         <label>../test/src</label>
 152                         <location>../test/src</location>
 153                     </source-folder>
 154                     <source-folder style="packages">
 155                         <label>../buildtools/nasgen/src</label>
 156                         <location>../buildtools/nasgen/src</location>
 157                     </source-folder>
 158                     <source-folder style="packages">
 159                         <label>../src/jdk.scripting.nashorn/share/classes</label>
 160                         <location>../src/jdk.scripting.nashorn/share/classes</location>
 161                     </source-folder>
 162                     <source-folder style="packages">
 163                         <label>../src/jdk.scripting.nashorn.shell/share/classes</label>
 164                         <location>../src/jdk.scripting.nashorn.shell/share/classes</location>
 165                     </source-folder>
 166                     <source-folder style="packages">
 167                         <label>../src/jdk.dynalink/share/classes</label>
 168                         <location>../src/jdk.dynalink/share/classes</location>
 169                     </source-folder>
 170                     <source-file>
 171                         <location>build.xml</location>
 172                     </source-file>
 173                 </items>
 174                 <context-menu>
 175                     <ide-action name="build"/>
 176                     <ide-action name="rebuild"/>
 177                     <ide-action name="clean"/>
 178                     <ide-action name="javadoc"/>
 179                     <ide-action name="run"/>
 180                     <ide-action name="test"/>
 181                     <ide-action name="debug"/>
 182                 </context-menu>
 183             </view>
 184             <subprojects/>
 185         </general-data>
 186         <java-data xmlns="http://www.netbeans.org/ns/freeform-project-java/4">
 187             <compilation-unit>
 188                 <package-root>../test/src</package-root>
 189                 <unit-tests/>
 190                 <classpath mode="compile">../test/lib/testng.jar:../build/classes:../src/jdk.scripting.nashorn/share/classes</classpath>
 191                 <source-level>1.8</source-level>
 192             </compilation-unit>
 193             <compilation-unit>
 194                 <package-root>../buildtools/nasgen/src</package-root>
 195                 <classpath mode="compile">../build/classes:../src</classpath>
 196                 <source-level>1.8</source-level>
 197             </compilation-unit>
 198             <compilation-unit>
 199                 <package-root>../src/jdk.scripting.nashorn/share/classes</package-root>
 200                 <source-level>1.8</source-level>
 201             </compilation-unit>
 202             <compilation-unit>
 203                 <package-root>../src/jdk.scripting.nashorn.shell/share/classes</package-root>
 204                 <source-level>1.8</source-level>
 205             </compilation-unit>
 206             <compilation-unit>
 207                 <package-root>../src/jdk.dynalink/share/classes</package-root>
 208                 <source-level>1.8</source-level>
 209             </compilation-unit>
 210         </java-data>
 211     </configuration>
 212 </project>