project.xml revision 1447:40f468a095c6
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>../test/src</label>
54                    <type>java</type>
55                    <location>../test/src</location>
56                    <encoding>UTF-8</encoding>
57                </source-folder>
58                <source-folder>
59                    <label>../buildtools/nasgen/src</label>
60                    <type>java</type>
61                    <location>../buildtools/nasgen/src</location>
62                    <encoding>UTF-8</encoding>
63                </source-folder>
64                <source-folder>
65                    <label>../src/jdk.scripting.nashorn/share/classes</label>
66                    <type>java</type>
67                    <location>../src/jdk.scripting.nashorn/share/classes</location>
68                    <encoding>UTF-8</encoding>
69                </source-folder>
70                <source-folder>
71                    <label>../src/jdk.scripting.nashorn.shell/share/classes</label>
72                    <type>java</type>
73                    <location>../src/jdk.scripting.nashorn.shell/share/classes</location>
74                    <encoding>UTF-8</encoding>
75                </source-folder>
76                <source-folder>
77                    <label>../src/jdk.scripting.nashorn.shell/share/classes</label>
78                    <location>../src/jdk.scripting.nashorn.shell/share/classes</location>
79                </source-folder>
80            </folders>
81            <ide-actions>
82                <action name="build">
83                    <script>nbproject/nbjdk.xml</script>
84                    <target>jar</target>
85                </action>
86                <action name="clean">
87                    <script>nbproject/nbjdk.xml</script>
88                    <target>clean</target>
89                </action>
90                <action name="javadoc">
91                    <script>nbproject/nbjdk.xml</script>
92                    <target>javadoc</target>
93                </action>
94                <action name="test">
95                    <script>nbproject/nbjdk.xml</script>
96                    <target>test</target>
97                </action>
98                <action name="rebuild">
99                    <script>nbproject/nbjdk.xml</script>
100                    <target>clean</target>
101                    <target>jar</target>
102                </action>
103                <action name="run">
104                    <script>nbproject/nbjdk.xml</script>
105                    <target>run</target>
106                </action>
107                <action name="debug">
108                    <script>nbproject/nbjdk.xml</script>
109                    <target>debug-nb</target>
110                </action>
111                <action name="run.single">
112                    <script>build.xml</script>
113                    <target>test</target>
114                    <context>
115                        <property>test.class</property>
116                        <folder>../test/src</folder>
117                        <pattern>\.java$</pattern>
118                        <format>relative-path-noext</format>
119                        <arity>
120                            <one-file-only/>
121                        </arity>
122                    </context>
123                </action>
124                <action name="debug.single">
125                    <script>nbproject/ide-file-targets.xml</script>
126                    <target>debug-selected-file-in-src</target>
127                    <context>
128                        <property>test.class</property>
129                        <folder>../test/src</folder>
130                        <pattern>\.java$</pattern>
131                        <format>relative-path-noext</format>
132                        <arity>
133                            <one-file-only/>
134                        </arity>
135                    </context>
136                </action>
137            </ide-actions>
138            <view>
139                <items>
140                    <source-folder style="packages">
141                        <label>../test/src</label>
142                        <location>../test/src</location>
143                    </source-folder>
144                    <source-folder style="packages">
145                        <label>../buildtools/nasgen/src</label>
146                        <location>../buildtools/nasgen/src</location>
147                    </source-folder>
148                    <source-folder style="packages">
149                        <label>../src/jdk.scripting.nashorn/share/classes</label>
150                        <location>../src/jdk.scripting.nashorn/share/classes</location>
151                    </source-folder>
152                    <source-folder style="packages">
153                        <label>../src/jdk.scripting.nashorn.shell/share/classes</label>
154                        <location>../src/jdk.scripting.nashorn.shell/share/classes</location>
155                    </source-folder>
156                    <source-file>
157                        <location>build.xml</location>
158                    </source-file>
159                </items>
160                <context-menu>
161                    <ide-action name="build"/>
162                    <ide-action name="rebuild"/>
163                    <ide-action name="clean"/>
164                    <ide-action name="javadoc"/>
165                    <ide-action name="run"/>
166                    <ide-action name="test"/>
167                    <ide-action name="debug"/>
168                </context-menu>
169            </view>
170            <subprojects/>
171        </general-data>
172        <java-data xmlns="http://www.netbeans.org/ns/freeform-project-java/4">
173            <compilation-unit>
174                <package-root>../test/src</package-root>
175                <unit-tests/>
176                <classpath mode="compile">../test/lib/testng.jar:../build/classes:../src/jdk.scripting.nashorn/share/classes</classpath>
177                <source-level>1.8</source-level>
178            </compilation-unit>
179            <compilation-unit>
180                <package-root>../buildtools/nasgen/src</package-root>
181                <classpath mode="compile">../build/classes:../src</classpath>
182                <source-level>1.8</source-level>
183            </compilation-unit>
184            <compilation-unit>
185                <package-root>../src/jdk.scripting.nashorn/share/classes</package-root>
186                <source-level>1.8</source-level>
187            </compilation-unit>
188            <compilation-unit>
189                <package-root>../src/jdk.scripting.nashorn.shell/share/classes</package-root>
190                <source-level>1.8</source-level>
191            </compilation-unit>
192        </java-data>
193    </configuration>
194</project>
195