You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by ni...@apache.org on 2006/08/28 21:30:16 UTC

svn commit: r437794 - in /james/mime4j/branches/maven2-port/src/site/xdoc: samples.xml start/build.xml

Author: niklas
Date: Mon Aug 28 12:30:15 2006
New Revision: 437794

URL: http://svn.apache.org/viewvc?rev=437794&view=rev
Log:
Commented out some samples which doesn't exist yet.
Changed the build instructions to use Maven 2.0.

Modified:
    james/mime4j/branches/maven2-port/src/site/xdoc/samples.xml
    james/mime4j/branches/maven2-port/src/site/xdoc/start/build.xml

Modified: james/mime4j/branches/maven2-port/src/site/xdoc/samples.xml
URL: http://svn.apache.org/viewvc/james/mime4j/branches/maven2-port/src/site/xdoc/samples.xml?rev=437794&r1=437793&r2=437794&view=diff
==============================================================================
--- james/mime4j/branches/maven2-port/src/site/xdoc/samples.xml (original)
+++ james/mime4j/branches/maven2-port/src/site/xdoc/samples.xml Mon Aug 28 12:30:15 2006
@@ -27,7 +27,7 @@
     <body>
         <section name="Samples">
             <p>
-            The mime4j distribution includes a number of sample applications
+            The mime4j distribution includes samples
             which demonstrate how the library could be used. This section
             gives you a short review of those samples. For more information
             you should download the distribution and study the sample sources.
@@ -52,7 +52,7 @@
                             you want the study the structure of MIME messages.
                             </td>
                     </tr>
-                    <tr>
+               <!--      <tr>
                         <td>
                             <code>org.mime4j.samples.sax.Mime2Sax</code>
                         </td>
@@ -63,7 +63,7 @@
                             <code>org.mime4j.samples.pgp.PGPSignatureVerifier</code>
                         </td>
                         <td></td>
-                    </tr>
+                    </tr> -->
                 </table>
         </section>
     </body>

Modified: james/mime4j/branches/maven2-port/src/site/xdoc/start/build.xml
URL: http://svn.apache.org/viewvc/james/mime4j/branches/maven2-port/src/site/xdoc/start/build.xml?rev=437794&r1=437793&r2=437794&view=diff
==============================================================================
--- james/mime4j/branches/maven2-port/src/site/xdoc/start/build.xml (original)
+++ james/mime4j/branches/maven2-port/src/site/xdoc/start/build.xml Mon Aug 28 12:30:15 2006
@@ -40,14 +40,14 @@
                 <p>
                     Issue the following commands in a shell:
                     <blockquote>
-                        <code>svn co 'https://svn.apache.org/repos/asf/james/mime4j/trunk/' mime4j</code><br/>
+                        <code>svn checkout http://svn.apache.org/repos/asf/james/mime4k/trunk james-mime4j</code><br/>
                     </blockquote>
                 </p>
             </subsection>
             <subsection name="Download and Install Maven">
                 <p> You will need to download and install <a
                     href="http://maven.apache.org/">Maven</a> before building
-                    the sources. The build has been tested with version 1.0 of
+                    the sources. The build has been tested with version 2.0 of
                     Maven so use this or a later version if possible. </p>
                 <p> One of the main differences between Maven and plain ant is
                     that Maven manages external dependencies for your projects
@@ -63,16 +63,22 @@
             <subsection name="Building the mime4j Jar">
                 <p> Once Maven has been installed, building the project should
                     be as simple as typing <blockquote>
-                        <code>cd mime4j-x.y/ (cd mime4j/ if sources come from
-                            Subversion)<br/>maven jar</code>
+                        <code>cd mime4j-x.y/ (cd james-mime4j/ if sources come from
+                            Subversion)<br/>mvn package</code>
                     </blockquote> from the command line. Maven will
-                    automatically run all test cases for you. If you want to
-                    disable the tests you should replace the last command above
-                    with <blockquote>
-                        <code>maven -Dmaven.test.skip=true jar</code>
-                    </blockquote> Maven will create the
-                    <code>mime4j-x.y.jar</code> jar file in the
-                    <code>target</code> directory. For more information on using
+                    automatically run all test cases for you and create the
+                    jar file in the <code>target</code> directory. 
+                </p>
+                <p>
+                    To install the jar into your local Maven repository run <blockquote>
+                        <code>mvn install</code></blockquote>
+                </p>
+                <p>
+                    To generate an Eclipse project from the sources run <blockquote>
+                        <code>mvn eclipse:eclipse</code></blockquote>
+                </p>
+                <p>
+                    For more information on using
                     Maven, have a look at the <a
                         href="http://maven.apache.org/">Maven web site</a>. </p>
             </subsection>



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