ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacob Kjome <h...@visi.com>
Subject Re: AW: AW: DOCTYPE XML include
Date Thu, 06 Mar 2003 06:39:02 GMT

I use the following which works for me....


<!DOCTYPE project [
     <!ENTITY catalina-ant-manager-tasks SYSTEM "file:./catalina-tasks.incl">
]>

...
...
...
<!-- custom XML entity include of the Catalina Ant Manager Tasks -->
     &catalina-ant-manager-tasks;



Jake

At 09:27 PM 3/5/2003 -0800, you wrote:

>but after using this kind of code
>
><!DOCTYPE project [<!ENTITY java-include SYSTEM "file:java.xml">]>
>
>
><project name="PICASSO" default="deploy" basedir=".">
>&java-include;
>
>i get this error
>file:java.xml:1: more pseudo attributes is expected.
>         at 
> org.apache.tools.ant.helper.ProjectHelperImpl.parse(ProjectHelperImpl.java:170)
>         at 
> org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:117)
>         at org.apache.tools.ant.Main.runBuild(Main.java:597)
>         at org.apache.tools.ant.Main.start(Main.java:196)
>         at org.apache.tools.ant.Main.main(Main.java:235)
>
>what can be reason???
>--- message from Jan.Materne@rzf.fin-nrw.de attached:
>
>_____________________________________________________________
>Join SQAtester.com Community  ---> 
>http://www.sqatester.com/testersarea/joinus.htm
>
>_____________________________________________________________
>Select your own custom email address for FREE! Get you@yourchoice.com w/No 
>Ads, 6MB, POP & more! http://www.everyone.net/selectmail?campaign=tag
>Received: from apache.org (daedalus.apache.org [208.185.179.12])
>         by imta08.mta.everyone.net (Postfix) with SMTP id 3D10118E327
>         for <pritesh@sqatester.com>; Wed,  5 Mar 2003 01:04:04 -0800 (PST)
>Received: (qmail 24002 invoked by uid 500); 5 Mar 2003 09:03:49 -0000
>Mailing-List: contact user-help@ant.apache.org; run by ezmlm
>Precedence: bulk
>List-Unsubscribe: <mailto:user-unsubscribe@ant.apache.org>
>List-Subscribe: <mailto:user-subscribe@ant.apache.org>
>List-Help: <mailto:user-help@ant.apache.org>
>List-Post: <mailto:user@ant.apache.org>
>List-Id: "Ant Users List" <user.ant.apache.org>
>Reply-To: "Ant Users List" <user@ant.apache.org>
>Delivered-To: mailing list user@ant.apache.org
>Received: (qmail 23988 invoked from network); 5 Mar 2003 09:03:49 -0000
>Received: from dnsinet.rzf-nrw.de (193.109.238.66)
>   by daedalus.apache.org with SMTP; 5 Mar 2003 09:03:49 -0000
>Received: from z011104.bk.fin.local (z011104.bk.fin.local [193.109.238.140])
>         by dnsinet.rzf-nrw.de (8.12.3/8.12.3) with ESMTP id h2593wgN028426
>         for <user@ant.apache.org>; Wed, 5 Mar 2003 10:03:58 +0100
>Received: by z011104.bk.fin.local with Internet Mail Service (5.5.2653.19)
>         id <FMAVWPLA>; Wed, 5 Mar 2003 10:03:59 +0100
>Message-ID: <879A5AD5DD0ED511891F0003473A9B5603CCC301@Z011004>
>From: Jan.Materne@rzf.fin-nrw.de
>To: user@ant.apache.org
>Subject: AW: AW: DOCTYPE XML include
>Date: Wed, 5 Mar 2003 10:03:59 +0100
>MIME-Version: 1.0
>X-Mailer: Internet Mail Service (5.5.2653.19)
>Content-Type: multipart/alternative;
>         boundary="----_=_NextPart_001_01C2E2F6.28C8DDC0"
>X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N
>Sender: user-return-30199-pritesh=sqatester.com@ant.apache.org
>
>I don´t understand your question.
>
>This snippet is from on of mine buildfiles:
>
>
><?xml version="1.0" encoding="ISO-8859-1"?>
><!DOCTYPE project [
>     <!ENTITY ant-commons SYSTEM "file:./build-common.xml">
>     --- more entity references could go here ---
>]>
>
><project name="masterbuild" basedir="." default="init">
>
>     <!-- include the commons -->
>     &ant-commons;
>
>     ...
>
></project>
>
>
>Jan Matèrne
>
>
>
>-----Ursprüngliche Nachricht-----
>Von: Pritesh saharey [mailto:pritesh@sqatester.com]
>Gesendet am: Mittwoch, 5. März 2003 09:58
>An: Ant Users List
>Betreff: Re: AW: DOCTYPE XML include
>
>
>But what if i want to import simple java.xml file in my build.xml file which
>how can i import
><!DOCTYPE DOCUMENT [<!ENTITY include SYSTEM "file:./java.xml">]>
>
>
>
>_____________________________________________________________
>Join SQAtester.com Community  --->
>http://www.sqatester.com/testersarea/joinus.htm
>
>_____________________________________________________________
>Select your own custom email address for FREE! Get you@yourchoice.com w/No
>Ads, 6MB, POP & more! http://www.everyone.net/selectmail?campaign=tag
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>For additional commands, e-mail: user-help@ant.apache.org

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message