[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Using the DocBook XSLT 2.0 stylesheets with Gradle
Fair comment David. Tempted to ask just how many are in that camp vs .... like us who do odd things with docbook. (for some defn of odd). My position. 1. I don't stretch the schema (db simple would likely suffice) 2. I haven't updated my stylesheets in ages 3. I build html / pdf with svg ... (500k + words) 4. I want (need?) to validate as an option. 5. All files are on my hard drive ant lets me pick / choose bits|all Am I odd? Minority? Majority? <quote src='@ndw'> Who needs steenkin <del>esis</del><ins>internet</ins> </quote> Sorry - that quote stuck from dsssl days Norm - bet you've forgotten it. regards On 5 March 2018 at 17:24, David Cramer <email@example.com> wrote: > On 3/5/18 10:14 AM, Dave Pawson wrote: >> >> I got as far as ant for builds. I can understand most of that. >> >> Bash script... similar? Maybe >> >> gradle? Wozzat. >> >> Why make it deeper than needs be? > > > Dave, > > The idea is to make it super easy for someone (e.g. an author) who just > wants to build the doc. They don't want to install a ton of stuff _at the > right version_ and keep track of it. > > From an end-user's perspective, setting up the whole tool chain and building > the doc at most three steps: > > # You only have to do this once (or use apt-get/yum or whatever windows > # users do to install software): > brew install gradle > > # Get DocBook xml source from whatever source control system > # it lives in... > git clone <url-to-repo-for-somedoc> && cd somedoc > > # This installs the DocBook toolchain and builds the doc: > gradle somedoc > > Even as new versions of the underlying tools come out, "somedoc" continues > to build because your gradle file indicates what versions it depends on. > However, you easily can switch to newer versions if you need to. > > Regards, > David > > --------------------------------------------------------------------- > To unsubscribe, e-mail: firstname.lastname@example.org > For additional commands, e-mail: email@example.com > -- Dave Pawson XSLT XSL-FO FAQ. Docbook FAQ.