34 * </pre> |
34 * </pre> |
35 * |
35 * |
36 * For more information about system definition file v3.0 please check |
36 * For more information about system definition file v3.0 please check |
37 * <a href="http://developer.symbian.org/wiki/index.php/System_Definition">http://developer.symbian.org/wiki/index.php/System_Definition</a>. |
37 * <a href="http://developer.symbian.org/wiki/index.php/System_Definition">http://developer.symbian.org/wiki/index.php/System_Definition</a>. |
38 * |
38 * |
|
39 * <br> |
|
40 * This task relies on externals tools. Their location can be configured the following ways: |
|
41 * <li>by configuring the sysdef.tools.home property, fails if the location is incorrect. |
|
42 * <li>The parent folder of the joinsysdef tool from the PATH, fallback on SDK location. |
|
43 * <li>Default SDK location. |
|
44 * |
39 * @ant.task name="joinSysdef" category="Sysdef" |
45 * @ant.task name="joinSysdef" category="Sysdef" |
40 */ |
46 */ |
41 |
47 |
42 public class JoinTask extends AbstractSydefTask { |
48 public class JoinTask extends AbstractSydefTask { |
43 private static final String XSLT = "sf/os/buildtools/bldsystemtools/sysdeftools/joinsysdef.xsl"; |
49 private static final String XSLT = "joinsysdef.xsl"; |
44 |
50 |
45 /** |
51 /** |
46 * {@inheritDoc} |
52 * {@inheritDoc} |
47 */ |
53 */ |
48 public void execute() { |
54 public void execute() { |
|
55 // This task is configure to always fail on warnings, |
|
56 // because it doesn't fails in case of missing link. |
|
57 this.setFailOnWarning(true); |
49 check(); |
58 check(); |
50 log("Joining " + this.getSrcFile()); |
59 log("Joining " + this.getSrcFile()); |
51 log("Creating " + this.getDestFile()); |
60 log("Creating " + this.getDestFile()); |
52 transform(new Hashtable<String, String>()); |
61 transform(new Hashtable<String, String>()); |
53 } |
62 } |