Skip to content

Ant

April 15, 2008
tags:
http://ant.apache.org/manual/index.html

http://supportweb.cs.bham.ac.uk/docs/tutorials/docsystem/build/tutorials/ant/ant.html

<property file="${user.home}/${project.name}.properties"/>
<property file="${user.home}/build.properties"/>
<property name="config.filename" value="${user.name}.properties"/>
<property file="config/${config.filename}"/>

<property name="prop.message" value="must be defined, preferably in config/${config.filename}
(details at javaranch.com/props)"/>
<fail message="db.schema ${prop.message}" unless="db.schema"/>
<fail message="db.password ${prop.message}" unless="db.password"/>

xml
well formed - that is - a conforming parser checks for xml syntax
valid  - that is - a validating parser checks for rules from dtd or schema file.

Processing Instruction: (PI with PI Targets)
<?xml-stylesheet type="text/css" href="myStyleSheet.css"?>
<?xml-stylesheet type="text/xsl" href="myTransform.xslt"?>
html
rel - a href attribute to refer to attribute fwd doc refc to another id on page
rev - attribute to previous doc

Add to link refc
http://www.javaranch.com/journal/
Advertisements

Comments are closed.

%d bloggers like this: