buildframework/helium/sf/java/sysdef/src/com/nokia/helium/sysdef/ant/taskdefs/DowngradeTask.java
equal
deleted
inserted
replaced
32 * </pre> |
32 * </pre> |
33 * |
33 * |
34 * For more information about system definition file v3.0 please check |
34 * For more information about system definition file v3.0 please check |
35 * <a href="http://developer.symbian.org/wiki/index.php/System_Definition">http://developer.symbian.org/wiki/index.php/System_Definition</a>. |
35 * <a href="http://developer.symbian.org/wiki/index.php/System_Definition">http://developer.symbian.org/wiki/index.php/System_Definition</a>. |
36 * |
36 * |
|
37 * <br> |
|
38 * This task relies on externals tools. Their location can be configured the following ways: |
|
39 * <li>by configuring the sysdef.tools.home property, fails if the location is incorrect. |
|
40 * <li>The parent folder of the joinsysdef tool from the PATH, fallback on SDK location. |
|
41 * <li>Default SDK location. |
|
42 * |
37 * @ant.task name="downgradeSysdef" category="Sysdef" |
43 * @ant.task name="downgradeSysdef" category="Sysdef" |
38 */ |
44 */ |
39 public class DowngradeTask extends AbstractSydefTask { |
45 public class DowngradeTask extends AbstractSydefTask { |
40 private static final String XSLT = "sf/os/buildtools/bldsystemtools/sysdeftools/sysdefdowngrade.xsl"; |
46 private static final String XSLT = "sysdefdowngrade.xsl"; |
41 |
47 |
42 /** |
48 /** |
43 * {@inheritDoc} |
49 * {@inheritDoc} |
44 */ |
50 */ |
45 public void execute() { |
51 public void execute() { |
52 /** |
58 /** |
53 * {@inheritDoc} |
59 * {@inheritDoc} |
54 */ |
60 */ |
55 @Override |
61 @Override |
56 protected File getXsl() { |
62 protected File getXsl() { |
57 return new File(this.getEpocroot(), XSLT); |
63 return new File(SysdefUtils.getSysdefHome(getProject(), this.getEpocroot()), XSLT); |
58 } |
64 } |
59 } |
65 } |