portals-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From woon...@apache.org
Subject svn commit: r1664027 - in /portals/site/applications/src/site: site.xml xdoc/webcontent2/build-from-source.xml xdoc/webcontent2/faq.xml
Date Wed, 04 Mar 2015 14:49:13 GMT
Author: woonsan
Date: Wed Mar  4 14:49:12 2015
New Revision: 1664027

URL: http://svn.apache.org/r1664027
Log:
adding build-from-source and faq pages

Added:
    portals/site/applications/src/site/xdoc/webcontent2/build-from-source.xml
    portals/site/applications/src/site/xdoc/webcontent2/faq.xml
Modified:
    portals/site/applications/src/site/site.xml

Modified: portals/site/applications/src/site/site.xml
URL: http://svn.apache.org/viewvc/portals/site/applications/src/site/site.xml?rev=1664027&r1=1664026&r2=1664027&view=diff
==============================================================================
--- portals/site/applications/src/site/site.xml (original)
+++ portals/site/applications/src/site/site.xml Wed Mar  4 14:49:12 2015
@@ -49,7 +49,9 @@
           <item name="Reverse Proxy Module" href="./webcontent2/reverse-proxy-module.html"
/>
           <item name="Portlets Module" href="./webcontent2/portlets-module.html" />
           <item name="WAR Module" href="./webcontent2/war-module.html" />
+          <item name="Build from source" href="./webcontent2/build-from-source.html" />
           <item name="JavaDocs" href="./webcontent2/apidocs/index.html" />
+          <item name="FAQ" href="./webcontent2/faq.html" />
         </item>
         <item name='WebContent-1' href='./webcontent/index.html'/>
         <item name='DB Browser' href='./dbbrowser/index.html'/>

Added: portals/site/applications/src/site/xdoc/webcontent2/build-from-source.xml
URL: http://svn.apache.org/viewvc/portals/site/applications/src/site/xdoc/webcontent2/build-from-source.xml?rev=1664027&view=auto
==============================================================================
--- portals/site/applications/src/site/xdoc/webcontent2/build-from-source.xml (added)
+++ portals/site/applications/src/site/xdoc/webcontent2/build-from-source.xml Wed Mar  4 14:49:12
2015
@@ -0,0 +1,82 @@
+<?xml version="1.0"?>
+<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor 
+  license agreements. See the NOTICE file distributed with this work for additional 
+  information regarding copyright ownership. The ASF licenses this file to 
+  You under the Apache License, Version 2.0 (the "License"); you may not use 
+  this file except in compliance with the License. You may obtain a copy of 
+  the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required 
+  by applicable law or agreed to in writing, software distributed under the 
+  License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS 
+  OF ANY KIND, either express or implied. See the License for the specific 
+  language governing permissions and limitations under the License. -->
+<document>
+  <properties>
+    <title>
+      Building Web Content Application 2 from Source with Maven-2
+    </title>
+    <authors>
+      <person name="Woonsan Ko" email="woonsan@apache.org" />
+    </authors>
+  </properties>
+  <body>
+    <section
+      name="Building Web Content Application 2 from Source with Maven-2">
+      <subsection name="Prerequisites">
+        <p>
+          Building and deploying Web Content Application 2 from source has the
+          following prerequisites:
+        </p>
+        <ul>
+          <li>Java Development Kit 1.5</li>
+          <li>
+            <a class="externalLink" href="http://maven.apache.org/">Apache Maven</a>
+            2.2.1+
+          </li>
+          <li>
+            Either a
+            <a class="externalLink"
+              href="http://portals.apache.org/applications/download.html"
+              target="_blank">downloaded</a>
+            release source distribution archive
+            or directly checked out from the ASF Subversion source respository
+            using a SVN client tool.
+            <br />
+            You can checkout the sources from
+            <a class="externalLink"
+              href="http://svn.apache.org/repos/asf/portals/applications/webcontent/trunk/"
+              target="_blank">http://svn.apache.org/repos/asf/portals/applications/webcontent/trunk/</a>
+          </li>
+        </ul>
+      </subsection>
+      <subsection name="Standard Maven build &amp; install">
+        <p>
+          A full build and installation of all the Web Content Application 2 components
+          into your local Maven repository is done using the standard
+          Maven install goal like the following example:
+          <source><![CDATA[
+$ svn checkout http://svn.apache.org/repos/asf/portals/applications/webcontent/trunk webcontent
+$ cd webcontent
+$ mvn clean install
+          ]]></source>
+        </p>
+        <p>
+          Now you can add dependencies in your project pom.xml files.
+        </p>
+        <p>
+          When you build from the trunk, the version of the modules installed in your local
maven repository
+          will probably have '-SNAPSHOT' suffix. e.g, '2.0-SNAPSHOT'. You should use this
version number in dependencies.
+          However, if you want to use a different version number locally for some reason
(e.g, '2.0-dev' instead of '2.0-SNAPSHOT'),
+          then you might want to use
+          <a href="http://mojo.codehaus.org/versions-maven-plugin/set-mojo.html">Versions
Maven Plugin</a>
+          like the following example before building:
+          <source><![CDATA[
+$ mvn versions:set -DnewVersion="2.0-dev"
+$ mvn clean install
+          ]]></source>
+          <em>Note: </em>Do not change it to the official release version numbers
(e.g, 2.0, 2.0-rc1, etc.)
+          because it can conflict with our official releases!
+        </p>
+      </subsection>
+    </section>
+  </body>
+</document>

Added: portals/site/applications/src/site/xdoc/webcontent2/faq.xml
URL: http://svn.apache.org/viewvc/portals/site/applications/src/site/xdoc/webcontent2/faq.xml?rev=1664027&view=auto
==============================================================================
--- portals/site/applications/src/site/xdoc/webcontent2/faq.xml (added)
+++ portals/site/applications/src/site/xdoc/webcontent2/faq.xml Wed Mar  4 14:49:12 2015
@@ -0,0 +1,41 @@
+<?xml version="1.0"?>
+<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor 
+  license agreements. See the NOTICE file distributed with this work for additional 
+  information regarding copyright ownership. The ASF licenses this file to 
+  You under the Apache License, Version 2.0 (the "License"); you may not use 
+  this file except in compliance with the License. You may obtain a copy of 
+  the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required 
+  by applicable law or agreed to in writing, software distributed under the 
+  License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS 
+  OF ANY KIND, either express or implied. See the License for the specific 
+  language governing permissions and limitations under the License. -->
+<document>
+  <properties>
+    <title>
+      Web Content Application 2: Frequently Asked Questions
+    </title>
+    <authors>
+      <person name="Woonsan Ko" email="woonsan@apache.org" />
+    </authors>
+  </properties>
+  <body>
+    <section name="Web Content Application 2: Frequently Asked Questions">
+      <ul>
+        <li>
+          <p><strong>Q: Is 2.0 compatible with Servlet 2.4 API?</strong></p>
+          <p>A: Yes. So you can use it in any Servlet 2.4 compliant containers such
as Tomcat 5 or later.</p>
+        </li>
+        <li>
+          <p><strong>Q: Are there released versions or beta versions that I can
try out?</strong></p>
+          <p>
+            A:
+            Please check the <a href="http://portals.apache.org/applications/news.html">News
and Status</a>
+            and the <a href="http://portals.apache.org/applications/download.html">Downloads</a>
page.
+            If you want to try out the source by yourself, then please see
+            <a href="build-from-source.html">Build from source</a> page.
+          </p>
+        </li>
+      </ul>
+    </section>
+  </body>
+</document>



Mime
View raw message