You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by "BAZLEY, Sebastian" <Se...@london.sema.slb.com> on 2003/10/08 12:24:04 UTC

JMeter web-site questions

Just wondering how the JMeter web-site gets updated? 

I'd like to move the images out of docs and into a new images directory at
the same level (they're used by printable_docs as well). I can change the
Velocity templates to pick them up, but I don't want to cause problems for
web-site maintenance.

I also want to use relative paths for all the images: at present at least
some are absolute, which means that local copies either don't show them, or
they access the Jakarta web-site. Help does this at the moment, so every
time JMeter Help is used, it "phones a friend" in Jakarta!

==

I'm also thinking of splitting the component_reference page into two parts,
as it's getting rather long. Should be easy to split the functions into a
separate file, which I think would help, without causing too much
fragmentation.


S.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org


Re: JMeter web-site questions

Posted by Jordi Salvat i Alabart <js...@atg.com>.
Check in the changes into CVS, then ask Mike to do the update -- he has 
the necessary karma.

-- 
Salut,

Jordi.

BAZLEY, Sebastian wrote:
> Just wondering how the JMeter web-site gets updated? 
> 
> I'd like to move the images out of docs and into a new images directory at
> the same level (they're used by printable_docs as well). I can change the
> Velocity templates to pick them up, but I don't want to cause problems for
> web-site maintenance.
> 
> I also want to use relative paths for all the images: at present at least
> some are absolute, which means that local copies either don't show them, or
> they access the Jakarta web-site. Help does this at the moment, so every
> time JMeter Help is used, it "phones a friend" in Jakarta!
> 
> ==
> 
> I'm also thinking of splitting the component_reference page into two parts,
> as it's getting rather long. Should be easy to split the functions into a
> separate file, which I think would help, without causing too much
> fragmentation.
> 
> 
> S.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org


[PATCH]Re: JMeter web-site questions

Posted by Tetsuya Kitahata <te...@apache.org>.
D'ooooh. Please use this instead of #2 shown below:

#################(FROM HERE)####################
Index: project.xml
===================================================================
RCS file: /home/cvs/jakarta-jmeter/xdocs/stylesheets/project.xml,v
retrieving revision 1.21
diff -u -r1.21 project.xml
--- project.xml	18 Aug 2003 12:49:54 -0000	1.21
+++ project.xml	9 Oct 2003 09:21:43 -0000
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
-<project name="Velocity"
+<project name="JMeter"
 		  href="http://jakarta.apache.org/jmeter/">
 
 	 <title>JMeter</title>
@@ -16,9 +16,10 @@
 		  <item name="FAQ"			href="http://nagoya.apache.org/wiki/apachewiki.cgi?JMeterFAQ"/>
 	 </menu>
 	 <menu name="download">
-	 	<item name="Download Releases"               	href="http://jakarta.apache.org/builds/jakarta-jmeter/release"/>
+	 	<item name="Download Binary"               	href="http://jakarta.apache.org/site/binindex.cgi"/>
+	 	<item name="Download Source"               	href="http://jakarta.apache.org/site/sourceindex.cgi"/>
 		<item name="Download Nightly Tarball"  			href="http://cvs.apache.org/builds/jakarta-jmeter/nightly"/>
-	 	<item name="Download Latest Stable Release" 	href="http://jakarta.apache.org/builds/jakarta-jmeter/release/v1.9/jakarta-jmeter-1.9.1.zip"/>
+	 	<item name="Download Latest Stable Release" 	href="http://www.apache.org/dyn/closer.cgi/jakarta/jmeter/jakarta-jmeter-current-bin.zip"/>
 	 	<!-- <item name="Download Latest Release Candidate" 	href="http://jakarta.apache.org/builds/jakarta-jmeter/unstable/v1.9/jakarta-jmeter-1.9.RC3.zip"/> -->
 	 </menu>
 	 <menu name="Documentation">
@@ -33,7 +34,7 @@
 	 </menu>
 	 <menu name="Community">
 		  <item name="Get Involved"           href="/site/getinvolved.html"/>
-		  <item name="Mailing Lists"          href="/site/mail.html"/>
+		  <item name="Mailing Lists"          href="/site/mail2.html#jmeter"/>
 		  <item name="CVS Repositories"       href="/site/cvsindex.html"/>
 	 </menu>
 	 </body>
Index: site.vsl
===================================================================
RCS file: /home/cvs/jakarta-jmeter/xdocs/stylesheets/site.vsl,v
retrieving revision 1.18
diff -u -r1.18 site.vsl
--- site.vsl	20 Jun 2003 14:15:36 -0000	1.18
+++ site.vsl	9 Oct 2003 09:21:47 -0000
@@ -355,7 +355,7 @@
 #macro (getProjectImage)
 #if ($project.getChild("logo"))
 <td align="left">
-<a href="http://jakarta.apache.org"><img src="http://jakarta.apache.org/images/jakarta-logo.gif" border="0"/></a>
+<a href="http://jakarta.apache.org/"><img src="$relativePath/images/jakarta-logo.gif" border="0"/></a>
 </td>
 <td align="right">
 #set ( $logoString = $project.getChild("logo").getAttributeValue("href") )
@@ -367,7 +367,7 @@
 </td>
 #else
 <td colspan="2">
-<a href="http://jakarta.apache.org"><img src="http://jakarta.apache.org/images/jakarta-logo.gif" align="left" border="0"/></a>
+<a href="http://jakarta.apache.org/"><img src="$relativePath/images/jakarta-logo.gif" align="left" border="0"/></a>
 </td>
 #end
 #end
@@ -421,7 +421,7 @@
 					 </td></tr>
 					 <tr><td colspan="2">
 						  <div align="center"><font color="$bodylink" size="-1"><em>
-						  Copyright &#169; 1999-2001, Apache Software Foundation
+						  Copyright &#169; 1999-2003, Apache Software Foundation
 						  </em></font></div>
 					 </td></tr>
 				</table>
#################(   E  N  D  )####################
#################(FROM HERE)####################
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-jmeter/build.xml,v
retrieving revision 1.115
diff -u -r1.115 build.xml
--- build.xml	3 Oct 2003 10:48:27 -0000	1.115
+++ build.xml	9 Oct 2003 09:31:00 -0000
@@ -469,11 +469,25 @@
   <target name="docs" depends="init-docs" if="AnakiaTask.present" description="Generate browsable HTML documentation.">
     <taskdef name="anakia" classpathref="anakia.classpath" classname="org.apache.velocity.anakia.AnakiaTask"/>
     <anakia basedir="${docs.src}" destdir="${docs.dest}/" extension=".html" style="${eclipse.anakia}/xdocs/stylesheets/site.vsl" projectFile="./stylesheets/project.xml" excludes="**/stylesheets/**" includes="**/*.xml" lastModifiedCheck="true" velocityPropertiesFile="${docs.src}/velocity.properties"/>
+    <copy todir="${docs.dest}/images" filtering="no">
+       <fileset dir="${docs.src}/images">
+          <include name="**/*.gif"/>
+          <include name="**/*.jpeg"/>
+          <include name="**/*.jpg"/>
+       </fileset>
+    </copy>
   </target>
 
   <target name="printable-docs" depends="init-docs" if="AnakiaTask.present" description="Generate printable HTML documentation.">
     <taskdef name="anakia" classpathref="anakia.classpath" classname="org.apache.velocity.anakia.AnakiaTask"/>
     <anakia basedir="${docs.src}" destdir="${printable_docs.dest}/" extension=".html" style="${eclipse.anakia}/xdocs/stylesheets/site_printable.vsl" projectFile="./stylesheets/printable_project.xml" excludes="**/stylesheets/**" includes="**/*.xml" lastModifiedCheck="true" velocityPropertiesFile="${docs.src}/velocity.properties"/>
+    <copy todir="${docs.dest}/images" filtering="no">
+       <fileset dir="${docs.src}/images">
+          <include name="**/*.gif"/>
+          <include name="**/*.jpeg"/>
+          <include name="**/*.jpg"/>
+       </fileset>
+    </copy>
   </target>
 
   <target name="all-docs" depends="docs,printable-docs,api-docs" description="Generate documentation."/>
#################(   E  N  D  )####################

-- Tetsuya. (tetsuya@apache.org)

On Thu, 09 Oct 2003 18:09:59 +0900
(Subject: Re: JMeter web-site questions)
Tetsuya Kitahata <te...@apache.org> wrote:

> 
> -- Tetsuya. (tetsuya@apache.org)
> 
> On Wed, 08 Oct 2003 11:24:04 +0100
> (Subject: JMeter web-site questions)
> "BAZLEY, Sebastian" <Se...@london.sema.slb.com> wrote:
> 
> > Just wondering how the JMeter web-site gets updated? 
> 
> What you wanted would be accomplished by these below:
> 
> ----------------------------------------
> 1. copy the image of "jakarta.apache.org" (Jakarta Logo:
> http://jakarta.apache.org/images/jakarta-logo.gif) to
> JMETER_CHECKOUT_DIR/xdocs/images/ (new directory)
> :=>   JMETER_CHECKOUT_DIR/xdocs/images/jakarta-logo.gif
> ----------------------------------------
> 2. Apply this patch (*not* unified diff style.. sorry)
> 
> #################(FROM HERE)####################
> Index: build.xml
> ===================================================================
> RCS file: /home/cvs/jakarta-jmeter/build.xml,v
> retrieving revision 1.115
> diff -r1.115 build.xml
> 471a472,478
> >     <copy todir="${docs.dest}/images" filtering="no">
> >        <fileset dir="${docs.src}/images">
> >           <include name="**/*.gif"/>
> >           <include name="**/*.jpeg"/>
> >           <include name="**/*.jpg"/>
> >        </fileset>
> >     </copy>
> 476a484,490
> >     <copy todir="${docs.dest}/images" filtering="no">
> >        <fileset dir="${docs.src}/images">
> >           <include name="**/*.gif"/>
> >           <include name="**/*.jpeg"/>
> >           <include name="**/*.jpg"/>
> >        </fileset>
> >     </copy>
> #################(   E  N  D  )####################
> #################(FROM HERE)####################
> Index: site.vsl
> ===================================================================
> RCS file: /home/cvs/jakarta-jmeter/xdocs/stylesheets/site.vsl,v
> retrieving revision 1.18
> diff -r1.18 site.vsl
> 358c358
> < <a href="http://jakarta.apache.org"><img src="http://jakarta.apache.org/images/jakarta-logo.gif" border="0"/></a>
> ---
> > <a href="http://jakarta.apache.org/"><img src="./images/jakarta-logo.gif" border="0"/></a>
> 370c370
> < <a href="http://jakarta.apache.org"><img src="http://jakarta.apache.org/images/jakarta-logo.gif" align="left" border="0"/></a>
> ---
> > <a href="http://jakarta.apache.org/"><img src="./images/jakarta-logo.gif" align="left" border="0"/></a>
> 424c424
> < 						  Copyright &#169; 1999-2001, Apache Software Foundation
> ---
> > 						  Copyright &#169; 1999-2003, Apache Software Foundation
> Index: project.xml
> ===================================================================
> RCS file: /home/cvs/jakarta-jmeter/xdocs/stylesheets/project.xml,v
> retrieving revision 1.21
> diff -r1.21 project.xml
> 2c2
> < <project name="Velocity"
> ---
> > <project name="JMeter"
> 19c19,20
> < 	 	<item name="Download Releases"               	href="http://jakarta.apache.org/builds/jakarta-jmeter/release"/>
> ---
> > 	 	<item name="Download Binary"               	href="http://jakarta.apache.org/site/binindex.cgi"/>
> > 	 	<item name="Download Source"               	href="http://jakarta.apache.org/site/sourceindex.cgi"/>
> 21c22
> < 	 	<item name="Download Latest Stable Release" 	href="http://jakarta.apache.org/builds/jakarta-jmeter/release/v1.9/jakarta-jmeter-1.9.1.zip"/>
> ---
> > 	 	<item name="Download Latest Stable Release" 	href="http://www.apache.org/dyn/closer.cgi/jakarta/jmeter/jakarta-jmeter-current-bin.zip"/>
> 36c37
> < 		  <item name="Mailing Lists"          href="/site/mail.html"/>
> ---
> > 		  <item name="Mailing Lists"          href="/site/mail2.html#jmeter"/>
> #################(   E  N  D  )####################
> 
> ----------------------------------------
> 3. AT  JMETER_CHECKOUT_DIR, run "ant docs"
> ----------------------------------------
> 4. Confirm that the new documents have been created at 
> JMETER_CHECKOUT_DIR/docs/
> directory
> ----------------------------------------
> 5. CVS Commit!
> ----------------------------------------
> 6. SSH to Minotaur (www.apache.org) and cd to
> "/www/jakarta.apache.org/jmeter".
> Do "cvs update" there.
> ----------------------------------------
> 7. DONE. Congratulations
> ----------------------------------------
> 
> Hope these might help
> 
> Regards,
> 
> ---------------------------------------------------------------------
> Tetsuya Kitahata --  Terra-International, Inc.
> E-mail: tetsuya@apache.org  http://www.terra-intl.com/
> Apache Software Foundation Committer: http://www.apache.org/~tetsuya/
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org

---------------------------------------------------------------------
Tetsuya Kitahata --  Terra-International, Inc.
E-mail: tetsuya@apache.org  http://www.terra-intl.com/
Apache Software Foundation Committer: http://www.apache.org/~tetsuya/


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org


Re: JMeter web-site questions

Posted by Tetsuya Kitahata <te...@apache.org>.
-- Tetsuya. (tetsuya@apache.org)

On Wed, 08 Oct 2003 11:24:04 +0100
(Subject: JMeter web-site questions)
"BAZLEY, Sebastian" <Se...@london.sema.slb.com> wrote:

> Just wondering how the JMeter web-site gets updated? 

What you wanted would be accomplished by these below:

----------------------------------------
1. copy the image of "jakarta.apache.org" (Jakarta Logo:
http://jakarta.apache.org/images/jakarta-logo.gif) to
JMETER_CHECKOUT_DIR/xdocs/images/ (new directory)
:=>   JMETER_CHECKOUT_DIR/xdocs/images/jakarta-logo.gif
----------------------------------------
2. Apply this patch (*not* unified diff style.. sorry)

#################(FROM HERE)####################
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-jmeter/build.xml,v
retrieving revision 1.115
diff -r1.115 build.xml
471a472,478
>     <copy todir="${docs.dest}/images" filtering="no">
>        <fileset dir="${docs.src}/images">
>           <include name="**/*.gif"/>
>           <include name="**/*.jpeg"/>
>           <include name="**/*.jpg"/>
>        </fileset>
>     </copy>
476a484,490
>     <copy todir="${docs.dest}/images" filtering="no">
>        <fileset dir="${docs.src}/images">
>           <include name="**/*.gif"/>
>           <include name="**/*.jpeg"/>
>           <include name="**/*.jpg"/>
>        </fileset>
>     </copy>
#################(   E  N  D  )####################
#################(FROM HERE)####################
Index: site.vsl
===================================================================
RCS file: /home/cvs/jakarta-jmeter/xdocs/stylesheets/site.vsl,v
retrieving revision 1.18
diff -r1.18 site.vsl
358c358
< <a href="http://jakarta.apache.org"><img src="http://jakarta.apache.org/images/jakarta-logo.gif" border="0"/></a>
---
> <a href="http://jakarta.apache.org/"><img src="./images/jakarta-logo.gif" border="0"/></a>
370c370
< <a href="http://jakarta.apache.org"><img src="http://jakarta.apache.org/images/jakarta-logo.gif" align="left" border="0"/></a>
---
> <a href="http://jakarta.apache.org/"><img src="./images/jakarta-logo.gif" align="left" border="0"/></a>
424c424
< 						  Copyright &#169; 1999-2001, Apache Software Foundation
---
> 						  Copyright &#169; 1999-2003, Apache Software Foundation
Index: project.xml
===================================================================
RCS file: /home/cvs/jakarta-jmeter/xdocs/stylesheets/project.xml,v
retrieving revision 1.21
diff -r1.21 project.xml
2c2
< <project name="Velocity"
---
> <project name="JMeter"
19c19,20
< 	 	<item name="Download Releases"               	href="http://jakarta.apache.org/builds/jakarta-jmeter/release"/>
---
> 	 	<item name="Download Binary"               	href="http://jakarta.apache.org/site/binindex.cgi"/>
> 	 	<item name="Download Source"               	href="http://jakarta.apache.org/site/sourceindex.cgi"/>
21c22
< 	 	<item name="Download Latest Stable Release" 	href="http://jakarta.apache.org/builds/jakarta-jmeter/release/v1.9/jakarta-jmeter-1.9.1.zip"/>
---
> 	 	<item name="Download Latest Stable Release" 	href="http://www.apache.org/dyn/closer.cgi/jakarta/jmeter/jakarta-jmeter-current-bin.zip"/>
36c37
< 		  <item name="Mailing Lists"          href="/site/mail.html"/>
---
> 		  <item name="Mailing Lists"          href="/site/mail2.html#jmeter"/>
#################(   E  N  D  )####################

----------------------------------------
3. AT  JMETER_CHECKOUT_DIR, run "ant docs"
----------------------------------------
4. Confirm that the new documents have been created at 
JMETER_CHECKOUT_DIR/docs/
directory
----------------------------------------
5. CVS Commit!
----------------------------------------
6. SSH to Minotaur (www.apache.org) and cd to
"/www/jakarta.apache.org/jmeter".
Do "cvs update" there.
----------------------------------------
7. DONE. Congratulations
----------------------------------------

Hope these might help

Regards,

---------------------------------------------------------------------
Tetsuya Kitahata --  Terra-International, Inc.
E-mail: tetsuya@apache.org  http://www.terra-intl.com/
Apache Software Foundation Committer: http://www.apache.org/~tetsuya/


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org