From dev-return-21281-apmail-openjpa-dev-archive=openjpa.apache.org@openjpa.apache.org Thu Nov 15 15:08:53 2012 Return-Path: X-Original-To: apmail-openjpa-dev-archive@www.apache.org Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 504FBD827 for ; Thu, 15 Nov 2012 15:08:53 +0000 (UTC) Received: (qmail 21985 invoked by uid 500); 15 Nov 2012 15:08:53 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 21860 invoked by uid 500); 15 Nov 2012 15:08:49 -0000 Mailing-List: contact dev-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openjpa.apache.org Delivered-To: mailing list dev@openjpa.apache.org Received: (qmail 21771 invoked by uid 99); 15 Nov 2012 15:08:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Nov 2012 15:08:45 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of allee8285@gmail.com designates 209.85.223.174 as permitted sender) Received: from [209.85.223.174] (HELO mail-ie0-f174.google.com) (209.85.223.174) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Nov 2012 15:08:39 +0000 Received: by mail-ie0-f174.google.com with SMTP id k13so2652731iea.33 for ; Thu, 15 Nov 2012 07:08:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=sFeEVTNZoxIz43MoYG54wbzWp+E7orWmuUza4/Q8Kvk=; b=MtoiB4QlwuskzIwMTARybZLJ7Vv7M7voLJv+Q2bu8L6YVTNyz8ikTAYCquMfXbX97W r2fwK6J96n8TamjIhAPpjxceiLIxEaKtXa09sDr28MaV7Ot3ijGDJRqoSTUtMM7xbM1W Wg2cmoCv3CmK9Zxjd7Y+Z33iMrdCjshPkDl2ymMn043vf1wQinY+y4mvf4L10izorOAd A2LmQyaPRlviu+xsETYr9xyNFBHmrCcFyudfWGbxV2Z67SVMDQiWJ8ysr9jGTKJfbKOO dnH88eqxO0NiP2Lwo8oRhVe2BV757gHEOPMOpgt4O0qHKlYWCF7qNP9UQUdveDsITq1U NjkA== MIME-Version: 1.0 Received: by 10.50.190.130 with SMTP id gq2mr154839igc.26.1352992098685; Thu, 15 Nov 2012 07:08:18 -0800 (PST) Received: by 10.50.73.73 with HTTP; Thu, 15 Nov 2012 07:08:18 -0800 (PST) In-Reply-To: References: Date: Thu, 15 Nov 2012 09:08:18 -0600 Message-ID: Subject: Re: Exporting website from CWIKI From: Albert Lee To: dev@openjpa.apache.org Content-Type: multipart/alternative; boundary=f46d0447a2476d152604ce8a051c X-Virus-Checked: Checked by ClamAV on apache.org --f46d0447a2476d152604ce8a051c Content-Type: text/plain; charset=ISO-8859-1 Mike, Thanks for all the help. Will give it another try. Albert. On Wed, Nov 14, 2012 at 8:41 PM, Michael Dick wrote: > Sorry I can't reply much during the work day I'll try answer everything. > > > On Wed, Nov 14, 2012 at 4:45 PM, Kevin Sutter wrote: > > > Okay, I think I'm giving up on the Windows approach... The build scripts > > all seem to require .sh scripts and other linux-specific items. I might > > follow Rick's lead and try a VMWare linux image... > > > > Believe it or don't, I tried Windows first too. And gave up. > > > > Maybe Mike is the only one that can get this build running and we just > need > > to pitch to in $20 per to buy him a nice dinner... :-) > > > > Preferred payment plan is 25 year old Highland Park (will also accept Old > Pulteney) > > > > > > > cpan SVN::Client > > > > > > These all seemed to work except for the SVN::Client module. This one > > > seemed to require a different build process and it eventually blew > > chunks. > > > I don't know if this module is really needed or not. I'll try a couple > > of > > > other things, but otherwise, I'll move on and see if I really need it. > > > > I think I had a similar problem, but it just worked for me. The build > scripts don't commit anything so I think it's not needed. > > > > > >> setuptools, pygments and ElementTree installed with no problem. > However > > >> when tried to install Markdown, I got: > > >> > > >> [root@atlanta ~]# sudo easy_install Markdown > > >> Searching for Markdown > > >> Reading http://pypi.python.org/simple/Markdown/ > > >> Reading http://www.freewisdom.org/projects/python-markdown > > >> Reading https://sourceforge.net/project/showfiles.php?group_id=153041 > > >> Reading http://packages.python.org/Markdown/ > > >> Reading http://www.freewisdom.org/projects/python-markdown/ > > >> Best match: Markdown 2.2.1 > > >> Downloading > > > > You might have better luck if you use apt (debian based distros) or yum > (RedHat based) to directly install the python module for markdown. I'm > guessing you're on RHEL, so I can't help much, other than I think it's > sudo yum --search markdown (then install the one with python) > > That said: > > >> > > >> > > > "/usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/setuptools/sandbox.py", > > >> line 64, in > > >> {'__file__':setup_script, '__name__':'__main__'} > > >> File "setup.py", line 130 > > >> with codecs.open('docs/_template.html', encoding='utf-8') as f: > > >> ^ > > >> SyntaxError: invalid syntax > > >> [root@atlanta ~]# > > >> > > >> > > >> Any idea why it has SyntaxErro on the codecs token in setup.py? > > > > You need to update python. The 'with' syntax was introduced in python 2.6 > or 2.7 I think. Yum / apt should help here. > > Regarding the files to edit : look for the mdtext ones, those are markdown > format. More advanced web developers than me may build templates and other > cool things! But I just wanted to get the site to look more or less > correct. The cwiki extension should be the original confluence wiki text, > and I'm not sure what the files without extensions are. > > Regarding locking the files, well, we've never had to lock files before, > and I don't know a good way to do so right now. If folks want to sign up > for a page we could add a table to the wiki (no irony there), resurrect the > irc room, or just email when we're starting to work on a page. > > Perhaps my brute force approach really isn't the best way to go about this. > I suspect that there are lot of pages which aren't needed or aren't > reachable anymore. Status pages, placeholders (tables of contents, etc.), > and legacy pages could be saved off and coverted later. I didn't go through > an identify those pages before I committed them - partly because I ran out > of time, and partly because I didn't want to be the only one to make the > call. > > -mike > -- Albert Lee. --f46d0447a2476d152604ce8a051c--