author | David Powell <david.e.powell@oracle.com> |
Fri, 21 Jan 2011 17:24:05 -0800 | |
changeset 641 | f1833b84c12f |
parent 391 | 71abce159a62 |
child 700 | fe2885279e58 |
permissions | -rw-r--r-- |
0 | 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 |
||
641
f1833b84c12f
17760 deliver .desktop file for sharemgr
David Powell <david.e.powell@oracle.com>
parents:
391
diff
changeset
|
22 |
Copyright (c) 2009, 2011, Oracle and/or its affiliates. All rights reserved. |
0 | 23 |
--> |
24 |
||
25 |
<project name="panelsdef"> |
|
26 |
<import file="../build-vpanels.xml" /> |
|
27 |
<import file="env-panels.xml" /> |
|
28 |
||
29 |
<!-- Xslt would be a better way of doing this --> |
|
30 |
<target name="generate_project"> |
|
245
4c33bce63cab
7761 panels definitions could be simpler, and be read on demand
David Powell <David.Powell@sun.com>
parents:
217
diff
changeset
|
31 |
<condition property="jar_aux" |
4c33bce63cab
7761 panels definitions could be simpler, and be read on demand
David Powell <David.Powell@sun.com>
parents:
217
diff
changeset
|
32 |
value="<file>${panel.jar_aux}</file>" else=""> |
0 | 33 |
<isset property="panel.jar_aux"/> |
34 |
</condition> |
|
35 |
||
36 |
<generate.filter fromdir=".." pattern="${paneltmpl}" |
|
37 |
from="${paneltmpl}" to="${panel.panel}.xml"> |
|
38 |
<filter token="JAR_DIR" value="${abs.vpanels}" /> |
|
39 |
<filter token="JAR_FILE" |
|
40 |
value="panel/${proj.jarfile}" /> |
|
41 |
<filter token="JAR_AUX" value="${jar_aux}" /> |
|
42 |
||
43 |
<filter token="PANEL" value="${panel.panel}" /> |
|
44 |
<filter token="CLASS" value="${panel.class}" /> |
|
45 |
<filter token="TMPL_NAME" value="${panel.name}" /> |
|
46 |
</generate.filter> |
|
47 |
</target> |
|
48 |
||
641
f1833b84c12f
17760 deliver .desktop file for sharemgr
David Powell <david.e.powell@oracle.com>
parents:
391
diff
changeset
|
49 |
<target name="install_icon"> |
f1833b84c12f
17760 deliver .desktop file for sharemgr
David Powell <david.e.powell@oracle.com>
parents:
391
diff
changeset
|
50 |
<mkdir dir="${proto.vppixmaps}" /> |
f1833b84c12f
17760 deliver .desktop file for sharemgr
David Powell <david.e.powell@oracle.com>
parents:
391
diff
changeset
|
51 |
<copy file="${panel.icon.src}" |
f1833b84c12f
17760 deliver .desktop file for sharemgr
David Powell <david.e.powell@oracle.com>
parents:
391
diff
changeset
|
52 |
tofile="${proto.vppixmaps}/${panel.icon.dst}" /> |
f1833b84c12f
17760 deliver .desktop file for sharemgr
David Powell <david.e.powell@oracle.com>
parents:
391
diff
changeset
|
53 |
</target> |
f1833b84c12f
17760 deliver .desktop file for sharemgr
David Powell <david.e.powell@oracle.com>
parents:
391
diff
changeset
|
54 |
|
0 | 55 |
<target name="install" depends="jar,install_project"> |
56 |
<install.default targetdir="${proto.panels}" /> |
|
284
255095584c55
8351 need way to build without building javadoc
David Powell <David.Powell@sun.com>
parents:
245
diff
changeset
|
57 |
<install.vpxml /> |
255095584c55
8351 need way to build without building javadoc
David Powell <David.Powell@sun.com>
parents:
245
diff
changeset
|
58 |
<mkdir dir="${proto.vppanel}" /> |
0 | 59 |
<copy file="${proj.gen}/${panel.panel}.xml" |
284
255095584c55
8351 need way to build without building javadoc
David Powell <David.Powell@sun.com>
parents:
245
diff
changeset
|
60 |
tofile="${proto.vppanel}/${panel.panel}.xml" /> |
0 | 61 |
</target> |
62 |
||
63 |
<path id="classpath.panels"> |
|
64 |
<pathelement location="${ws.java}/scf/common/scf-common.jar" /> |
|
65 |
<pathelement location="${ws.java}/util/vpanels-util.jar" /> |
|
66 |
<pathelement |
|
67 |
location="${ws.java}/vpanels/common/vpanels-common.jar" /> |
|
68 |
<pathelement |
|
69 |
location="${ws.java}/vpanels/panel/vpanels-panel.jar" /> |
|
70 |
</path> |
|
71 |
||
72 |
<path id="classpath.javac" refid="classpath.panels" /> |
|
73 |
</project> |