buildframework/helium/sf/java/sysdef/src/com/nokia/helium/sysdef/ant/taskdefs/MergeTask.java
equal
deleted
inserted
replaced
48 * |
48 * |
49 * |
49 * |
50 * For more information about system definition file v3.0 please check |
50 * For more information about system definition file v3.0 please check |
51 * <a href="http://developer.symbian.org/wiki/index.php/System_Definition">http://developer.symbian.org/wiki/index.php/System_Definition</a>. |
51 * <a href="http://developer.symbian.org/wiki/index.php/System_Definition">http://developer.symbian.org/wiki/index.php/System_Definition</a>. |
52 * |
52 * |
|
53 * <br> |
|
54 * This task relies on externals tools. Their location can be configured the following ways: |
|
55 * <li>by configuring the sysdef.tools.home property, fails if the location is incorrect. |
|
56 * <li>The parent folder of the joinsysdef tool from the PATH, fallback on SDK location. |
|
57 * <li>Default SDK location. |
|
58 |
53 * @ant.task name="mergeSysdef" category="Sysdef" |
59 * @ant.task name="mergeSysdef" category="Sysdef" |
54 */ |
60 */ |
55 |
61 |
56 public class MergeTask extends AbstractSydefTask { |
62 public class MergeTask extends AbstractSydefTask { |
57 private static final String XSLT = "sf/os/buildtools/bldsystemtools/sysdeftools/mergesysdef.xsl"; |
63 private static final String XSLT = "mergesysdef.xsl"; |
58 private File downstreamFile; |
64 private File downstreamFile; |
59 private List<ResourceCollection> resourceCollections = new ArrayList<ResourceCollection>(); |
65 private List<ResourceCollection> resourceCollections = new ArrayList<ResourceCollection>(); |
60 |
66 |
61 /** |
67 /** |
62 * Get the downstream file for the merge. |
68 * Get the downstream file for the merge. |
154 /** |
160 /** |
155 * {@inheritDoc} |
161 * {@inheritDoc} |
156 */ |
162 */ |
157 @Override |
163 @Override |
158 protected File getXsl() { |
164 protected File getXsl() { |
159 return new File(this.getEpocroot(), XSLT); |
165 return new File(SysdefUtils.getSysdefHome(getProject(), this.getEpocroot()), XSLT); |
160 } |
166 } |
161 } |
167 } |