80 |
80 |
81 |
81 |
82 <h2>Target sf-preprocess-package-config</h2> |
82 <h2>Target sf-preprocess-package-config</h2> |
83 |
83 |
84 <p><b>Location</b></p> |
84 <p><b>Location</b></p> |
85 <p> <tt class="docutils literal"><a href="/D:/maintools/sf-config/common/build.xml#L441">D:\maintools\sf-config\common\build.xml:441:</a></tt> |
85 <p> <tt class="docutils literal"><a href="/d:/maintools/sf-config/common/build.xml#L446">d:\maintools\sf-config\common\build.xml:446:</a></tt> |
86 </p> |
86 </p> |
87 |
87 |
88 <p><b>Conditional execution</b></p> |
88 <p><b>Conditional execution</b></p> |
89 <p>No conditions on target execution.</p> |
89 <p>No conditions on target execution.</p> |
90 <hr/> |
90 <hr/> |
152 |
155 |
153 <h3>Source code</h3> |
156 <h3>Source code</h3> |
154 <pre> |
157 <pre> |
155 <target name="sf-preprocess-package-config"> |
158 <target name="sf-preprocess-package-config"> |
156 <mkdir dir="${sf.common.config.dir}/generated"/> |
159 <mkdir dir="${sf.common.config.dir}/generated"/> |
157 <if><istrue value="${sf.spec.package.src.enable}"/> |
|
158 <then> |
|
159 <echo message="INFO Packaging Source Repos"/> |
|
160 <property name="sf-preprocess-package-config.arg" value=""/> |
|
161 </then> |
|
162 <else> |
|
163 <echo message="INFO Packaging: Ignoring Source Repos"/> |
|
164 <property name="sf-preprocess-package-config.arg" value="--nosource"/> |
|
165 </else> |
|
166 </if> |
|
167 |
|
168 <exec executable="perl" dir="${build.drive}/" failonerror="false" output="${build.log.dir}/zipconfig.log"> |
160 <exec executable="perl" dir="${build.drive}/" failonerror="false" output="${build.log.dir}/zipconfig.log"> |
169 <arg value="${sf.common.config.dir}/tools/populateziptemplate.pl"/> |
161 <arg value="${sf.common.config.dir}/tools/populateziptemplate.pl"/> |
170 <arg value="${sf.spec.sourcesync.sourcespecdir}/${sf.spec.sourcesync.sourcespecfile}"/> |
162 <arg value="${sf.spec.sourcesync.sourcespecdir}/${sf.spec.sourcesync.sourcespecfile}"/> |
171 <arg value="${sf.common.config.dir}/templates/zip.cfg.xml.ftl.template"/> |
163 <arg value="${sf.common.config.dir}/templates/zip.cfg.xml.ftl.template"/> |
172 <arg value="${sf.common.config.dir}/generated/zip.cfg.xml.ftl"/> |
164 <arg value="${sf.common.config.dir}/generated/zip.cfg.xml.ftl"/> |
173 <arg value="${build.log.dir}/rnd_excludefile.txt"/> |
165 <arg value="${build.log.dir}/rnd_excludefile.txt"/> |
174 <arg value="${sf-preprocess-package-config.arg}"/> |
166 </exec> |
|
167 <exec executable="perl" failonerror="false" output="${build.log.dir}/summary/PreprocessPackageConfig_BRAG.xml" logError="true"> |
|
168 <arg value="${sf.common.config.dir}/tools/brag/logToBRAG.pl"/> |
|
169 <arg value="--phase=Prebuild"/> |
|
170 <arg value="--step=Preprocess package config"/> |
|
171 <arg value="--rules=${sf.common.config.dir}/tools/brag/rules.PreprocessPackageConfig.tsv"/> |
|
172 <arg value="${build.log.dir}/zipconfig.log"/> |
175 </exec> |
173 </exec> |
176 </target> |
174 </target> |
177 </pre> |
175 </pre> |
178 |
176 |
179 |
177 |