I thought about curl (or wget), but I didn't want to require that the server be running to deploy. Is this unreasonable?
- Justin On 10/19/03 5:15 AM, "Mark Lundquist" <[EMAIL PROTECTED]> wrote: > > On Saturday, October 18, 2003, at 05:01 PM, Justin Makeig wrote: > >> I've read the documentation and the Wiki as well the most recent CLI >> threads >> in July and earlier this month. However, I can't seem to figure out >> how to >> configure the cli.xconf for my webapp. >> >> The site I'm building is dynamic, using Cocoon 2.1.1 to transform >> aggregated >> XML docs at run-time. Part of this aggregation is a static table of >> contents >> (TOC) document that is generated at design-time with a transform on >> Cocoon's >> directory generator output. >> >> <map:match pattern="toc"> >> <map:generate src="xml/site" type="directory"> >> <map:parameter name="depth" value="10"/> >> </map:generate> >> <map:transform src="xsl/gentoc.xsl"/> >> <map:serialize type="xml"/> >> </map:match> >> >> I request http://server:8080/toc to generate the XML in my browser. By >> hand, >> I paste the resulting XML into a file called toc.xml. This is a mind >> numbingly arduous process that I hoped to automate in the deployment >> process >> with Ant. However, the first step is generating toc.xml with Cocoon's >> command line interface. Because I need to use the directory generator, >> I >> don't see a way around this. > > I don't know very much about Cocoon yet, so I wouldn't be surprised if > there's a more direct way than this, but... > > Couldn't you just use curl, instead of copy/paste out of a browser? > > It still seems hacky, but at least you could automate that. > > ~ml > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
