aboutsummaryrefslogtreecommitdiffstats
path: root/nbproject/project.xml
diff options
context:
space:
mode:
Diffstat (limited to 'nbproject/project.xml')
-rw-r--r--nbproject/project.xml26
1 files changed, 26 insertions, 0 deletions
diff --git a/nbproject/project.xml b/nbproject/project.xml
index bb958bd..dc47ad4 100644
--- a/nbproject/project.xml
+++ b/nbproject/project.xml
@@ -52,6 +52,32 @@
<script>${ant.script}</script>
<target>test</target>
</action>
+ <action name="run.single">
+ <script>nbproject/ide-file-targets.xml</script>
+ <target>run-selected-file-in-src</target>
+ <context>
+ <property>run.class</property>
+ <folder>test/src</folder>
+ <pattern>\.java$</pattern>
+ <format>java-name</format>
+ <arity>
+ <one-file-only/>
+ </arity>
+ </context>
+ </action>
+ <action name="compile.single">
+ <script>nbproject/ide-file-targets.xml</script>
+ <target>compile-selected-files-in-src</target>
+ <context>
+ <property>files</property>
+ <folder>test/src</folder>
+ <pattern>\.java$</pattern>
+ <format>relative-path</format>
+ <arity>
+ <separated-files>,</separated-files>
+ </arity>
+ </context>
+ </action>
</ide-actions>
<view>
<items>