stephan     2002/08/15 07:26:44

  Modified:    src/webapp/samples samples.xml
               src/webapp/samples/chaperon sitemap.xmap
               src/webapp/samples/chaperon/misc samples.xml test1.java
  Removed:     src/webapp/samples/chaperon/misc index.html
  Log:
  Remove some problems with samples.
  
  Revision  Changes    Path
  1.22      +2 -2      xml-cocoon2/src/webapp/samples/samples.xml
  
  Index: samples.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/webapp/samples/samples.xml,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- samples.xml       15 Aug 2002 13:43:19 -0000      1.21
  +++ samples.xml       15 Aug 2002 14:26:43 -0000      1.22
  @@ -183,7 +183,7 @@
   
      <sample name="Chaperon Text Parser" href="chaperon/">
       Samples showing how to use the Chaperon Parser to parse common text files 
  -    like Wiki of Java files.
  +    like Wiki or Java files.
      </sample>
   
      <sample name="Miscellaneous" href="misc/">
  
  
  
  1.2       +2 -2      xml-cocoon2/src/webapp/samples/chaperon/sitemap.xmap
  
  Index: sitemap.xmap
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/webapp/samples/chaperon/sitemap.xmap,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- sitemap.xmap      15 Aug 2002 13:43:19 -0000      1.1
  +++ sitemap.xmap      15 Aug 2002 14:26:43 -0000      1.2
  @@ -131,8 +131,8 @@
       <map:serialize type="html"/>
      </map:match>
   
  -   <map:match pattern="java.html">
  -    <map:generate type="textparser" src="misc/test.java">
  +   <map:match pattern="java1.html">
  +    <map:generate type="textparser" src="misc/test1.java">
        <map:parameter name="grammar" value="cocoon:/java.grm"/>
        <!--<map:parameter name="grammar" value="context:/grammars/java.grm"/>-->
        <map:parameter name="includeignorabletokens" value="true"/>
  
  
  
  1.2       +3 -3      xml-cocoon2/src/webapp/samples/chaperon/misc/samples.xml
  
  Index: samples.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/webapp/samples/chaperon/misc/samples.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- samples.xml       15 Aug 2002 13:43:19 -0000      1.1
  +++ samples.xml       15 Aug 2002 14:26:44 -0000      1.2
  @@ -16,11 +16,11 @@
    </group>
   
    <group name="Syntax highlighting example">
  -  <sample name="Syntax highlighting" href="java1.html">The parser also be used to 
colorize
  -   some source code.
  +  <sample name="Example 1" href="java1.html">The parser also be used to colorize
  +   some source code. (Need once 2-3min, for the parser table generation process)
     </sample>
   
  -  <sample name="Syntax highlighting" href="java2.html">Another example.
  +  <sample name="Example 2" href="java2.html">Another example.
     </sample>
    </group>
   
  
  
  
  1.2       +0 -6      xml-cocoon2/src/webapp/samples/chaperon/misc/test1.java
  
  Index: test1.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/webapp/samples/chaperon/misc/test1.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- test1.java        15 Aug 2002 13:43:19 -0000      1.1
  +++ test1.java        15 Aug 2002 14:26:44 -0000      1.2
  @@ -10,14 +10,8 @@
   
   public class Example
   {
  -
     public String concat(String param1, String param2) 
     {
       return param1 + param2;
  -  }
  -
  -  public static void main(String[] args)
  -  {
  -    System.out.println("result is "+concat(args[0], args[1]));
     }
   }
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     [EMAIL PROTECTED]
To unsubscribe, e-mail:          [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to