Yup, did that. At first I tried using the dtd task to generate the dtd, but that didn't work out for me since I'm using a variable as a value which isn't in the generated dtd. Ken > -----Original Message----- > From: Mark Hewitt [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 09, 2001 7:57 AM > To: '[EMAIL PROTECTED]' > Subject: RE: How do I include common targets from an external file? > > > That means your XML editor is trying to verify the ant > file against a dtd, and can't find one. Since there is no > dtd for ant build files in general, you have to turn off > dtd verification in your XML editor. > > Or just use a text editor, of course! > > #!/mjh > > -----Original Message----- > From: Liu, Kenneth Albert (Kenneth)** CTR ** > [mailto:[EMAIL PROTECTED]] > Sent: 11 April 2001 21:50 > To: [EMAIL PROTECTED] > Subject: RE: How do I include common targets from an external file? > > > I saw the original posting and I tried this, but my XML > editor complains > that "This file is not valid: No content model available for > validation > (possible empty DTD/Schema)." > > Am I doing something wrong? > > I have this in the beginning of my build.xml: > <?xml version="1.0" encoding="UTF-8"?> > <!DOCTYPE project [ > <!ENTITY commonTargets SYSTEM "../build-calls.xml"> > ]> > > > > -----Original Message----- > > From: Eric Rosengren [mailto:[EMAIL PROTECTED]] > > Sent: Wednesday, April 11, 2001 4:26 PM > > To: '[EMAIL PROTECTED]' > > Subject: RE: How do I include common targets from an external file? > > > > > > Here's an example from Mark Hewitt that works. > > It uses relative pathing to get to the common XMl files though. > > I've been searching for a way to use an environment variable > > to specify > > the path. Some how get the parser to dereference > > %COMMON_FILES%/common.xml. > > No luck so far. > > >
RE: How do I include common targets from an external file?
Liu, Kenneth Albert (Kenneth)** CTR ** Fri, 11 May 2001 13:04:47 -0700
- How do I include common targets fro... Liu, Kenneth Albert (Kenneth)** CTR **
- RE: How do I include common ta... Eric Rosengren
- RE: How do I include common ta... Liu, Kenneth Albert (Kenneth)** CTR **
- RE: How do I include common ta... Mark Hewitt
- How do I include common target... Jarzynka, Mark
- RE: How do I include common ta... Steve . Deridder
- RE: How do I include common ta... Jarzynka, Mark
- Re: How do I include commo... Stefan Bodewig
- RE: How do I include common ta... Steve . Deridder
- RE: How do I include common ta... Liu, Kenneth Albert (Kenneth)** CTR **
- RE: How do I include common ta... Mark Hewitt
- RE: How do I include common ta... Jarzynka, Mark
