openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From allee8...@apache.org
Subject svn commit: r1410005 - in /openjpa/site/trunk: bld.oj.cms.sh instructions.mdtext start_markdown.sh
Date Thu, 15 Nov 2012 20:57:46 GMT
Author: allee8285
Date: Thu Nov 15 20:57:45 2012
New Revision: 1410005

URL: http://svn.apache.org/viewvc?rev=1410005&view=rev
Log:
Add Eclipse set up.

Added:
    openjpa/site/trunk/bld.oj.cms.sh   (with props)
Modified:
    openjpa/site/trunk/instructions.mdtext
    openjpa/site/trunk/start_markdown.sh

Added: openjpa/site/trunk/bld.oj.cms.sh
URL: http://svn.apache.org/viewvc/openjpa/site/trunk/bld.oj.cms.sh?rev=1410005&view=auto
==============================================================================
--- openjpa/site/trunk/bld.oj.cms.sh (added)
+++ openjpa/site/trunk/bld.oj.cms.sh Thu Nov 15 20:57:45 2012
@@ -0,0 +1,7 @@
+#!/bin/sh
+# export CMS_BUILD_PATH=/root/cms/build
+# export SOURCE=/root/tc/site/trunk
+
+cd $SOURCE
+#./start_markdown.sh &
+./build.sh

Propchange: openjpa/site/trunk/bld.oj.cms.sh
------------------------------------------------------------------------------
    svn:executable = *

Modified: openjpa/site/trunk/instructions.mdtext
URL: http://svn.apache.org/viewvc/openjpa/site/trunk/instructions.mdtext?rev=1410005&r1=1410004&r2=1410005&view=diff
==============================================================================
--- openjpa/site/trunk/instructions.mdtext (original)
+++ openjpa/site/trunk/instructions.mdtext Thu Nov 15 20:57:45 2012
@@ -52,14 +52,22 @@
          * ./configure
          * make
          * make install
+
     * For Python install : 
         * [setuptools] (http://pypi.python.org/pypi/setuptools)
+           $ sh setuptools-0.6c11-py2.7.egg
            $ sudo easy_install Pygments
            $ sudo easy_install ElementTree
            $ sudo easy_install Markdown
+
     * For Perl install :
            $ cpan XML::Atom::Feed
+              *NOTE*
+                Are you ready for manual configuration? [yes] no<cr>
+                Shall I follow them and prepend them to the queue of modules we are processing
right now? [yes] <cr>
+              
               *NOTE* This install may fail with some component test failure. I rerun the
install again and it get by.
+                "Couldn't chdir /root/.cpan/build/DateTime-TimeZone-1.54: No such file or
directory at /usr/lib/perl5/5.8.8/CPAN.pm line 2137"
            $ cpan XML::RSS::Parser::Lite
            $ cpan XML::Parser::Lite
            $ cpan YAML
@@ -76,3 +84,28 @@
        The OpenJPA home page is in 
           $TARGET/content/index.html
     * Repeat the last step after make any changes to *.mdtext.
+
+6. Set up Eclipse for the build
+    * Start Eclipse in a new workspace (e.g. /root/tc/site)
+    * Check out site/trunk content to workspace into project trunk
+      E.g. svn co https://svn.apache.org/repos/asf/openjpa/site/trunk /root/tc/site/trunk
+    * Select project trunk -> properties -> Java Build Path
+      * change "Default output folder" from trunk/bin to trunk/target
+    * Select project trunk -> properties -> Builders -> New -> Program ->
Main
+      * Name -> CMS_Builder
+      * Location -> ${workspace_loc:/trunk/bld.oj.cms.sh}
+      * Working Directory -> ${workspace_loc:/trunk}
+    * Select project trunk -> properties -> Builders -> New -> Program ->
Environment
+      * Add CMS_BUILD_PATH = /root/cms/build
+      * Add SOURCE = ${workspace_loc}/trunk
+    * Select project trunk -> properties -> Builders -> New -> Program ->
Build Options
+      * Check "Specify working set for relevant resources" and select "Specifying Resources"
to include only trunk/content
+      
+    * Before you can run the build, you need to run site/trunk/start_markdown.sh once to
start the markdown daemon.
+    
+    * Now you can edit trunk/content/**/*.mdtext. To build, Ctrl-B or Project -> Build
All, the
+      new content can be found in trunk/target/content/**/*.html. 
+      
+      
+      
+           
\ No newline at end of file

Modified: openjpa/site/trunk/start_markdown.sh
URL: http://svn.apache.org/viewvc/openjpa/site/trunk/start_markdown.sh?rev=1410005&r1=1410004&r2=1410005&view=diff
==============================================================================
--- openjpa/site/trunk/start_markdown.sh (original)
+++ openjpa/site/trunk/start_markdown.sh Thu Nov 15 20:57:45 2012
@@ -4,7 +4,7 @@
 # change this to match your environment
 
 if [ "$CMS_BUILD_PATH" == "" ]; then
-  CMS_BUILD_PATH=~/cms/cms/build
+  CMS_BUILD_PATH=~/cms/build
 fi
 
 export MARKDOWN_SOCKET=${CMS_BUILD_PATH}/markdown.socket



Mime
View raw message