Step back in refactoring, case sensitive ignored in autocomplite, adding lesson type...
[SkiSchool.git] / build.xml
blob950eb6d33a8cb4043dfc02c83c3a0fc7cb868b7b
1 <?xml version="1.0" encoding="UTF-8"?>\r
2 <!-- You may freely edit this file. See commented blocks below for -->\r
3 <!-- some examples of how to customize the build. -->\r
4 <!-- (If you delete it and reopen the project it will be recreated.) -->\r
5 <!-- By default, only the Clean and Build commands use this build script. -->\r
6 <!-- Commands such as Run, Debug, and Test only use this build script if -->\r
7 <!-- the Compile on Save feature is turned off for the project. -->\r
8 <!-- You can turn off the Compile on Save (or Deploy on Save) setting -->\r
9 <!-- in the project's Project Properties dialog box.-->\r
10 <project name="SkiSchool" default="default" basedir="." xmlns:ear="http://www.netbeans.org/ns/j2ee-earproject/2">\r
11     <description>Builds, tests, and runs the project SkiSchool.</description>\r
12     <import file="nbproject/build-impl.xml"/>\r
13     <!--\r
15     There exist several targets which are by default empty and which can be \r
16     used for execution of your tasks. These targets are usually executed \r
17     before and after some main targets. They are: \r
19       pre-init:                 called before initialization of project properties \r
20       post-init:                called after initialization of project properties \r
21       pre-compile:              called before javac compilation \r
22       post-compile:             called after javac compilation \r
23       pre-dist:                 called before archive building \r
24       post-dist:                called after archive building \r
25       post-clean:               called after cleaning build products \r
26       pre-run-deploy:           called before deploying\r
27       post-run-deploy:          called after deploying\r
29     Example of pluging an obfuscator after the compilation could look like \r
31         <target name="post-compile">\r
32             <obfuscate>\r
33                 <fileset dir="${build.classes.dir}"/>\r
34             </obfuscate>\r
35         </target>\r
37     For list of available properties check the imported \r
38     nbproject/build-impl.xml file. \r
41     Other way how to customize the build is by overriding existing main targets.\r
42     The target of interest are: \r
44       do-dist:                archive building\r
45       run:                    execution of project \r
47     Example of overriding the target for project execution could look like \r
49         <target name="run" depends="<PROJNAME>-impl.jar">\r
50             <exec dir="bin" executable="launcher.exe">\r
51                 <arg file="${dist.jar}"/>\r
52             </exec>\r
53         </target>\r
55     Notice that overridden target depends on jar target and not only on \r
56     compile target as regular run target does. Again, for list of available \r
57     properties which you can use check the target you are overriding in \r
58     nbproject/build-impl.xml file. \r
60     -->\r
61 </project>\r