idl.xml (6ad462b0) idl.xml (f420f949)
1<?xml version="1.0" encoding="UTF-8"?>
2<!--***********************************************************
3 *
4 * Licensed to the Apache Software Foundation (ASF) under one
5 * or more contributor license agreements. See the NOTICE file
6 * distributed with this work for additional information
7 * regarding copyright ownership. The ASF licenses this file
8 * to you under the Apache License, Version 2.0 (the

--- 62 unchanged lines hidden (view full) ---

71 </macrodef>
72
73 <macrodef name="idlc">
74 <attribute name="idlFiles"/>
75 <attribute name="urdDir"/>
76 <sequential>
77 <mkdir dir="@{urdDir}"/>
78 <apply executable="${openoffice.home}/sdk/bin/idlc" failonerror="true">
1<?xml version="1.0" encoding="UTF-8"?>
2<!--***********************************************************
3 *
4 * Licensed to the Apache Software Foundation (ASF) under one
5 * or more contributor license agreements. See the NOTICE file
6 * distributed with this work for additional information
7 * regarding copyright ownership. The ASF licenses this file
8 * to you under the Apache License, Version 2.0 (the

--- 62 unchanged lines hidden (view full) ---

71 </macrodef>
72
73 <macrodef name="idlc">
74 <attribute name="idlFiles"/>
75 <attribute name="urdDir"/>
76 <sequential>
77 <mkdir dir="@{urdDir}"/>
78 <apply executable="${openoffice.home}/sdk/bin/idlc" failonerror="true">
79 <env key="PATH" value="${openoffice.home}/program"/>
79 <env key="LD_LIBRARY_PATH" value="${openoffice.home}/program"/>
80 <env key="DYLD_LIBRARY_PATH" value="${openoffice.home}/program"/>
81 <arg value="-I${openoffice.home}/sdk/idl"/>
82 <arg value="-O"/>
83 <arg value="@{urdDir}"/>
84 <arg value="-verbose"/>
85 <arg value="-cid"/>
86 <arg value="-we"/>
87 <fileset refid="@{idlFiles}"/>
88 </apply>
89 </sequential>
90 </macrodef>
91
92 <macrodef name="regmerge">
93 <attribute name="urdDir"/>
94 <attribute name="rdbFile"/>
95 <sequential>
96 <delete file="@{rdbFile}"/>
97 <apply executable="${openoffice.home}/program/regmerge" failonerror="true">
80 <env key="LD_LIBRARY_PATH" value="${openoffice.home}/program"/>
81 <env key="DYLD_LIBRARY_PATH" value="${openoffice.home}/program"/>
82 <arg value="-I${openoffice.home}/sdk/idl"/>
83 <arg value="-O"/>
84 <arg value="@{urdDir}"/>
85 <arg value="-verbose"/>
86 <arg value="-cid"/>
87 <arg value="-we"/>
88 <fileset refid="@{idlFiles}"/>
89 </apply>
90 </sequential>
91 </macrodef>
92
93 <macrodef name="regmerge">
94 <attribute name="urdDir"/>
95 <attribute name="rdbFile"/>
96 <sequential>
97 <delete file="@{rdbFile}"/>
98 <apply executable="${openoffice.home}/program/regmerge" failonerror="true">
99 <env key="PATH" value="${openoffice.home}/program"/>
98 <env key="LD_LIBRARY_PATH" value="${openoffice.home}/program"/>
99 <env key="DYLD_LIBRARY_PATH" value="${openoffice.home}/program"/>
100 <arg value="@{rdbFile}"/>
101 <arg value="/UCR"/>
102 <fileset dir="@{urdDir}" includes="**/*.urd"/>
103 </apply>
104 </sequential>
105 </macrodef>
106
107 <macrodef name="javamaker">
108 <attribute name="rdbFile"/>
109 <attribute name="outputDir"/>
110 <attribute name="noDependentTypes" default="false"/>
111 <attribute name="excludes" default=""/>
112 <sequential>
113 <mkdir dir="@{outputDir}"/>
114 <exec executable="${openoffice.home}/sdk/bin/javamaker" failonerror="true">
100 <env key="LD_LIBRARY_PATH" value="${openoffice.home}/program"/>
101 <env key="DYLD_LIBRARY_PATH" value="${openoffice.home}/program"/>
102 <arg value="@{rdbFile}"/>
103 <arg value="/UCR"/>
104 <fileset dir="@{urdDir}" includes="**/*.urd"/>
105 </apply>
106 </sequential>
107 </macrodef>
108
109 <macrodef name="javamaker">
110 <attribute name="rdbFile"/>
111 <attribute name="outputDir"/>
112 <attribute name="noDependentTypes" default="false"/>
113 <attribute name="excludes" default=""/>
114 <sequential>
115 <mkdir dir="@{outputDir}"/>
116 <exec executable="${openoffice.home}/sdk/bin/javamaker" failonerror="true">
117 <env key="PATH" value="${openoffice.home}/program"/>
115 <env key="LD_LIBRARY_PATH" value="${openoffice.home}/program"/>
116 <env key="DYLD_LIBRARY_PATH" value="${openoffice.home}/program"/>
117 <arg value="-O@{outputDir}"/>
118 <arg value="-BUCR"/>
119 <arg value="-nD"
120 if:true="@{noDependentTypes}"/>
121 <arg value="@{rdbFile}"/>
122 <arg value="-X@{excludes}"
123 unless:blank="@{excludes}"/>
124 </exec>
125 </sequential>
126 </macrodef>
127
128</project>
129
118 <env key="LD_LIBRARY_PATH" value="${openoffice.home}/program"/>
119 <env key="DYLD_LIBRARY_PATH" value="${openoffice.home}/program"/>
120 <arg value="-O@{outputDir}"/>
121 <arg value="-BUCR"/>
122 <arg value="-nD"
123 if:true="@{noDependentTypes}"/>
124 <arg value="@{rdbFile}"/>
125 <arg value="-X@{excludes}"
126 unless:blank="@{excludes}"/>
127 </exec>
128 </sequential>
129 </macrodef>
130
131</project>
132