I'm a new of JME … and i have some ploblem.
I use netbean 6.0 and i sucessfull in making jme project i can set to run single file and i want to know about to compile a single file how to set it … I look at "http://www.netbeans.org/kb/55/freeform-config.html#compilesingle" but i don't undertand it and i can't to set it this is my code
project.xml
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://www.netbeans.org/ns/project/1">
<type>org.netbeans.modules.ant.freeform</type>
<configuration>
<general-data xmlns="http://www.netbeans.org/ns/freeform-project/1">
<!-- Do not use Project Properties customizer when editing this file manually. -->
<name>jME</name>
<properties/>
<folders/>
<ide-actions>
<action name="build">
<target>compile</target>
</action>
<action name="clean">
<target>clean</target>
</action>
<action name="javadoc">
<target>doc</target>
</action>
<action name="run">
<target>run-testchooser</target>
</action>
<action name="test">
<target>compile-test</target>
</action>
<action name="rebuild">
<target>clean</target>
</action>
[b] <action name="compile.single">
<script>nbproject/ide-file-targets_1.xml</script>
<context>
<property>compile</property>
<folder>src</folder>
<pattern>.java$</pattern>
<format>java-name</format>
<arity>
<one-file-only/>
</arity>
</context>
</action>[/b]
<action name="run.single">
<script>nbproject/ide-file-targets.xml</script>
<target>run-selected-file-in-src</target>
<context>
<property>runclass</property>
<folder>src</folder>
<pattern>.java$</pattern>
<format>java-name</format>
<arity>
<one-file-only/>
</arity>
</context>
</action>
</ide-actions>
<view>
<items>
<source-file>
<location>build.xml</location>
</source-file>
</items>
<context-menu>
<ide-action name="build"/>
<ide-action name="clean"/>
<ide-action name="javadoc"/>
<ide-action name="run"/>
<ide-action name="test"/>
<ide-action name="rebuild"/>
</context-menu>
</view>
<subprojects/>
</general-data>
<java-data xmlns="http://www.netbeans.org/ns/freeform-project-java/1"/>
</configuration>
</project>
ide-file-targets_1.xml
<?xml version="1.0" encoding="UTF-8"?>
<project basedir=".." name="jME-IDE">
<!-- TODO: edit the following target according to your needs -->
<!-- (more info: http://www.netbeans.org/kb/41/freeform-config.html#compilesingle) -->
<target name="compile-selected-files-in-src">
<fail unless="files">Must set property 'files'</fail>
<!-- TODO decide on and define some value for ${build.classes.dir} -->
<property name="build.classes.dir" value="build"/>
<javac destdir="${build.classes.dir}" includes="${files}" source="1.5" srcdir="src"/>
</target>
</project>
thank for help.. :)