Changeset 3924
- Timestamp:
- 10/22/08 13:03:45 (3 months ago)
- Files:
-
- trunk/pfixcore/ChangeLog (modified) (1 diff)
- trunk/pfixcore/skel/build-skel.xml (modified) (1 diff)
- trunk/pfixcore/src/de/schlund/pfixxml/config/BuildTimePropTask.java (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/pfixcore/ChangeLog
r3923 r3924 1 2008-10-22 Martin Leidig <mleidig@schlund.de> 2 3 Added 'docroot' buildtime property, which can be used in XML property 4 files to create absolute paths (necessary if the properties are read 5 by APIs which can't handle the 'pfixroot:' scheme and can't use the 6 ResourceUtil class. Example: <prop name="foo">${docroot}/bar</prop> 7 8 * src/de/schlund/pfixxml/config/BuildTimePropTask.java: added 9 'docroot' property 10 * skel/build-skel.xml: added 'docroot' attribute to task 11 1 12 2008-10-22 Martin Leidig <mleidig@schlund.de> 2 13 trunk/pfixcore/skel/build-skel.xml
r3916 r3924 743 743 machine="${machine}" 744 744 fqdn="${fqdn}" 745 docroot="${dir.projects}" 745 746 /> 746 747 </target> trunk/pfixcore/src/de/schlund/pfixxml/config/BuildTimePropTask.java
r3394 r3924 39 39 40 40 private String uid; 41 42 private String docroot; 41 43 42 44 public void setFile(File file) { … … 60 62 } 61 63 64 public void setDocroot(String docroot) { 65 this.docroot = docroot; 66 } 67 62 68 /* 63 69 * (non-Javadoc) … … 79 85 props.setProperty("fqdn", fqdn); 80 86 props.setProperty("uid", uid); 87 props.setProperty("docroot", docroot); 81 88 82 89 Hashtable<String, String> antProps = this.getProject().getProperties();
