svn commit: r154533 - in maven/maven-1/plugins/trunk/xdoc: project.properties project.xml src/plugin-resources/site.jsl xdocs/changes.xml xdocs/index.xml xdocs/navigation.xml
Author: michal Date: Sun Feb 20 09:30:03 2005 New Revision: 154533 URL: http://svn.apache.org/viewcvs?view=revrev=154533 Log: Add a support for hierarchical site navigation in breadcrumbs Modified: maven/maven-1/plugins/trunk/xdoc/project.properties maven/maven-1/plugins/trunk/xdoc/project.xml maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/site.jsl maven/maven-1/plugins/trunk/xdoc/xdocs/changes.xml maven/maven-1/plugins/trunk/xdoc/xdocs/index.xml maven/maven-1/plugins/trunk/xdoc/xdocs/navigation.xml Modified: maven/maven-1/plugins/trunk/xdoc/project.properties URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/xdoc/project.properties?view=diffr1=154532r2=154533 == --- maven/maven-1/plugins/trunk/xdoc/project.properties (original) +++ maven/maven-1/plugins/trunk/xdoc/project.properties Sun Feb 20 09:30:03 2005 @@ -21,3 +21,4 @@ maven.jar.override = on maven.jar.maven = ${maven.home}/lib/maven.jar +maven.xdoc.date=bottom Modified: maven/maven-1/plugins/trunk/xdoc/project.xml URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/xdoc/project.xml?view=diffr1=154532r2=154533 == --- maven/maven-1/plugins/trunk/xdoc/project.xml (original) +++ maven/maven-1/plugins/trunk/xdoc/project.xml Sun Feb 20 09:30:03 2005 @@ -1,4 +1,4 @@ -?xml version=1.0 encoding=UTF-8? +?xml version=1.0 encoding=UTF-8? !-- /* * Copyright 2001-2004 The Apache Software Foundation. @@ -96,8 +96,7 @@ developer nameMichal Maczka/name idmmaczka/id - email[EMAIL PROTECTED]/email - organizationDimatics/organization + email[EMAIL PROTECTED]/email roles roleJava Developer/role /roles Modified: maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/site.jsl URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/site.jsl?view=diffr1=154532r2=154533 == --- maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/site.jsl (original) +++ maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/site.jsl Sun Feb 20 09:30:03 2005 @@ -151,33 +151,43 @@ /div div id=breadcrumbs -maven:property var=version name=maven.xdoc.version defaultValue=${pom.currentVersion}/ -j:if test=${date == 'left'} - div class=xleft -Last published: ${build.date} -j:if test=${!empty(version)} - j:if test=${!(maven.xdoc.crumb.separator == '')} -span class=separator${maven.xdoc.crumb.separator}/span - /j:if - Doc for ${version} -/j:if - /div -/j:if +maven:property var=version name=maven.xdoc.version defaultValue=${pom.currentVersion}/ + +j:set var=breadcrumbsUsed value=/ +x:if select=$nav/body/breadcrumbs + j:set var=breadcrumbsUsed value='true'/ +/x:if + +div class=xleft + j:if test=${empty(breadcrumbsUsed)} + j:if test=${date == 'left'} + Last published: ${build.date} + j:if test=${!empty(version)} + j:if test=${!(maven.xdoc.crumb.separator == '')} + span class=separator${maven.xdoc.crumb.separator}/span + /j:if + Doc for ${version} + /j:if + /j:if + /j:if + j:if test=${!empty( breadcrumbsUsed )} + jsl:applyTemplates select=$nav/body/breadcrumbs / + ${pom.name} span class=separatorgt;/span ${docTitle} + /j:if +/div + div class=xright - j:if test=${date == 'right'} -Last published: ${build.date} -j:if test=${!empty(version)} - j:if test=${!(maven.xdoc.crumb.separator == '')} -span class=separator${maven.xdoc.crumb.separator}/span - /j:if - Doc for ${version} -/j:if -x:if select=$nav/body/links - j:if test=${!(maven.xdoc.crumb.separator == '')} -span class=separator${maven.xdoc.crumb.separator}/span - /j:if -/x:if - /j:if + j:if test=${empty(breadcrumbsUsed)} +j:if test=${date == 'right'} + Last published: ${build.date} + j:if test=${!empty(version)} +j:if test=${!(maven.xdoc.crumb.separator == '')} + span class=separator${maven.xdoc.crumb.separator}/span +/j:if +
Re: svn commit: r154533 - in maven/maven-1/plugins/trunk/xdoc: project.properties project.xml src/plugin-resources/site.jsl xdocs/changes.xml xdocs/index.xml xdocs/navigation.xml
[EMAIL PROTECTED] wrote: Author: michal Date: Sun Feb 20 09:30:03 2005 New Revision: 154533 URL: http://svn.apache.org/viewcvs?view=revrev=154533 Log: Add a support for hierarchical site navigation in breadcrumbs Hey! I just added support a feature which enables better navigation in within large web sites. Simply breadcrumbs page section is used for displaying current location within the larger website. This is something which is pretty commonly used by many websites (e.g. java.net - see e.g. javacc site: https://javacc.dev.java.net/ and links Projects https://www.dev.java.net/servlets/ProjectList javatools https://javatools.dev.java.net/ * javacc https://javacc.dev.java.net/* If everybody is OK with that I can modify navigation.xml file of existing maven plugins and activate it for those plugins. It requires addition ot the new section called breadcrumbs. e.g: http://svn.apache.org/viewcvs.cgi/maven/maven-1/plugins/trunk/xdoc/xdocs/navigation.xml?rev=154533view=markup greets Michal -- Sprawdz NOWE parametry hostingu! http://link.interia.pl/f1857 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: svn commit: r154533 - in maven/maven-1/plugins/trunk/xdoc: project.properties project.xml src/plugin-resources/site.jsl xdocs/changes.xml xdocs/index.xml xdocs/navigation.xml
Hi Michal, Do you have an example web page where we could see the live result of applying breadcrumbs to a project? The navigation.xml example you gave involves external links and I am not what's the relationship between breadcrumbs and external links. Thanks -Vincent -Original Message- From: Michal Maczka [mailto:[EMAIL PROTECTED] Sent: lundi 21 février 2005 03:43 To: Maven Developers List Subject: Re: svn commit: r154533 - in maven/maven-1/plugins/trunk/xdoc: project.properties project.xml src/plugin-resources/site.jsl xdocs/changes.xml xdocs/index.xml xdocs/navigation.xml [EMAIL PROTECTED] wrote: Author: michal Date: Sun Feb 20 09:30:03 2005 New Revision: 154533 URL: http://svn.apache.org/viewcvs?view=revrev=154533 Log: Add a support for hierarchical site navigation in breadcrumbs Hey! I just added support a feature which enables better navigation in within large web sites. Simply breadcrumbs page section is used for displaying current location within the larger website. This is something which is pretty commonly used by many websites (e.g. java.net - see e.g. javacc site: https://javacc.dev.java.net/ and links Projects https://www.dev.java.net/servlets/ProjectList javatools https://javatools.dev.java.net/ * javacc https://javacc.dev.java.net/* If everybody is OK with that I can modify navigation.xml file of existing maven plugins and activate it for those plugins. It requires addition ot the new section called breadcrumbs. e.g: http://svn.apache.org/viewcvs.cgi/maven/maven- 1/plugins/trunk/xdoc/xdocs/navigation.xml?rev=154533view=markup greets Michal -- Sprawdz NOWE parametry hostingu! http://link.interia.pl/f1857 - 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]
Re: svn commit: r154533 - in maven/maven-1/plugins/trunk/xdoc: project.properties project.xml src/plugin-resources/site.jsl xdocs/changes.xml xdocs/index.xml xdocs/navigation.xml
Vincent Massol wrote: Hi Michal, Do you have an example web page where we could see the live result of applying breadcrumbs to a project? The navigation.xml example you gave involves external links and I am not what's the relationship between breadcrumbs and external links. Thanks -Vincent You can create web site for xdoc plugin after updating it from svn:) (invoke plugin:install then site) I think that this information can be some how inherited from parent projects. in m2 it should be easy. Michal -- Sprawdz NOWE parametry hostingu! http://link.interia.pl/f1857 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: svn commit: r154533 - in maven/maven-1/plugins/trunk/xdoc: project.properties project.xml src/plugin-resources/site.jsl xdocs/changes.xml xdocs/index.xml xdocs/navigation.xml
Hi Michal, You must certainly update (or create a new one) : http://svn.apache.org/viewcvs.cgi/maven/maven-1/core/trunk/src/xsd/maven-navigation-1.0.xsd?rev=122145view=markup And http://svn.apache.org/viewcvs.cgi/maven/maven-1/core/trunk/xdocs/site.xml?rev=122145view=markup Arnaud -Message d'origine- De : Michal Maczka [mailto:[EMAIL PROTECTED] Envoyé : lundi 21 février 2005 03:57 À : Maven Developers List Objet : Re: svn commit: r154533 - in maven/maven-1/plugins/trunk/xdoc: project.properties project.xml src/plugin-resources/site.jsl xdocs/changes.xml xdocs/index.xml xdocs/navigation.xml Vincent Massol wrote: Hi Michal, Do you have an example web page where we could see the live result of applying breadcrumbs to a project? The navigation.xml example you gave involves external links and I am not what's the relationship between breadcrumbs and external links. Thanks -Vincent You can create web site for xdoc plugin after updating it from svn:) (invoke plugin:install then site) I think that this information can be some how inherited from parent projects. in m2 it should be easy. Michal -- Sprawdz NOWE parametry hostingu! http://link.interia.pl/f1857 - 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]
Re: svn commit: r154533 - in maven/maven-1/plugins/trunk/xdoc: project.properties project.xml src/plugin-resources/site.jsl xdocs/changes.xml xdocs/index.xml xdocs/navigation.xml
Vincent Massol wrote: Hi Michal, Do you have an example web page where we could see the live result of applying breadcrumbs to a project? http://codehaus.org/~michal/docs/ greets Michal -- Sprawdz NOWE parametry hostingu! http://link.interia.pl/f1857 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: svn commit: r154533 - in maven/maven-1/plugins/trunk/xdoc: project.properties project.xml src/plugin-resources/site.jsl xdocs/changes.xml xdocs/index.xml xdocs/navigation.xml
2 remarks : - spaces between crumbs and separators aren't equals (no spaces between maven and maven plugins) : MavenMaven Plugins Maven XDoc Plug-in About Is it normal ? - I don't like the date and the release in the bottom left. Can't we put them anywhere else ? Arnaud -Message d'origine- De : Michal Maczka [mailto:[EMAIL PROTECTED] Envoyé : lundi 21 février 2005 04:45 À : Maven Developers List Objet : Re: svn commit: r154533 - in maven/maven-1/plugins/trunk/xdoc: project.properties project.xml src/plugin-resources/site.jsl xdocs/changes.xml xdocs/index.xml xdocs/navigation.xml Vincent Massol wrote: Hi Michal, Do you have an example web page where we could see the live result of applying breadcrumbs to a project? http://codehaus.org/~michal/docs/ greets Michal -- Sprawdz NOWE parametry hostingu! http://link.interia.pl/f1857 - 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]
RE: svn commit: r154533 - in maven/maven-1/plugins/trunk/xdoc: project.properties project.xml src/plugin-resources/site.jsl xdocs/changes.xml xdocs/index.xml xdocs/navigation.xml
Thanks. I like it. I agree with Arnaud that the doc for is not visible enough at the bottom. Thanks -Vincent -Original Message- From: Michal Maczka [mailto:[EMAIL PROTECTED] Sent: lundi 21 février 2005 04:45 To: Maven Developers List Subject: Re: svn commit: r154533 - in maven/maven-1/plugins/trunk/xdoc: project.properties project.xml src/plugin-resources/site.jsl xdocs/changes.xml xdocs/index.xml xdocs/navigation.xml Vincent Massol wrote: Hi Michal, Do you have an example web page where we could see the live result of applying breadcrumbs to a project? http://codehaus.org/~michal/docs/ greets Michal -- Sprawdz NOWE parametry hostingu! http://link.interia.pl/f1857 - 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]