source: ccr/trunk/nhin-vista/projects/NHINC/Current/Product/Production/Examples/DynamicPolicyExample/TokenInfoManagerEJB/build.xml@ 507

Last change on this file since 507 was 507, checked in by George Lilly, 15 years ago

NHIN gateway and adaptor for use on linux with VistA EHR and RPMS

File size: 4.1 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!-- You may freely edit this file. See commented blocks below for -->
3<!-- some examples of how to customize the build. -->
4<!-- (If you delete it and reopen the project it will be recreated.) -->
5<project name="TokenInfoManagerEJB" default="default" basedir="." xmlns:ejbjarproject="http://www.netbeans.org/ns/j2ee-ejbjarproject/3">
6 <description>Builds, tests, and runs the project TokenInfoManagerEJB.</description>
7 <import file="nbproject/build-impl.xml"/>
8 <target name="build">
9 <property name="target-to-call" value="dist" />
10 <antcall target="call-target-in-isolation-if-out-of-date" />
11 </target>
12 <target name="clean-build" depends="clean,dist" />
13 <target name="clean-test" depends="clean,dist" />
14 <target name="build-test" depends="dist" />
15 <!--
16
17 There exist several targets which are by default empty and which can be
18 used for execution of your tasks. These targets are usually executed
19 before and after some main targets. They are:
20
21 -pre-init: called before initialization of project properties
22 -post-init: called after initialization of project properties
23 -pre-compile: called before javac compilation
24 -post-compile: called after javac compilation
25 -pre-compile-single: called before javac compilation of single file
26 -post-compile-single: called after javac compilation of single file
27 -pre-dist: called before archive building
28 -post-dist: called after archive building
29 -post-clean: called after cleaning build products
30 -pre-run-deploy: called before deploying
31 -post-run-deploy: called after deploying
32
33 (Targets beginning with '-' are not intended to be called on their own.)
34
35 Example of pluging an obfuscator after the compilation could look like
36
37 <target name="-post-compile">
38 <obfuscate>
39 <fileset dir="${build.classes.dir}"/>
40 </obfuscate>
41 </target>
42
43 For list of available properties check the imported
44 nbproject/build-impl.xml file.
45
46
47 Other way how to customize the build is by overriding existing main targets.
48 The target of interest are:
49
50 init-macrodef-javac: defines macro for javac compilation
51 init-macrodef-debug: defines macro for class debugging
52 do-dist: archive building
53 run: execution of project
54 javadoc-build: javadoc generation
55
56 Example of overriding the target for project execution could look like
57
58 <target name="run" depends="<PROJNAME>-impl.jar">
59 <exec dir="bin" executable="launcher.exe">
60 <arg file="${dist.jar}"/>
61 </exec>
62 </target>
63
64 Notice that overridden target depends on jar target and not only on
65 compile target as regular run target does. Again, for list of available
66 properties which you can use check the target you are overriding in
67 nbproject/build-impl.xml file.
68
69 -->
70 <!-- Override to copy schemas to the build output -->
71 <target name="wsimport-service-TokenInfoManager" depends="wsimport-init,wsimport-service-check-TokenInfoManager" unless="wsimport-service-TokenInfoManager.notRequired">
72 <wsimport xendorsed="true" sourcedestdir="${build.generated.dir}/wsimport/service" extension="true" verbose="true" destdir="${build.generated.dir}/wsimport/binaries" wsdl="${basedir}/${meta.inf}/xml-resources/web-services/TokenInfoManager/wsdl/NhincComponentTokenInfoManager.wsdl" catalog="catalog.xml"/>
73 <copy todir="${basedir}/${meta.inf}/wsdl/TokenInfoManager">
74 <fileset dir="${basedir}/${meta.inf}/xml-resources/web-services/TokenInfoManager/wsdl/"/>
75 </copy>
76 <copy todir="${basedir}/${meta.inf}/wsdl/schemas">
77 <fileset dir="${basedir}/${meta.inf}/xml-resources/web-services/TokenInfoManager/schemas/"/>
78 </copy>
79 </target>
80</project>
Note: See TracBrowser for help on using the repository browser.