Hi Juan Pablo,

thanks for your time

1) ad inlined images - you refer to jspwiki.translatorReader.inlinePattern.X? 
Assuming that this should be the default behaviour for JSPWiki we should add 
this to the jspwiki.properties used for the default configuration - I’m just 
picking up the existing default configuration and overwrite a few settings

2) patches - for 3.1 I need to test my patch but I haven’t looked into 3.2 in 
more details

3) ad “private” & “public” - that is my use case that i have approx. 10 wikis 
deployed - for each of my customers/project I create a JSPWiki web app using 
the a shared library approach. And their are no credentials assigned to the 
wiki spaces

4) add URL - fixed

Cheers,

Siegfried Goeschl



On 03 Mar 2014, at 20:04, Juan Pablo Santos Rodríguez 
<juanpablo.san...@gmail.com> wrote:

> Hi Siegfried,
> 
> tested linux exec under cygwin and looks really good!
> 
> As there are "public" and "private" spaces, are there any default
> users/admins, or are they just two given names? I also noticed that only
> *.png images are inlined (default value), could that value be set to *.png,
> *.jpg, *gif ? Regarding the patches at 3.1/3.2, are you providing them?
> (just to look into them, most probably next week, or wait 'til woas is
> ready to be merged into trunk)
> 
> Only found a minor nit, the JSPWiki hyperlink at http://localhost:9627/ is
> missing a colon, i.e. it shows http//jspwiki.a.o instead of
> http://jspwiki.a.o Other than that, it rocks :-)
> 
> 
> br,
> juan pablo
> 
> 
> 
> 
> On Sun, Mar 2, 2014 at 11:08 PM, Siegfried Goeschl <sgoes...@gmx.at> wrote:
> 
>> Hi folks,
>> 
>> many hours later I’m an expert for Mac OS Java 6 & 7 launchers - I learned
>> more things that I wanted to know ;-)
>> 
>> Anyone with a Mac OS X or Linux wants to test and download
>> 
>> 
>> http://people.apache.org/~sgoeschl/download/wikionastick/jspwiki-portable-2.10.1-SNAPSHOT-woas.tar.gz
>> 
>> * It contains a “woas.app" which should launch cleanly assuming that Apple
>> JDK 1.6 is on the box
>> * It contains a “woas.sh” which should launch cleanly on a Unix/Linux box
>> assuming that a JDK is found
>> * open http://localhost:9627 and forgive my HTML/CSS skills
>> * you should have two wiki spaces - “private" & “public”
>> 
>> I pushed the stuff to
>> https://github.com/sgoeschl/jspwiki-on-a-stick/tree/master/jspwiki-portablebut
>>  it is not in a state to be merged with the JSPWiki SVN trunk
>> 
>> Feedback appreciated
>> 
>> Siegfried Goschl
>> 
>> On 02 Mar 2014, at 11:21, Siegfried Goeschl <
>> siegfried.goes...@willhaben.at> wrote:
>> 
>>> Hi folks,
>>> 
>>> I started to work last weekend and it was a lot harder than expected :)
>>> 
>>> 1. Native Launchers
>>> =====================================================
>>> 
>>> Native launchers for Mac OS are difficult nowadays due to the fact the
>> Apple is not longer shipping Java & build tools. My current tool chain is
>> stuck to Apple’s JDK 1.6
>>> 
>>> 
>>> 2. Jetty versus Tomcat
>>> =====================================================
>>> 
>>> After some frustration with Jetty I kicked it out and replaces it with
>> Tomcat 7.0.52
>>> 
>>> * Jetty is getting bigger and bigger with every major release (the same
>> is true for me) and the small memory foot print was my initial motivation
>> to stick with Jetty
>>> * I had some strange class loader issues which is fine since I did
>> strange things but I feel more at home with Tomcat
>>> * Adding GZIP compression requires tinkering with web.xml
>>> 
>>> 
>>> 3. Portable Wiki Setup
>>> =====================================================
>>> 
>>> I tried to put all libraries to $CATALINA_HOME/lib and simulate multiple
>> wikis using a light-weight web archive - this is a bit dangerous but it
>> worked for 2.9x.
>>> 
>>> It stopped workig with 2.10 due to
>>> 
>>> * class loader issued in PropertyReader
>>> * class loader issues with page caching
>>> 
>>> 
>>> 3.1 Ad PropertyReader
>>> ——————————————————————————————
>>> 
>>> propertyStream = PropertyReader.class.getResourceAsStream(
>> CUSTOM_JSPWIKI_CONFIG );
>>> 
>>> tries to read the property file from the same class loader which fails
>> if the libs are placed on $CATALINA_HOME/lib whereas the following
>> statement uses the class loader of the deployed web app
>>> 
>>> propertyStream =  context.getResourceAsStream("/WEB-INF/classes" +
>> CUSTOM_JSPWIKI_CONFIG);
>>> 
>>> I prepare a patch for it
>>> 
>>> 
>>> 3.2 Ad Page Caching
>>> ——————————————————————————————
>>> 
>>> Found a similar issue here - due to my setup there is ONLY ONE cache and
>> as cache key the page name is used
>>> 
>>> I have the following options
>>> 
>>> * jspwiki.usePageCache=false is a work around
>>> * use the context name or appId as additional key for the cache
>>> 
>>> The current state
>>> 
>>> * I can build a ready-to-use JSP Wiki using Tomcat using Maven & Ant
>> plugin
>>> * I setup two pre-configured wiki instances
>>> * Eating my own dog food - migrate all my existing wiki to 2.10
>>> 
>>> Cheers,
>>> 
>>> Siegfried Goeschl
>>> 
>>> 
>>> 
>> 
>> 

Reply via email to