1 <?xml version="1.0"?> |
|
2 <!-- |
|
3 CDDL HEADER START |
|
4 |
|
5 The contents of this file are subject to the terms of the |
|
6 Common Development and Distribution License (the "License"). |
|
7 You may not use this file except in compliance with the License. |
|
8 |
|
9 You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
|
10 or http://www.opensolaris.org/os/licensing. |
|
11 See the License for the specific language governing permissions |
|
12 and limitations under the License. |
|
13 |
|
14 When distributing Covered Code, include this CDDL HEADER in each |
|
15 file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
|
16 If applicable, add the following below this CDDL HEADER, with the |
|
17 fields enclosed by brackets "[]" replaced with your own identifying |
|
18 information: Portions Copyright [yyyy] [name of copyright owner] |
|
19 |
|
20 CDDL HEADER END |
|
21 |
|
22 Copyright (c) 2009, 2014, Oracle and/or its affiliates. All rights reserved. |
|
23 --> |
|
24 |
|
25 <project name="vpanels-client" default="jar"> |
|
26 <property environment="env" /> |
|
27 <import file="${env.SRC}/ant-rules/build-vpanels.xml" /> |
|
28 |
|
29 <presetdef name="generate.constants"> |
|
30 <generate.filter pattern="com/**/*.java.in" |
|
31 from="*.java.in" to="*.java"> |
|
32 <filter token="VERSION" value="${app.version}" /> |
|
33 </generate.filter> |
|
34 </presetdef> |
|
35 |
|
36 <target name="run"> |
|
37 <java fork="true" jar="${proj.jarfile}"> |
|
38 <arg value="browser" /> |
|
39 </java> |
|
40 </target> |
|
41 |
|
42 <target name="profile"> |
|
43 <fail unless="netbeans.home"> |
|
44 This target can only be used within NetBeans. |
|
45 </fail> |
|
46 |
|
47 <java fork="true" jar="${proj.jarfile}"> |
|
48 <jvmarg value="${profiler.info.jvmargs.agent}" /> |
|
49 </java> |
|
50 </target> |
|
51 |
|
52 <target name="generate_project"> |
|
53 <generate.constants /> |
|
54 </target> |
|
55 |
|
56 <path id="classpath.javac"> |
|
57 <fileset refid="proj.extlibs" /> |
|
58 <pathelement location="${proj.vpanel}/vpanels-panel.jar" /> |
|
59 <pathelement location="${proj.util}/vpanels-util.jar" /> |
|
60 <pathelement location="${abs.rad.java}/files.jar" /> |
|
61 <pathelement location="${abs.rad.java}/network.jar" /> |
|
62 <pathelement location="${abs.rad.java}/panels.jar" /> |
|
63 <pathelement location="${abs.rad.java}/smf_old.jar" /> |
|
64 <pathelement location="${abs.rad.java}/rad.jar" /> |
|
65 <pathelement location="${abs.rad.java}/pam.jar" /> |
|
66 <pathelement location="${abs.rad.java}/zonesbridge.jar" /> |
|
67 </path> |
|
68 </project> |
|