Return-Path: Delivered-To: apmail-jakarta-ant-dev-archive@apache.org Received: (qmail 15745 invoked from network); 12 Jun 2002 13:08:50 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 12 Jun 2002 13:08:50 -0000 Received: (qmail 17442 invoked by uid 97); 12 Jun 2002 13:08:50 -0000 Delivered-To: qmlist-jakarta-archive-ant-dev@jakarta.apache.org Received: (qmail 17404 invoked by uid 97); 12 Jun 2002 13:08:49 -0000 Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 17380 invoked by uid 98); 12 Jun 2002 13:08:48 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Content-Type: text/plain; charset="iso-8859-1" From: Ernst de Haan Organization: EuroNet Internet B.V. To: "Ant Developers List" Subject: Re: [SUBMIT] Xinclude task Date: Wed, 12 Jun 2002 15:08:54 +0200 X-Mailer: KMail [version 1.4] References: <200206051845.33957.ernsth@nl.euro.net> In-Reply-To: <200206051845.33957.ernsth@nl.euro.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200206121508.54244.ernsth@nl.euro.net> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N If anyone feels like submitting this one, please contact me first. I've made some improvements to XIncludeTask.java locally. Ernst On Wednesday 05 June 2002 18:45, Ernst de Haan wrote: > Hi all, > > Here's an XInclude task, based on elharo's XInclude engine (thanks > Elliot!). > > In order to compile Ant with this task, do the following: > (1) make sure youi have jakarta-ant from CVS > (2) apply the attached build.xml.diff patch to jakarta-ant/build.xml > (3) apply the attached defaults.properties.diff to > jakarta-ant/src/main/org/apache/tools/ant/taskdefs/defaults.properties > (4) put the attached XIncludeTask.java in > jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional > (5) download macfaq-xinclude.jar from > http://people.FreeBSD.org/~znerd/macfaq-xinclude.jar or download > http://people.FreeBSD.org/~znerd/macfaq-xinclude.jar-1.0d8.tar.gz and build > the JAR yourself > (6) Make sure macfaq-xinclude.jar is in your CLASSPATH. > (7) Rebuild Ant with commands like 'cd jakarta-ant' and 'ant clean main' > (8) Unzip the attached ant-xinclude.example.tar.gz. It contains a single > directory named 'ant-xinclude-example' and in there: > * build.xml > * sample.xml > * head.xml > * body.xml > The sample.xml file includes body.xml and head.xml. > (9) Run the newly built Ant inside the directory. It generates a file > called out.xml that contains the contents of sample.xml with body.xml and > head.xml in it. The example is very straight-forward. > > > Ernst -- Ernst de Haan EuroNet Internet B.V. "Come to me all who are weary and burdened and I will give you rest" -- Jesus Christ -- To unsubscribe, e-mail: For additional commands, e-mail: