You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by ni...@apache.org on 2002/11/12 10:56:06 UTC

cvs commit: xml-forrest/src/resources/convert/anakiaNmaven anakiaNmaven2document11.xsl build.xml projectNnavigation2book.xsl tabs.xml

nicolaken    2002/11/12 01:56:06

  Added:       src/resources/convert/anakiaNmaven
                        anakiaNmaven2document11.xsl build.xml
                        projectNnavigation2book.xsl tabs.xml
  Log:
      <action dev="NKB" type="update" context="utils">
        Added a convert dir in the resources with stylesheets and builfile
        to help convert Anakia and Maven-based sites.
      </action>
  
  Revision  Changes    Path
  1.1                  xml-forrest/src/resources/convert/anakiaNmaven/anakiaNmaven2document11.xsl
  
  Index: anakiaNmaven2document11.xsl
  ===================================================================
  <?xml version="1.0"?>
  
  <xsl:stylesheet
      version="1.0"
      xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  
      <xsl:output method = "xml"  
                  version="1.0"
                  omit-xml-declaration="no" 
                  indent="no"
                  encoding="ISO-8859-1"
                  doctype-system="document-v11.dtd"
                  doctype-public="-//APACHE//DTD Documentation V1.1//EN" />
  
      <xsl:template match="/">
       <xsl:choose>
     	   <xsl:when test="name(child::node())='document'">
           <xsl:apply-templates/>
  	   </xsl:when>
    
  	   <xsl:otherwise>
  	     <document>
  	      <header><title>Error in conversion</title></header>
  	      <body>
  	       <warning>This file is not in anakia format, please convert manually.</warning>
  	      </body>
  	     </document>
  	   </xsl:otherwise>
       </xsl:choose>
      </xsl:template>
             
      <xsl:template match="document">
          <document>
              <xsl:apply-templates/>
          </document>
      </xsl:template>
      
      <!-- properties to header -->
      <xsl:template match="properties">
          <header>
              <xsl:apply-templates/>
              <authors>
                <xsl:for-each select = "author">
                  <person email="{@email}" name="{.}"/>
                </xsl:for-each>
              </authors>
          </header>
      </xsl:template>
  
      <xsl:template match="figure">
          <figure alt="{title}" src= "{graphic/@fileref}" />
      </xsl:template>
  
      <xsl:template match="img">
         <xsl:choose>
      	<xsl:when test="name(..)='section'">
            <figure alt="{@alt}" src= "{@src}"/>
      	</xsl:when>
      	<xsl:otherwise>
            <img alt="{@alt}" src= "{@src}"/>
      	</xsl:otherwise>
         </xsl:choose>
         
         
      </xsl:template>
      
      <xsl:template match="source">
        <xsl:choose>
      	<xsl:when test="name(..)='p'">
      	  <code>
      	    <xsl:apply-templates/>
      	  </code> 
      	</xsl:when>
        
      	<xsl:otherwise>
      	  <source>
      	    <xsl:apply-templates/>
      	  </source> 
      	</xsl:otherwise>
         </xsl:choose>
      </xsl:template>
  
      
      <!-- person to author -->
      <xsl:template match="author"/>
      
      <xsl:template match="section|s1|s2|s3|s4|s5|s6">
          <section>
            <title><xsl:value-of select="@name" /></title>
              <xsl:apply-templates/>
          </section>
      </xsl:template>
  
    
      <xsl:template match="subsection">
          <section>
            <title><xsl:value-of select="@name" /></title>
              <xsl:apply-templates/>
          </section>
      </xsl:template>
      
      <xsl:template match="a">
          <link href="{@href}"><xsl:value-of select="." /></link>
      </xsl:template>
      
      <xsl:template match="center">
        <xsl:choose>
      	<xsl:when test="name(..)='p'">
      	    <xsl:apply-templates/>
      	</xsl:when>
        
      	<xsl:otherwise>
      	  <p>
      	    <xsl:apply-templates/>
      	  </p> 
      	</xsl:otherwise>
         </xsl:choose>
      </xsl:template>
  
      <xsl:template match="ol">
        <xsl:choose>
      	<xsl:when test="name(..)='p'">
      	   <xsl:text disable-output-escaping="yes"><![CDATA[</p>]]></xsl:text>
      	    <ol>
      	     <xsl:apply-templates/>
      	    </ol>
      	   <xsl:text disable-output-escaping="yes"><![CDATA[<p>]]></xsl:text>
      	</xsl:when>
        	<xsl:otherwise>
      	    <ol>
      	     <xsl:apply-templates/>
      	    </ol>
      	</xsl:otherwise>
         </xsl:choose>
      </xsl:template>
      
      <xsl:template match="ul">
        <xsl:choose>
      	<xsl:when test="name(..)='p'">
      	   <xsl:text disable-output-escaping="yes"><![CDATA[</p>]]></xsl:text>
      	    <ul>
      	     <xsl:apply-templates/>
      	    </ul>
      	   <xsl:text disable-output-escaping="yes"><![CDATA[<p>]]></xsl:text>
      	</xsl:when>
        	<xsl:otherwise>
      	    <ul>
      	     <xsl:apply-templates/>
      	    </ul>
      	</xsl:otherwise>
         </xsl:choose>
      </xsl:template>
          
      <xsl:template match="b">
        <strong>
          <xsl:apply-templates/>
        </strong>
      </xsl:template>
      
      <xsl:template match="i">
        <em>
          <xsl:apply-templates/>
        </em>
      </xsl:template>
          
      <xsl:template match="node()|@*" priority="-1">
          <xsl:copy>
              <xsl:apply-templates select="node()|@*"/>
          </xsl:copy>
      </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-forrest/src/resources/convert/anakiaNmaven/build.xml
  
  Index: build.xml
  ===================================================================
  <?xml version="1.0"?>
  
  <project name="Forrest Converter" default="convert" basedir=".">
  
      <property name="src.dir" location="${xdocs.dir}"/>
      <!--<property name="src.format" value="maven"/>
      <property name="target.format" value="forrest"/>-->
      <property name="dest.dir" value="${user.dir}/temp"/>
      <property name="converter.xsl" location="anakiaNmaven2document11.xsl"/>
      <property name="book2project.xsl" location="projectNnavigation2book.xsl"/>
  
      <target name="prepare" unless="xdocs.dir">
          <echo message="Need to specify absolute path in xdocs.dir"/>
          <echo message="property similar to"/>
          <echo message="ant -Dxdocs.dir=/opt/projects/jakarta-avalon-excalibur/bzip/src/xdocs"/>
          <fail/>
      </target>
  
      <target name="convert" depends="prepare">
  
          <style style="${converter.xsl}"
              force="true"
              basedir="${src.dir}"
              extension=".xml"
              destdir="${dest.dir}">
              <exclude name="**/project.xml"/>
              <include name="**/*.xml"/>
          </style>
  
  
          <mkdir dir="${dest.dir}/stylesheets" />
          
          <style style="${book2project.xsl}"
              force="true"
              basedir="${src.dir}"
              extension="-book.xml"
              destdir="${dest.dir}">
              <include name="**/project.xml"/>
          </style>
  
          <style style="${book2project.xsl}"
              force="true"
              basedir="${src.dir}"
              extension="-book.xml"
              destdir="${dest.dir}">
              <include name="**/navigation.xml"/>
          </style>
          
          <copy todir="${dest.dir}">
            <fileset dir="${src.dir}">
              <exclude name="**/*.xml"/>
            </fileset>
          </copy>         
  
          <copy file="${dest.dir}/stylesheets/project-book.xml" tofile="${dest.dir}/book.xml" failonerror="false"/>
          <copy file="${dest.dir}/stylesheets/navigation-book.xml" tofile="${dest.dir}/book.xml" failonerror="false"/>        
          <delete dir="${dest.dir}/stylesheets" />
          
          
          <copy file="${user.dir}/tabs.xml" todir="${dest.dir}"/>
                  
          <fixcrlf srcdir="${dest.dir}"
                  tab="remove"
                  tablength="4"
                  eol="crlf"
                  javafiles="no"
                  includes="**/*.xml"
           />
    
      </target>
  
      <target name="update" depends="convert">
          <copy todir="${src.dir}">
              <fileset dir="${dest.dir}"/>
          </copy>
          <delete dir="${dest.dir}"/>
      </target>
  
  </project>
  
  
  
  1.1                  xml-forrest/src/resources/convert/anakiaNmaven/projectNnavigation2book.xsl
  
  Index: projectNnavigation2book.xsl
  ===================================================================
  <?xml version="1.0"?>
  
  <xsl:stylesheet
      version="1.0"
      xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  
      <xsl:output method = "xml"  
                  version="1.0"
                  omit-xml-declaration="no" 
                  indent="yes"
                  encoding="ISO-8859-1"
                  doctype-system="book-cocoon-v10.dtd"
                  doctype-public="-//APACHE//DTD Cocoon Documentation Book V1.0//EN" />
  
      <!-- book to project -->
      <xsl:template match="project">
          <book software="{@name}"
              copyright="{@name}"
              title="{title}">
  
          <xsl:for-each select = "//menu">
            <menu label="{@name}">
              <xsl:for-each select = "item">
               <menu-item  label="{@name}" href="{@href}"/>
              </xsl:for-each>
            </menu> 
          </xsl:for-each>
  
          </book>
      </xsl:template>
  
      <xsl:template match="menu"/>
  
      <xsl:template match="item"/>
  
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-forrest/src/resources/convert/anakiaNmaven/tabs.xml
  
  Index: tabs.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE tabs PUBLIC "-//APACHE//DTD Cocoon Documentation Tab V1.0//EN" "tab-cocoon-v10.dtd">
  
        <tabs software="MyProj"
          title="MyProj"
          copyright="Foo"
          xmlns:xlink="http://www.w3.org/1999/xlink">
  
          <tab label="Home" dir=""/>
          <!-- Add new tabs here, eg:
          <tab label="How-Tos" dir="community/howto/"/>
          <tab label="XML Site" dir="xml-site/"/>
          -->
  
      </tabs>
  
  

Re: cvs commit: xml-forrest/src/resources/convert/anakiaNmaven anakiaNmaven2document11.xsl build.xml projectNnavigation2book.xsl tabs.xml

Posted by Jeff Turner <je...@apache.org>.
On Tue, Nov 12, 2002 at 11:21:50AM +0100, Nicola Ken Barozzi wrote:
> 
> Steven Noels wrote:
> >nicolaken@apache.org wrote:
> >
> >>nicolaken    2002/11/12 01:56:06
> >>
> >>  Added:       src/resources/convert/anakiaNmaven
> >>                        anakiaNmaven2document11.xsl build.xml
> >>                        projectNnavigation2book.xsl tabs.xml
> >>  Log:
> >>      <action dev="NKB" type="update" context="utils">
> >>        Added a convert dir in the resources with stylesheets and 
> >>builfile
> >>        to help convert Anakia and Maven-based sites.
> >>      </action>
> >
> >
> >So who is supposed now to clean up the existing 
> >src/resources/library/xslt mess?
> 
> Are you volunteering?

Nooo... don't touch... people are relying on stylesheets in there.


--Jeff

Re: doc that warns about known future changes

Posted by Jeff Turner <je...@apache.org>.
On Wed, Nov 13, 2002 at 09:40:11PM +1100, David Crossley wrote:
...
> > Hmmm, Jeff IIRC removed it... you mean we should keep track of all 
> > actions and reverts?
> 
> Hell no, not at all necessary.
> 
> Look at status.xml ... The <change><action> about /convert/
> has been hidden, whereas i see that your sitemap revert
> was about the next item in <status><changes> ...
> ----
>    <release version="0.2rc1" date="2002-11-13">
>       <!--
>     <action dev="NKB" type="update" context="utils">
>       Added a convert dir in the resources with stylesheets
>       and buildfile to help convert Anakia and Maven-based sites.
>      </action>    
>      -->
>     <action dev="NKB" type="update" context="webapp">
>       Now Forrest will look for xdocs in the content dir first,
>       and fallback to the legacy xdocs dir.
>     </action>
> ----

Sorry.. commented out the wrong thing.  Fixed.

--Jeff


Re: doc that warns about known future changes

Posted by David Crossley <cr...@indexgeo.com.au>.
Nicola Ken Barozzi wrote:
> David Crossley wrote:
> > Nicola Ken Barozzi wrote:
> > 
> >>Steven Noels wrote:
> >>
> >>>Nicola Ken Barozzi wrote:
> >>>
> >>>>Steven Noels wrote:
> >>>>
> >>>>
> >>>>>So who is supposed now to clean up the existing 
> >>>>>src/resources/library/xslt mess?
> >>>>
> >>>>Are you volunteering?
> >>>
> >>>Nope.
> >>>
> >>>And I'll feel bad if David has to play housemaid once again.
> >>>
> >>>Let's make this a rule: if you break stuff or add new things which make 
> >>>existing things obsolete, you have to provide a migration path or clean 
> >>>up yourself.
> >>
> >>With the convert stuff I haven't broken anything, and have followed IIUC 
> >>David's suggestion.
> >>
> >>
> >>David Crossley wrote:
> >>[...]
> >> > so it seems better to me to have src/resources/convert
> >>                                                ^^^^^^^^^^^
> >> > with type-specific sub-dirs to hold all of their resources,
> >> > e.g. /maven/*.xsl, /maven/build.xml, etc.). Otherwise
> >> > we will need strange filenames to distinguish each.
> >>
> >>Do you read the mails? :-|
> >>
> >>There is no migration path, they are simply different things.
> >>Eventually we will use that instead of what is in the library but not 
> >>now. CVS is not sacred, I won't commit things just when I've done with 
> >>it, because it's wrong.
> >>
> >>As for the sitemap, I've reverted it.
> > 
> > 
> > I gather that you are talking about the revert
> > of the /content/xdocs/ stuff. Is that reversion
> > reflected in status.xml now? It looks like the wrong
> > action has been hidden.
> 
> Hmmm, Jeff IIRC removed it... you mean we should keep track of all 
> actions and reverts?

Hell no, not at all necessary.

Look at status.xml ... The <change><action> about /convert/
has been hidden, whereas i see that your sitemap revert
was about the next item in <status><changes> ...
----
   <release version="0.2rc1" date="2002-11-13">
      <!--
    <action dev="NKB" type="update" context="utils">
      Added a convert dir in the resources with stylesheets
      and buildfile to help convert Anakia and Maven-based sites.
     </action>    
     -->
    <action dev="NKB" type="update" context="webapp">
      Now Forrest will look for xdocs in the content dir first,
      and fallback to the legacy xdocs dir.
    </action>
----

> >>>When I'll be fixing DTDs soon, I'll make sure to live by the same rule.
> >>>
> >>></Steven>
> > 
> > It sounds like we need a document that lists the things that
> > we know are going to change in future releases, e.g. moving
> > some relevant *.xsl from resources/library/xslt/ into
> > resources/convert/




Re: doc that warns about known future changes

Posted by Nicola Ken Barozzi <ni...@apache.org>.

David Crossley wrote:
> Nicola Ken Barozzi wrote:
> 
>>Steven Noels wrote:
>>
>>>Nicola Ken Barozzi wrote:
>>>
>>>>Steven Noels wrote:
>>>>
>>>>
>>>>>So who is supposed now to clean up the existing 
>>>>>src/resources/library/xslt mess?
>>>>
>>>>Are you volunteering?
>>>
>>>Nope.
>>>
>>>And I'll feel bad if David has to play housemaid once again.
>>>
>>>Let's make this a rule: if you break stuff or add new things which make 
>>>existing things obsolete, you have to provide a migration path or clean 
>>>up yourself.
>>
>>With the convert stuff I haven't broken anything, and have followed IIUC 
>>David's suggestion.
>>
>>
>>David Crossley wrote:
>>[...]
>> > so it seems better to me to have src/resources/convert
>>                                                ^^^^^^^^^^^
>> > with type-specific sub-dirs to hold all of their resources,
>> > e.g. /maven/*.xsl, /maven/build.xml, etc.). Otherwise
>> > we will need strange filenames to distinguish each.
>>
>>Do you read the mails? :-|
>>
>>There is no migration path, they are simply different things.
>>Eventually we will use that instead of what is in the library but not 
>>now. CVS is not sacred, I won't commit things just when I've done with 
>>it, because it's wrong.
>>
>>As for the sitemap, I've reverted it.
> 
> 
> I gather that you are talking about the revert
> of the /content/xdocs/ stuff. Is that reversion
> reflected in status.xml now? It looks like the wrong
> action has been hidden.

Hmmm, Jeff IIRC removed it... you mean we should keep track of all 
actions and reverts?

>>>When I'll be fixing DTDs soon, I'll make sure to live by the same rule.
>>>
>>></Steven>
>>
> 
> It sounds like we need a document that lists the things that
> we know are going to change in future releases, e.g. moving
> some relevant *.xsl from resources/library/xslt/ into
> resources/convert/



-- 
Nicola Ken Barozzi                   nicolaken@apache.org
             - verba volant, scripta manent -
    (discussions get forgotten, just code remains)
---------------------------------------------------------------------


doc that warns about known future changes

Posted by David Crossley <cr...@indexgeo.com.au>.
Nicola Ken Barozzi wrote:
> Steven Noels wrote:
> > Nicola Ken Barozzi wrote:
> >>Steven Noels wrote:
> >>
> >>> So who is supposed now to clean up the existing 
> >>> src/resources/library/xslt mess?
> >>
> >> Are you volunteering?
> > 
> > Nope.
> > 
> > And I'll feel bad if David has to play housemaid once again.
> > 
> > Let's make this a rule: if you break stuff or add new things which make 
> > existing things obsolete, you have to provide a migration path or clean 
> > up yourself.
> 
> With the convert stuff I haven't broken anything, and have followed IIUC 
> David's suggestion.
> 
> 
> David Crossley wrote:
> [...]
>  > so it seems better to me to have src/resources/convert
>                                                 ^^^^^^^^^^^
>  > with type-specific sub-dirs to hold all of their resources,
>  > e.g. /maven/*.xsl, /maven/build.xml, etc.). Otherwise
>  > we will need strange filenames to distinguish each.
> 
> Do you read the mails? :-|
> 
> There is no migration path, they are simply different things.
> Eventually we will use that instead of what is in the library but not 
> now. CVS is not sacred, I won't commit things just when I've done with 
> it, because it's wrong.
> 
> As for the sitemap, I've reverted it.

I gather that you are talking about the revert
of the /content/xdocs/ stuff. Is that reversion
reflected in status.xml now? It looks like the wrong
action has been hidden.

> > When I'll be fixing DTDs soon, I'll make sure to live by the same rule.
> > 
> > </Steven>

It sounds like we need a document that lists the things that
we know are going to change in future releases, e.g. moving
some relevant *.xsl from resources/library/xslt/ into
resources/convert/

--David



Re: cvs commit: xml-forrest/src/resources/convert/anakiaNmaven anakiaNmaven2document11.xsl build.xml projectNnavigation2book.xsl tabs.xml

Posted by Steven Noels <st...@outerthought.org>.
Nicola Ken Barozzi wrote:

>> I was referring to docbook2document.xsl, FWIW.
> 
> 
> Which has *nothing* to do with the anakiaNmaven stylesheets.

Which is also about upconverting from one XML format to the xdocs 
format. Which logically should be stored adjacent to what you have 
committed. Which now will be left there, unmaintained.

(I do hate myself while doing this)

</Steven>
-- 
Steven Noels                            http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
Read my weblog at              http://radio.weblogs.com/0103539/
stevenn at outerthought.org                stevenn at apache.org


Re: cvs commit: xml-forrest/src/resources/convert/anakiaNmaven anakiaNmaven2document11.xsl build.xml projectNnavigation2book.xsl tabs.xml

Posted by Nicola Ken Barozzi <ni...@apache.org>.

Steven Noels wrote:
> Nicola Ken Barozzi wrote:
> 
>> There is no migration path, they are simply different things.
>> Eventually we will use that instead of what is in the library but not 
>> now. CVS is not sacred, I won't commit things just when I've done with 
>> it, because it's wrong.
> 
> Yes, but a first non-release is imminent, so I think we should take 
> extra care when making new directories, and if they provide overlap with 
> existing ones, clean up accordingly.

What overlap?!?

> I was referring to docbook2document.xsl, FWIW.

Which has *nothing* to do with the anakiaNmaven stylesheets.

-- 
Nicola Ken Barozzi                   nicolaken@apache.org
             - verba volant, scripta manent -
    (discussions get forgotten, just code remains)
---------------------------------------------------------------------


Re: cvs commit: xml-forrest/src/resources/convert/anakiaNmaven anakiaNmaven2document11.xsl build.xml projectNnavigation2book.xsl tabs.xml

Posted by Steven Noels <st...@outerthought.org>.
Nicola Ken Barozzi wrote:

> Do you read the mails? :-|

Yes.

> There is no migration path, they are simply different things.
> Eventually we will use that instead of what is in the library but not 
> now. CVS is not sacred, I won't commit things just when I've done with 
> it, because it's wrong.

Yes, but a first non-release is imminent, so I think we should take 
extra care when making new directories, and if they provide overlap with 
existing ones, clean up accordingly.

I was referring to docbook2document.xsl, FWIW.

> As for the sitemap, I've reverted it.

Thank you, Nicola.

</Steven>
-- 
Steven Noels                            http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
Read my weblog at              http://radio.weblogs.com/0103539/
stevenn at outerthought.org                stevenn at apache.org


Re: cvs commit: xml-forrest/src/resources/convert/anakiaNmaven anakiaNmaven2document11.xsl build.xml projectNnavigation2book.xsl tabs.xml

Posted by Nicola Ken Barozzi <ni...@apache.org>.
Steven Noels wrote:
> Nicola Ken Barozzi wrote:
> 
>>> So who is supposed now to clean up the existing 
>>> src/resources/library/xslt mess?
>>
>>
>>
>> Are you volunteering?
> 
> 
> Nope.
> 
> And I'll feel bad if David has to play housemaid once again.
> 
> Let's make this a rule: if you break stuff or add new things which make 
> existing things obsolete, you have to provide a migration path or clean 
> up yourself.

With the convert stuff I haven't broken anything, and have followed IIUC 
David's suggestion.


David Crossley wrote:
[...]
 > so it seems better to me to have src/resources/convert
                                                ^^^^^^^^^^^
 > with type-specific sub-dirs to hold all of their resources,
 > e.g. /maven/*.xsl, /maven/build.xml, etc.). Otherwise
 > we will need strange filenames to distinguish each.


Do you read the mails? :-|

There is no migration path, they are simply different things.
Eventually we will use that instead of what is in the library but not 
now. CVS is not sacred, I won't commit things just when I've done with 
it, because it's wrong.

As for the sitemap, I've reverted it.

> When I'll be fixing DTDs soon, I'll make sure to live by the same rule.
> 
> </Steven>

-- 
Nicola Ken Barozzi                   nicolaken@apache.org
             - verba volant, scripta manent -
    (discussions get forgotten, just code remains)
---------------------------------------------------------------------


Re: cvs commit: xml-forrest/src/resources/convert/anakiaNmaven anakiaNmaven2document11.xsl build.xml projectNnavigation2book.xsl tabs.xml

Posted by Steven Noels <st...@outerthought.org>.
Nicola Ken Barozzi wrote:

>> So who is supposed now to clean up the existing 
>> src/resources/library/xslt mess?
> 
> 
> Are you volunteering?

Nope.

And I'll feel bad if David has to play housemaid once again.

Let's make this a rule: if you break stuff or add new things which make 
existing things obsolete, you have to provide a migration path or clean 
up yourself.

When I'll be fixing DTDs soon, I'll make sure to live by the same rule.

</Steven>
-- 
Steven Noels                            http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
Read my weblog at              http://radio.weblogs.com/0103539/
stevenn at outerthought.org                stevenn at apache.org


Re: cvs commit: xml-forrest/src/resources/convert/anakiaNmaven anakiaNmaven2document11.xsl build.xml projectNnavigation2book.xsl tabs.xml

Posted by Nicola Ken Barozzi <ni...@apache.org>.
Steven Noels wrote:
> nicolaken@apache.org wrote:
> 
>> nicolaken    2002/11/12 01:56:06
>>
>>   Added:       src/resources/convert/anakiaNmaven
>>                         anakiaNmaven2document11.xsl build.xml
>>                         projectNnavigation2book.xsl tabs.xml
>>   Log:
>>       <action dev="NKB" type="update" context="utils">
>>         Added a convert dir in the resources with stylesheets and 
>> builfile
>>         to help convert Anakia and Maven-based sites.
>>       </action>
> 
> 
> So who is supposed now to clean up the existing 
> src/resources/library/xslt mess?

Are you volunteering?

-- 
Nicola Ken Barozzi                   nicolaken@apache.org
             - verba volant, scripta manent -
    (discussions get forgotten, just code remains)
---------------------------------------------------------------------


Re: cvs commit: xml-forrest/src/resources/convert/anakiaNmaven anakiaNmaven2document11.xsl build.xml projectNnavigation2book.xsl tabs.xml

Posted by Steven Noels <st...@outerthought.org>.
nicolaken@apache.org wrote:

> nicolaken    2002/11/12 01:56:06
> 
>   Added:       src/resources/convert/anakiaNmaven
>                         anakiaNmaven2document11.xsl build.xml
>                         projectNnavigation2book.xsl tabs.xml
>   Log:
>       <action dev="NKB" type="update" context="utils">
>         Added a convert dir in the resources with stylesheets and builfile
>         to help convert Anakia and Maven-based sites.
>       </action>

So who is supposed now to clean up the existing 
src/resources/library/xslt mess?

</Steven>
-- 
Steven Noels                            http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
Read my weblog at              http://radio.weblogs.com/0103539/
stevenn at outerthought.org                stevenn at apache.org


Re: cvs commit: xml-forrest/src/resources/convert/anakiaNmaven anakiaNmaven2document11.xsl build.xml projectNnavigation2book.xsl tabs.xml

Posted by Nicola Ken Barozzi <ni...@apache.org>.
dion@multitask.com.au wrote:
> Hi all,
> 
> nicolaken@apache.org wrote on 12/11/2002 08:56:06 PM:
> 
> 
>>nicolaken    2002/11/12 01:56:06
>>
>>  Added:       src/resources/convert/anakiaNmaven
>>                        anakiaNmaven2document11.xsl build.xml
>>                        projectNnavigation2book.xsl tabs.xml
>>  Log:
>>      <action dev="NKB" type="update" context="utils">
>>        Added a convert dir in the resources with stylesheets and 
> 
> builfile
> 
>>        to help convert Anakia and Maven-based sites.
>>      </action>
> 
> 
> How do I test the above stylesheets against some existing Maven projects?

cd ./src/resources/convert/anakiaNmaven
ant -Dxdocs.dir=/path/to/the/xdocs/dir

Results will go in ./src/resources/convert/anakiaNmaven/temp

Chances are that it won't go totally smooth especially for the 
navigation, since it hasn't been tested on many sites yet
Since you know the Maven format better than any of us it would be swell 
if you could give us a hand :-)

-- 
Nicola Ken Barozzi                   nicolaken@apache.org
             - verba volant, scripta manent -
    (discussions get forgotten, just code remains)
---------------------------------------------------------------------


Re: cvs commit: xml-forrest/src/resources/convert/anakiaNmaven anakiaNmaven2document11.xsl build.xml projectNnavigation2book.xsl tabs.xml

Posted by di...@multitask.com.au.
Hi all,

nicolaken@apache.org wrote on 12/11/2002 08:56:06 PM:

> nicolaken    2002/11/12 01:56:06
> 
>   Added:       src/resources/convert/anakiaNmaven
>                         anakiaNmaven2document11.xsl build.xml
>                         projectNnavigation2book.xsl tabs.xml
>   Log:
>       <action dev="NKB" type="update" context="utils">
>         Added a convert dir in the resources with stylesheets and 
builfile
>         to help convert Anakia and Maven-based sites.
>       </action>

How do I test the above stylesheets against some existing Maven projects?
--
dIon Gillard, Multitask Consulting
Work:      http://www.multitask.com.au
Developers: http://adslgateway.multitask.com.au/developers