Permalink
Browse files

Minor fixes on appendices.

  • Loading branch information...
1 parent 21fb21d commit ea6887f6202aac3720fee76174567e8936dafd99 @dchenbecker dchenbecker committed Apr 9, 2009
Showing with 20 additions and 86 deletions.
  1. +0 −86 apdx-email.lyx
  2. +20 −0 chap-maven.lyx
View
@@ -53,18 +53,6 @@ name "cha:Sending-Email"
\end_layout
-\begin_layout Itemize
-Configuring the mailer lib
-\end_layout
-
-\begin_layout Itemize
-Sending email
-\end_layout
-
-\begin_layout Itemize
-System.properties
-\end_layout
-
\begin_layout Standard
Sending email is a common enough task (user registration, notifications,
etc) within a web application that we've decided to cover it here.
@@ -77,79 +65,6 @@ Setup
\end_layout
\begin_layout Standard
-The first thing to take care of is adding the lift-util module to your pom.
- Listing
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "lst:Lift-util-module-dependency"
-
-\end_inset
-
- shows the dependency info for a Lift 1.0 project.
- Adjust the version of the dependency to match your primary lift-webkit
- dependency version.
- The Lift-util dependency will automatically pull in the required JavaMail
- and JAF dependencies.
-\end_layout
-
-\begin_layout Standard
-\begin_inset listings
-lstparams "language=XML"
-inline false
-status open
-
-\begin_layout Plain Layout
-
-\begin_inset Caption
-
-\begin_layout Plain Layout
-
-Lift-util module dependency
-\begin_inset CommandInset label
-LatexCommand label
-name "lst:Lift-util-module-dependency"
-
-\end_inset
-
-
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Plain Layout
-
-<dependency>
-\end_layout
-
-\begin_layout Plain Layout
-
- <groupId>net.liftweb</groupId>
-\end_layout
-
-\begin_layout Plain Layout
-
- <artifactId>lift-util</artifactId>
-\end_layout
-
-\begin_layout Plain Layout
-
- <version>1.0</version>
-\end_layout
-
-\begin_layout Plain Layout
-
-</dependency>
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
Configuration of the mailer is handled in a few different ways.
The
\family typewriter
@@ -282,7 +197,6 @@ status open
\begin_inset Caption
\begin_layout Plain Layout
-
Sending a two-part email
\begin_inset CommandInset label
LatexCommand label
View
@@ -1109,9 +1109,29 @@ zed layout for projects.
\end_layout
\begin_layout Description
+<application_root>/src/main/resources This directory is where you would
+ place any resources that you want to go into the WAR file.
+ Typically this is used if you want to add entries to the
+\family typewriter
+META-INF
+\family default
+ directory in the WAR, since normal web resources should be placed under
+ the
+\family typewriter
+webapp/WEB-INF
+\family default
+ directory.
+\end_layout
+
+\begin_layout Description
<application_root>/src/main/webapp All of the web and static content for
your application, such as images, XHTML templates, JavaScript and CSS are
placed under this directory.
+ This is also where your
+\family typewriter
+WEB-INF
+\family default
+ directory (and the configuration files it contains) goes.
This directory is essentially what is packaged into the WAR in addition
to the output from your Scala sources.
\end_layout

0 comments on commit ea6887f

Please sign in to comment.