summaryrefslogtreecommitdiffstats
path: root/nbproject/project.xml
diff options
context:
space:
mode:
Diffstat (limited to 'nbproject/project.xml')
-rwxr-xr-xnbproject/project.xml26
1 files changed, 26 insertions, 0 deletions
diff --git a/nbproject/project.xml b/nbproject/project.xml
index 054a6bc..66a1c6c 100755
--- a/nbproject/project.xml
+++ b/nbproject/project.xml
@@ -137,6 +137,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-java</target>
+ <context>
+ <property>run.class</property>
+ <folder>src/java</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-java</target>
+ <context>
+ <property>files</property>
+ <folder>src/java</folder>
+ <pattern>\.java$</pattern>
+ <format>relative-path</format>
+ <arity>
+ <separated-files>,</separated-files>
+ </arity>
+ </context>
+ </action>
</ide-actions>
<export>
<type>folder</type>