80 |
80 |
81 |
81 |
82 <h2>Target sf-generate-source-spec</h2> |
82 <h2>Target sf-generate-source-spec</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#L150">D:\maintools\sf-config\common\build.xml:150:</a></tt> |
85 <p> <tt class="docutils literal"><a href="/d:/maintools/sf-config/common/build.xml#L157">d:\maintools\sf-config\common\build.xml:157:</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/> |
139 <p align="center"> |
139 <p align="center"> |
140 <img src="target-sf-generate-source-spec.dot.png" alt="sf-generate-source-spec dependencies" usemap="#dependencies" |
140 <img src="target-sf-generate-source-spec.dot.png" alt="sf-generate-source-spec dependencies" usemap="#dependencies" |
141 style="border-style: none"/> |
141 style="border-style: none"/> |
142 <map name="dependencies" id="dependencies"> |
142 <map name="dependencies" id="dependencies"> |
143 <area shape="rect" id="node1" href="target-sf-generate-source-spec.html" title="sf-generate-source-spec" alt="" coords="165,41,357,89"> |
143 <area shape="rect" id="node1" href="target-sf-generate-source-spec.html" title="sf-generate-source-spec" alt="" coords="165,41,357,89"> |
144 <area shape="rect" id="node6" href="target-sf-parse-project-config.html" title="sf-parse-project-config" alt="" coords="407,41,583,89"> |
|
145 <area shape="rect" id="node2" href="target-sf-prep.html" title="sf-prep" alt="" coords="25,5,97,53"> |
144 <area shape="rect" id="node2" href="target-sf-prep.html" title="sf-prep" alt="" coords="25,5,97,53"> |
146 <area shape="rect" id="node4" href="target-sf-get-source.html" title="sf-get-source" alt="" coords="5,77,117,125"> |
145 <area shape="rect" id="node4" href="target-sf-get-source.html" title="sf-get-source" alt="" coords="5,77,117,125"> |
147 </map> |
146 </map> |
148 </p> |
147 </p> |
149 <hr/> |
148 <hr/> |
150 |
149 |
151 |
150 |
152 <h3>Source code</h3> |
151 <h3>Source code</h3> |
153 <pre> |
152 <pre> |
154 <target name="sf-generate-source-spec" depends="sf-parse-project-config"> |
153 <target name="sf-generate-source-spec"> |
155 |
|
156 <!-- Generate the sources.csv if hg cache is activated --> |
154 <!-- Generate the sources.csv if hg cache is activated --> |
157 <if><istrue value="${sf.spec.sourcesync.usecache}"/> |
155 <if><istrue value="${sf.spec.sourcesync.usecache}"/> |
158 <then> |
156 <then> |
159 <echo message="Generating Hg local cache..."/> |
157 <echo message="Generating Hg local cache..."/> |
160 <mkdir dir="${sf.common.config.dir}/generated"/> |
158 <mkdir dir="${sf.common.config.dir}/generated"/> |