You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@shale.apache.org by Apache Wiki <wi...@apache.org> on 2007/02/27 10:28:44 UTC

[Shale Wiki] Trivial Update of "ShaleAndClayTutorial" by CedricDumoulin

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Shale Wiki" for change notification.

The following page has been changed by CedricDumoulin:
http://wiki.apache.org/shale/ShaleAndClayTutorial

The comment on the change is:
Typo

------------------------------------------------------------------------------
  
  In the field "Select root directory" enter the name of you workspace or use the “Browse..” button to navigate to it. Eclipse should now list all available projects. Select the ShaleClay project and hit the “Finish” button.
  
- You may see a red cross on your projectname if you have not defined the maven classpath variable “M2_REPO”. You ca add it under "Window-preferences" and then "Java-Build Path-Classpath Variables"
+ You may see a red cross on your projectname if you have not defined the maven classpath variable “M2_REPO”. You can add it under "Window-preferences" and then "Java-Build Path-Classpath Variables"
  
  attachment:ShaleClay4.jpg
  
@@ -68, +68 @@

  
  Eclipse will then inform you that it has to rebuild the workspace. Press the "Yes" button.
  
- If you still have a re cross after it has recompiled, check the default Java version in Eclipse. If you have Java5 as standard the cause is the compiler-level is mismatched with what Maven set when it generated the project. Go to the problems view, right click on the message and choose “Quick Fix”
+ If you still have a red cross after it has recompiled, check the default Java version in Eclipse. If you have Java5 as standard the cause is the compiler-level is mismatched with what Maven set when it generated the project. Go to the problems view, right click on the message and choose “Quick Fix”
  
  attachment:ShaleClay6.jpg
  
@@ -79, +79 @@

  attachment:ShaleClay7.jpg
  
  In the Java sourcefolder (src/main/java) under the packagename you provided you should find two classes:
- Person og TestVC. 
+ Person and TestVC. 
  
  In the resources folder (src/main/resources) you will find three property files. This is actually one property file with two language provisions of it. These can be identified by their nameextention.
   
  In the web sources folder (src/main/webapp) you will find several folders:
  
- The folder ”images” contains the images and backgrouns that are used for the site.
+ The folder ”images” contains the images and backgrounds that are used for the site.
  
- The folder ”pages” contains standard definitions (defaultxxx.html) of the various parts tghat make up the site, along with som specific definitions (pageXbody.html)
+ The folder ”pages” contains standard definitions (defaultxxx.html) of the various parts that make up the site, along with some specific definitions (pageXbody.html)
  
  The folder “templates” contains the template that we are using to build our site – we will return to this shortly 
  
@@ -143, +143 @@

  * org.apache.shale.clay.FULLXML_CONFIG_FILES – What are the name(s) of the Clay configuration file(s) that tells Clay about our page definitions.[[BR]]
  * org.apache.shale.clay.XML_TEMPLATE_SUFFIX – Which page suffixes should be handled by Clay.[[BR]]
  
- The are the Filter defintions. A filter is a Javaclass that will be called by the webcontainer on every request that comes into it (Actually only requests that match a certain predefined pattern – See filter-mapping below)
+ Then are the Filter definitions. A filter is a Javaclass that will be called by the webcontainer on every request that comes into it (Actually only requests that match a certain predefined pattern – See filter-mapping below)
  
     <filter>[[BR]]
        <filter-name>shale</filter-name>[[BR]]