You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jspwiki.apache.org by Dave Koelmeyer <da...@davekoelmeyer.co.nz> on 2013/10/14 05:05:53 UTC

Re: JSPWiki "Support for Multiple Wikis" and Hosting Solutions

On 23/09/13 08:50 AM, Siegfried Goeschl wrote:
> Hi Jim,
>
> under https://github.com/sgoeschl/jspwiki-on-a-stick I have a portable 
> JSPWiki which I use to host up to 11 wiki (spaces) using an embedded 
> Jetty
>
> * the JSPWiki libraries are shared across all wikis
> * each wiki is a separate webapp


Hi Siegfried,

Does your JSPWiki on a stick work with the current stable release of 
JSPWiki?

Cheers,
Dave

-- 
Dave Koelmeyer
http://blog.davekoelmeyer.co.nz


Re: Contributing Wiki On A Stick - Re: JSPWiki "Support for Multiple Wikis" and Hosting Solutions

Posted by Jim Willeke <ji...@willeke.com>.
+1

--
-jim
Jim Willeke


On Tue, Oct 15, 2013 at 2:41 PM, Harry Metske <ha...@gmail.com>wrote:

> +1
>
>
>
>
> On 15 October 2013 20:39, Juan Pablo Santos Rodríguez <
> juanpablo.santos@gmail.com> wrote:
>
> > Hi Siegfried!
> >
> > it would be real nice to have WOAS on trunk :-)
> >
> >
> > br,
> > juan pablo
> >
> >
> >
> > On Mon, Oct 14, 2013 at 8:32 AM, Siegfried Goeschl <
> > siegfried.goeschl@it20one.at> wrote:
> >
> > > Hi Dave,
> > >
> > > let me check with http://svn.apache.org/repos/**
> > > asf/jspwiki/tags/jspwiki_2_9_**1_incubating_rc2/<
> >
> http://svn.apache.org/repos/asf/jspwiki/tags/jspwiki_2_9_1_incubating_rc2/
> > >
> > >
> > > General question - any objections to contribute it to JSPWiki? Last
> time
> > > the problem was that my stuff used a different version of jetty - I'm
> > still
> > > on Jetty 6.1.10 for the distributable
> > >
> > > Cheers,
> > >
> > > Siegfried Goeschl
> > >
> > > On 14.10.13 05:05, Dave Koelmeyer wrote:
> > >
> > >> On 23/09/13 08:50 AM, Siegfried Goeschl wrote:
> > >>
> > >>> Hi Jim,
> > >>>
> > >>> under https://github.com/sgoeschl/**jspwiki-on-a-stick<
> > https://github.com/sgoeschl/jspwiki-on-a-stick>I have a portable JSPWiki
> > which I use to host up to 11 wiki (spaces) using
> > >>> an embedded Jetty
> > >>>
> > >>> * the JSPWiki libraries are shared across all wikis
> > >>> * each wiki is a separate webapp
> > >>>
> > >>
> > >>
> > >> Hi Siegfried,
> > >>
> > >> Does your JSPWiki on a stick work with the current stable release of
> > >> JSPWiki?
> > >>
> > >> Cheers,
> > >> Dave
> > >>
> > >>
> > >
> >
>

Re: Contributing Wiki On A Stick - Re: JSPWiki "Support for Multiple Wikis" and Hosting Solutions

Posted by Harry Metske <ha...@gmail.com>.
+1




On 15 October 2013 20:39, Juan Pablo Santos Rodríguez <
juanpablo.santos@gmail.com> wrote:

> Hi Siegfried!
>
> it would be real nice to have WOAS on trunk :-)
>
>
> br,
> juan pablo
>
>
>
> On Mon, Oct 14, 2013 at 8:32 AM, Siegfried Goeschl <
> siegfried.goeschl@it20one.at> wrote:
>
> > Hi Dave,
> >
> > let me check with http://svn.apache.org/repos/**
> > asf/jspwiki/tags/jspwiki_2_9_**1_incubating_rc2/<
> http://svn.apache.org/repos/asf/jspwiki/tags/jspwiki_2_9_1_incubating_rc2/
> >
> >
> > General question - any objections to contribute it to JSPWiki? Last time
> > the problem was that my stuff used a different version of jetty - I'm
> still
> > on Jetty 6.1.10 for the distributable
> >
> > Cheers,
> >
> > Siegfried Goeschl
> >
> > On 14.10.13 05:05, Dave Koelmeyer wrote:
> >
> >> On 23/09/13 08:50 AM, Siegfried Goeschl wrote:
> >>
> >>> Hi Jim,
> >>>
> >>> under https://github.com/sgoeschl/**jspwiki-on-a-stick<
> https://github.com/sgoeschl/jspwiki-on-a-stick>I have a portable JSPWiki
> which I use to host up to 11 wiki (spaces) using
> >>> an embedded Jetty
> >>>
> >>> * the JSPWiki libraries are shared across all wikis
> >>> * each wiki is a separate webapp
> >>>
> >>
> >>
> >> Hi Siegfried,
> >>
> >> Does your JSPWiki on a stick work with the current stable release of
> >> JSPWiki?
> >>
> >> Cheers,
> >> Dave
> >>
> >>
> >
>

Re: Contributing Wiki On A Stick - Re: JSPWiki "Support for Multiple Wikis" and Hosting Solutions

Posted by Juan Pablo Santos Rodríguez <ju...@gmail.com>.
Hi Siegfried!

it would be real nice to have WOAS on trunk :-)


br,
juan pablo



On Mon, Oct 14, 2013 at 8:32 AM, Siegfried Goeschl <
siegfried.goeschl@it20one.at> wrote:

> Hi Dave,
>
> let me check with http://svn.apache.org/repos/**
> asf/jspwiki/tags/jspwiki_2_9_**1_incubating_rc2/<http://svn.apache.org/repos/asf/jspwiki/tags/jspwiki_2_9_1_incubating_rc2/>
>
> General question - any objections to contribute it to JSPWiki? Last time
> the problem was that my stuff used a different version of jetty - I'm still
> on Jetty 6.1.10 for the distributable
>
> Cheers,
>
> Siegfried Goeschl
>
> On 14.10.13 05:05, Dave Koelmeyer wrote:
>
>> On 23/09/13 08:50 AM, Siegfried Goeschl wrote:
>>
>>> Hi Jim,
>>>
>>> under https://github.com/sgoeschl/**jspwiki-on-a-stick<https://github.com/sgoeschl/jspwiki-on-a-stick>I have a portable JSPWiki which I use to host up to 11 wiki (spaces) using
>>> an embedded Jetty
>>>
>>> * the JSPWiki libraries are shared across all wikis
>>> * each wiki is a separate webapp
>>>
>>
>>
>> Hi Siegfried,
>>
>> Does your JSPWiki on a stick work with the current stable release of
>> JSPWiki?
>>
>> Cheers,
>> Dave
>>
>>
>

Contributing Wiki On A Stick - Re: JSPWiki "Support for Multiple Wikis" and Hosting Solutions

Posted by Siegfried Goeschl <si...@it20one.at>.
Hi Dave,

let me check with 
http://svn.apache.org/repos/asf/jspwiki/tags/jspwiki_2_9_1_incubating_rc2/

General question - any objections to contribute it to JSPWiki? Last time 
the problem was that my stuff used a different version of jetty - I'm 
still on Jetty 6.1.10 for the distributable

Cheers,

Siegfried Goeschl

On 14.10.13 05:05, Dave Koelmeyer wrote:
> On 23/09/13 08:50 AM, Siegfried Goeschl wrote:
>> Hi Jim,
>>
>> under https://github.com/sgoeschl/jspwiki-on-a-stick I have a 
>> portable JSPWiki which I use to host up to 11 wiki (spaces) using an 
>> embedded Jetty
>>
>> * the JSPWiki libraries are shared across all wikis
>> * each wiki is a separate webapp
>
>
> Hi Siegfried,
>
> Does your JSPWiki on a stick work with the current stable release of 
> JSPWiki?
>
> Cheers,
> Dave
>


Re: Building WOAS (was Re: JSPWiki "Support for Multiple Wikis" and Hosting Solutions)

Posted by Siegfried Goeschl <si...@it20one.at>.
Hi Dave,

I think the best is to minimize build dependencies - I will change the 
./extensions/woas/build.xml so that it builds JSPWiki as very first task

* no need to tinker with ./build.xml
* woas would be build directly from ./extensions/woas
* I will push the required changes next week since I'm already late with 
my daily work :-(

Furthermore I should be able to use jetty-7 (in a perfect world the same 
version being used as in JSPWiki) but that also needs some tinkering

Thanks in advance

Siegfried Goschl


On 17.10.13 14:38, Dave Koelmeyer wrote:
> On 17/10/13 06:59 PM, Siegfried Goeschl wrote:
>> Looks like a mess with the buid.xml
>>
>> - i overwrite the jspwiki ./build.xml file which allows calling the woas build.xml
>> - i have a separate woas/buid.xml wich is invoked by ./build.xml
>>
>> I think you are missing my ./build.xml
>
> Hi Siegfried,
>
> Thanks, - I managed to get this built and it seems to work well. 
> However there were a couple of deviations from the README which I had 
> to make. First, the WOAS build will fail at the point the JSPWiki.war 
> file is to be unpacked (line 68 of ./extensions/woas/build.xml). This 
> implied that not only does JSPWiki source code have to be checked out, 
> but it also has to be first built (I simply ran ant war in the 
> checkout directory) before building WOAS - is this correct? If so 
> perhaps this should be noted in the README.
>
> Second, the README makes reference to overwriting the build.xml file 
> contained within the checkout directory with 
> ./extensions/woas/build.xml. However, after first running ant war on 
> the checkout directory to build JSPWiki, I then went to 
> ./extensions/woas/ and executed ant 
> '-Dbuild.properties=woas.properties -Djspwiki.test.skip=true 
> woas-clean woas-dist'. WOAS built fine without errors. So I'm a little 
> confused in which order copying/overwriting build.xml files should 
> take place. There is also the presence of a third build.xml file 
> (along with a woas.properties file) within the extracted 
> "jspwiki-on-a-stick-master" directory which contains the "extensions" 
> sub-directory - I don't know how or if these two files are supposed to 
> be used, as the README only makes reference to using the extensions 
> directory from the extracted WOAS zip file.
>
> Long story short, I created some self-documentation (in JSPWiki, 
> naturally) which details what worked for men - do you see any problems 
> with this?
>
> http://ubuntuone.com/6gXroBn1roKD97zd20enEb
>
> Last, WOAS will throw an error when navigating to the User Preferences 
> page - I can raise this as an issue in Github if you like?
>
> Cheers,
> Dave
>
>
>>> Am 16.10.2013 um 10:14 schrieb Dave Koelmeyer<da...@davekoelmeyer.co.nz>:
>>>
>>>> On 15/10/13 09:20 PM, Dave Koelmeyer wrote:
>>>>> On 15/10/13 06:36 PM, Siegfried Goeschl wrote:
>>>>> Hi Dave,
>>>>>
>>>>> upgraded to JSPWiki 2.9.1 and it should work for Linux and Mac OS X - not sure for Windows native launcher since I don't use it
>>> Hi Siegfried,
>>>
>>> Just trying to build WOAS on an Ubuntu 12.04 system. When attempting to run the ant command I get the following build error:
>>>
>>> $ ant -Dbuild.properties=woas.properties -Djspwiki.test.skip=true woas-clean woas-dist
>>> Buildfile: /home/dave/JSPWiki/jspwiki_2_9_1_incubating_rc2/build.xml
>>>
>>> BUILD FAILED
>>> Target "woas-clean" does not exist in the project "woas".
>>>
>>> Any idea what I'm doing wrong?
>>>
>>> Cheers,
>>> Dave
>>>
>>> -- 
>>> Dave Koelmeyer
>>> http://blog.davekoelmeyer.co.nz
>>>
>


Re: Building WOAS (was Re: JSPWiki "Support for Multiple Wikis" and Hosting Solutions)

Posted by Dave Koelmeyer <da...@davekoelmeyer.co.nz>.
On 11/11/13 11:02 AM, Siegfried Goeschl wrote:
> Hi folks,
>
> in order to keep you in the loop - I played around with the integration
>
> * no need to tinker with the JSPWiki build.xml - I'm triggering 
> everything from within ./extensions/woas/build.xml
> * I upgraded to  jetty-distribution-7.6.14.v20131031

Awesome, thanks Siegfried.

-- 
Dave Koelmeyer
http://blog.davekoelmeyer.co.nz


Re: Building WOAS (was Re: JSPWiki "Support for Multiple Wikis" and Hosting Solutions)

Posted by Siegfried Goeschl <si...@it20one.at>.
Hi folks,

in order to keep you in the loop - I played around with the integration

* no need to tinker with the JSPWiki build.xml - I'm triggering 
everything from within ./extensions/woas/build.xml
* I upgraded to  jetty-distribution-7.6.14.v20131031

Will have a look how to integrate into the M2 build found in trunk

Cheers,

Siegfried Goeschl


On 23.10.13 01:13, Juan Pablo Santos Rodríguez wrote:
> Hi Siegfried,
>
> some comments inline:
>
> On Wed, Oct 23, 2013 at 12:32 AM, Siegfried Goeschl 
> <siegfried.goeschl@it20one.at <ma...@it20one.at>> 
> wrote:
>
>     Hi Juan Pablo,
>
>     I think it would be easier for now to stick to "extensions/woas" a
>     M2 module since it allows to test the Ant & M2 build using the
>     GitHub repo
>
>     Some thoughts along the line
>
>     * I can contribute with the M2 build but not this week
>
> That would be great! :-)
>
>     * If that works out we need to check licensing stuff - e.g.
>     "launch4j-maven-plugin" is GPLed whereas launch4j is partly MIT
>     and BSD license
>
> I have to admit that caught me off-guard, I saw launch4j was BSD/MIT, 
> which is fine, and automatically assumed the same for the maven 
> plugin. Luckily, it is ok for us to use GPL'd build tools: 
> http://www.apache.org/legal/resolved.html#prohibited
>
>     * Not sure about MacOS application skeleton file in
>     "woas/resources/macos/"
>
> unsure too; however 
> https://github.com/lukaszlenart/launch4j-maven-plugin/tree/master/src/main/bin/mac, 
> https://github.com/lukaszlenart/launch4j-maven-plugin/pull/2 and 
> https://github.com/lukaszlenart/launch4j-maven-plugin/blob/master/src/main/assembly/assemble-mac.xml 
> seem to suggest that could be enough to build a mac executable.. 
> However, I feel we'll know for sure when building the mac executable 
> through the maven plugin
>
>     * Looking at the licensing questions regarding installer we might
>     consider to get a free license of a commercial tool - suggestions
>     out there? I' using a commercial license of install4j (and there
>     are actually good reasons to do that)
>
> we could ask @infra if needed
>
>
>     Thanks in advance
>
>     Siegfried Goeschl
>
>
>
> thanks for your time + br,
> juan pablo
>
>
>
>
>     On 22.10.13 21:19, Juan Pablo Santos Rodríguez wrote:
>>     Hi,
>>
>>     was doing some tests to see if we could add up another module to
>>     the SVN, capable of mimicking WOAS, but I'm thinking I'm hit by
>>     http://sourceforge.net/p/launch4j/bugs/66/
>>
>>     would anyone mind doing a quick test to see if it's me or the
>>     previous bug? launch4j log isn't specially descriptive..
>>
>>     steps:
>>     1.- on trunk, create a new folder, jspwiki-portable, next to
>>     jspwiki-war and jspwiki-it-tests
>>     2.- on trunk, edit base pom.xml and add
>>     <module>jspwiki-portable</module> on line 57
>>     3.- on trunk/jspwiki-portable create src/main/resources/icon and
>>     place there jspwiki.ico included in
>>     $WOAS/extensions/woas/resources/windows
>>     4.- on trunk/jspwiki-portable create pom.xml and add the contents
>>     from https://paste.apache.org/ecrN
>>     5.- on trunk, mvn clean install
>>     6.- that should generate
>>     trunk/jspwiki-portable/target/jspwiki-portable.exe (right as a
>>     POC, only windows executable)
>>
>>     I haven't committed this to trunk yet b/c I'm not sure if the
>>     generated executable is well-formed.. As additional information
>>     regarding the module, it uses launch4j-maven-plugin 1.5.2, [#1]
>>     which seems to use launchj 3.0.2 (as per github comments on
>>     [#1]/tree/master/src/main). The jar generated by
>>     tomcat7-maven-plugin is executable via java -jar
>>     target/jspwiki-portable-2.10.0-SNAPSHOT.jar, which enables a
>>     working http://localhost:8080/JSPWiki
>>
>>
>>     thanks & br,
>>     juan pablo
>>
>>     [#1]: https://github.com/lukaszlenart/launch4j-maven-plugin
>>
>>
>>
>>
>>
>>     On Thu, Oct 17, 2013 at 2:38 PM, Dave Koelmeyer
>>     <dave.koelmeyer@davekoelmeyer.co.nz
>>     <ma...@davekoelmeyer.co.nz>> wrote:
>>
>>         On 17/10/13 06:59 PM, Siegfried Goeschl wrote:
>>
>>             Looks like a mess with the buid.xml
>>
>>             - i overwrite the jspwiki ./build.xml file which allows
>>             calling the woas build.xml
>>             - i have a separate woas/buid.xml wich is invoked by
>>             ./build.xml
>>
>>             I think you are missing my ./build.xml
>>
>>
>>         Hi Siegfried,
>>
>>         Thanks, - I managed to get this built and it seems to work
>>         well. However there were a couple of deviations from the
>>         README which I had to make. First, the WOAS build will fail
>>         at the point the JSPWiki.war file is to be unpacked (line 68
>>         of ./extensions/woas/build.xml). This implied that not only
>>         does JSPWiki source code have to be checked out, but it also
>>         has to be first built (I simply ran ant war in the checkout
>>         directory) before building WOAS - is this correct? If so
>>         perhaps this should be noted in the README.
>>
>>         Second, the README makes reference to overwriting the
>>         build.xml file contained within the checkout directory with
>>         ./extensions/woas/build.xml. However, after first running ant
>>         war on the checkout directory to build JSPWiki, I then went
>>         to ./extensions/woas/ and executed ant
>>         '-Dbuild.properties=woas.properties -Djspwiki.test.skip=true
>>         woas-clean woas-dist'. WOAS built fine without errors. So I'm
>>         a little confused in which order copying/overwriting
>>         build.xml files should take place. There is also the presence
>>         of a third build.xml file (along with a woas.properties file)
>>         within the extracted "jspwiki-on-a-stick-master" directory
>>         which contains the "extensions" sub-directory - I don't know
>>         how or if these two files are supposed to be used, as the
>>         README only makes reference to using the extensions directory
>>         from the extracted WOAS zip file.
>>
>>         Long story short, I created some self-documentation (in
>>         JSPWiki, naturally) which details what worked for men - do
>>         you see any problems with this?
>>
>>         http://ubuntuone.com/6gXroBn1roKD97zd20enEb
>>         Last, WOAS will throw an error when navigating to the User
>>         Preferences page - I can raise this as an issue in Github if
>>         you like?
>>
>>         Cheers,
>>         Dave
>>
>>
>>
>>
>>                 Am 16.10.2013 um 10:14 schrieb Dave Koelmeyer
>>                 <dave.koelmeyer@davekoelmeyer.co.nz
>>                 <ma...@davekoelmeyer.co.nz>>:
>>
>>                     On 15/10/13 09:20 PM, Dave Koelmeyer wrote:
>>
>>                         On 15/10/13 06:36 PM, Siegfried Goeschl wrote:
>>                         Hi Dave,
>>
>>                         upgraded to JSPWiki 2.9.1 and it should work
>>                         for Linux and Mac OS X - not sure for Windows
>>                         native launcher since I don't use it
>>
>>                 Hi Siegfried,
>>
>>                 Just trying to build WOAS on an Ubuntu 12.04 system.
>>                 When attempting to run the ant command I get the
>>                 following build error:
>>
>>                 $ ant -Dbuild.properties=woas.properties
>>                 -Djspwiki.test.skip=true woas-clean woas-dist
>>                 Buildfile:
>>                 /home/dave/JSPWiki/jspwiki_2_9_1_incubating_rc2/build.xml
>>
>>                 BUILD FAILED
>>                 Target "woas-clean" does not exist in the project "woas".
>>
>>                 Any idea what I'm doing wrong?
>>
>>                 Cheers,
>>                 Dave
>>
>>                 -- 
>>                 Dave Koelmeyer
>>                 http://blog.davekoelmeyer.co.nz
>>
>>
>>
>
>


Re: Building WOAS (was Re: JSPWiki "Support for Multiple Wikis" and Hosting Solutions)

Posted by Juan Pablo Santos Rodríguez <ju...@gmail.com>.
Hi Siegfried,

some comments inline:

On Wed, Oct 23, 2013 at 12:32 AM, Siegfried Goeschl <
siegfried.goeschl@it20one.at> wrote:

>  Hi Juan Pablo,
>
> I think it would be easier for now to stick to "extensions/woas" a M2
> module since it allows to test the Ant & M2 build using the GitHub repo
>
> Some thoughts along the line
>
> * I can contribute with the M2 build but not this week
>
That would be great! :-)


> * If that works out we need to check licensing stuff - e.g.
> "launch4j-maven-plugin" is GPLed whereas launch4j is partly MIT and BSD
> license
>
I have to admit that caught me off-guard, I saw launch4j was BSD/MIT, which
is fine, and automatically assumed the same for the maven plugin. Luckily,
it is ok for us to use GPL'd build tools:
http://www.apache.org/legal/resolved.html#prohibited


> * Not sure about MacOS application skeleton file in
> "woas/resources/macos/"
>
unsure too; however
https://github.com/lukaszlenart/launch4j-maven-plugin/tree/master/src/main/bin/mac,
https://github.com/lukaszlenart/launch4j-maven-plugin/pull/2 and
https://github.com/lukaszlenart/launch4j-maven-plugin/blob/master/src/main/assembly/assemble-mac.xmlseem
to suggest that could be enough to build a mac executable.. However, I
feel we'll know for sure when building the mac executable through the maven
plugin


> * Looking at the licensing questions regarding installer we might consider
> to get a free license of a commercial tool - suggestions out there? I'
> using a commercial license of install4j (and there are actually good
> reasons to do that)
>
we could ask @infra if needed


>
> Thanks in advance
>
> Siegfried Goeschl
>


thanks for your time + br,
juan pablo



>
>
>
> On 22.10.13 21:19, Juan Pablo Santos Rodríguez wrote:
>
>      Hi,
>
>  was doing some tests to see if we could add up another module to the SVN,
> capable of mimicking WOAS, but I'm thinking I'm hit by
> http://sourceforge.net/p/launch4j/bugs/66/
>
>  would anyone mind doing a quick test to see if it's me or the previous
> bug? launch4j log isn't specially descriptive..
>
>  steps:
>  1.- on trunk, create a new folder, jspwiki-portable, next to jspwiki-war
> and jspwiki-it-tests
>  2.- on trunk, edit base pom.xml and add <module>jspwiki-portable</module>
> on line 57
>  3.- on trunk/jspwiki-portable create src/main/resources/icon and place
> there jspwiki.ico included in $WOAS/extensions/woas/resources/windows
>  4.- on trunk/jspwiki-portable create pom.xml and add the contents from
> https://paste.apache.org/ecrN
>  5.- on trunk, mvn clean install
>  6.- that should generate
> trunk/jspwiki-portable/target/jspwiki-portable.exe (right as a POC, only
> windows executable)
>
>  I haven't committed this to trunk yet b/c I'm not sure if the generated
> executable is well-formed.. As additional information regarding the module,
> it uses launch4j-maven-plugin 1.5.2, [#1] which seems to use launchj 3.0.2
> (as per github comments on [#1]/tree/master/src/main). The jar generated by
> tomcat7-maven-plugin is executable via java -jar
> target/jspwiki-portable-2.10.0-SNAPSHOT.jar, which enables a working
> http://localhost:8080/JSPWiki
>
>
>  thanks & br,
>  juan pablo
>
> [#1]: https://github.com/lukaszlenart/launch4j-maven-plugin
>
>
>
>
>
> On Thu, Oct 17, 2013 at 2:38 PM, Dave Koelmeyer <
> dave.koelmeyer@davekoelmeyer.co.nz> wrote:
>
>> On 17/10/13 06:59 PM, Siegfried Goeschl wrote:
>>
>>> Looks like a mess with the buid.xml
>>>
>>> - i overwrite the jspwiki ./build.xml file which allows calling the woas
>>> build.xml
>>> - i have a separate woas/buid.xml wich is invoked by ./build.xml
>>>
>>> I think you are missing my ./build.xml
>>>
>>
>>  Hi Siegfried,
>>
>> Thanks, - I managed to get this built and it seems to work well. However
>> there were a couple of deviations from the README which I had to make.
>> First, the WOAS build will fail at the point the JSPWiki.war file is to be
>> unpacked (line 68 of ./extensions/woas/build.xml). This implied that not
>> only does JSPWiki source code have to be checked out, but it also has to be
>> first built (I simply ran ant war in the checkout directory) before
>> building WOAS - is this correct? If so perhaps this should be noted in the
>> README.
>>
>> Second, the README makes reference to overwriting the build.xml file
>> contained within the checkout directory with ./extensions/woas/build.xml.
>> However, after first running ant war on the checkout directory to build
>> JSPWiki, I then went to ./extensions/woas/ and executed ant
>> '-Dbuild.properties=woas.properties -Djspwiki.test.skip=true woas-clean
>> woas-dist'. WOAS built fine without errors. So I'm a little confused in
>> which order copying/overwriting build.xml files should take place. There is
>> also the presence of a third build.xml file (along with a woas.properties
>> file) within the extracted "jspwiki-on-a-stick-master" directory which
>> contains the "extensions" sub-directory - I don't know how or if these two
>> files are supposed to be used, as the README only makes reference to using
>> the extensions directory from the extracted WOAS zip file.
>>
>> Long story short, I created some self-documentation (in JSPWiki,
>> naturally) which details what worked for men - do you see any problems with
>> this?
>>
>> http://ubuntuone.com/6gXroBn1roKD97zd20enEb
>> Last, WOAS will throw an error when navigating to the User Preferences
>> page - I can raise this as an issue in Github if you like?
>>
>> Cheers,
>> Dave
>>
>>
>>
>>
>>>  Am 16.10.2013 um 10:14 schrieb Dave Koelmeyer <
>>>> dave.koelmeyer@davekoelmeyer.co.nz>:
>>>>
>>>>  On 15/10/13 09:20 PM, Dave Koelmeyer wrote:
>>>>>
>>>>>> On 15/10/13 06:36 PM, Siegfried Goeschl wrote:
>>>>>> Hi Dave,
>>>>>>
>>>>>> upgraded to JSPWiki 2.9.1 and it should work for Linux and Mac OS X -
>>>>>> not sure for Windows native launcher since I don't use it
>>>>>>
>>>>>  Hi Siegfried,
>>>>
>>>> Just trying to build WOAS on an Ubuntu 12.04 system. When attempting to
>>>> run the ant command I get the following build error:
>>>>
>>>> $ ant -Dbuild.properties=woas.properties -Djspwiki.test.skip=true
>>>> woas-clean woas-dist
>>>> Buildfile: /home/dave/JSPWiki/jspwiki_2_9_1_incubating_rc2/build.xml
>>>>
>>>> BUILD FAILED
>>>> Target "woas-clean" does not exist in the project "woas".
>>>>
>>>> Any idea what I'm doing wrong?
>>>>
>>>> Cheers,
>>>> Dave
>>>>
>>>> --
>>>> Dave Koelmeyer
>>>> http://blog.davekoelmeyer.co.nz
>>>>
>>>>
>>
>
>

Re: Building WOAS (was Re: JSPWiki "Support for Multiple Wikis" and Hosting Solutions)

Posted by Siegfried Goeschl <si...@it20one.at>.
Hi Juan Pablo,

I think it would be easier for now to stick to "extensions/woas" a M2 
module since it allows to test the Ant & M2 build using the GitHub repo

Some thoughts along the line

* I can contribute with the M2 build but not this week
* If that works out we need to check licensing stuff - e.g. 
"launch4j-maven-plugin" is GPLed whereas launch4j is partly MIT and BSD 
license
* Not sure about MacOS application skeleton file in "woas/resources/macos/"
* Looking at the licensing questions regarding installer we might 
consider to get a free license of a commercial tool - suggestions out 
there? I' using a commercial license of install4j (and there are 
actually good reasons to do that)

Thanks in advance

Siegfried Goeschl


On 22.10.13 21:19, Juan Pablo Santos Rodríguez wrote:
> Hi,
>
> was doing some tests to see if we could add up another module to the 
> SVN, capable of mimicking WOAS, but I'm thinking I'm hit by 
> http://sourceforge.net/p/launch4j/bugs/66/
>
> would anyone mind doing a quick test to see if it's me or the previous 
> bug? launch4j log isn't specially descriptive..
>
> steps:
> 1.- on trunk, create a new folder, jspwiki-portable, next to 
> jspwiki-war and jspwiki-it-tests
> 2.- on trunk, edit base pom.xml and add 
> <module>jspwiki-portable</module> on line 57
> 3.- on trunk/jspwiki-portable create src/main/resources/icon and place 
> there jspwiki.ico included in $WOAS/extensions/woas/resources/windows
> 4.- on trunk/jspwiki-portable create pom.xml and add the contents from 
> https://paste.apache.org/ecrN
> 5.- on trunk, mvn clean install
> 6.- that should generate 
> trunk/jspwiki-portable/target/jspwiki-portable.exe (right as a POC, 
> only windows executable)
>
> I haven't committed this to trunk yet b/c I'm not sure if the 
> generated executable is well-formed.. As additional information 
> regarding the module, it uses launch4j-maven-plugin 1.5.2, [#1] which 
> seems to use launchj 3.0.2 (as per github comments on 
> [#1]/tree/master/src/main). The jar generated by tomcat7-maven-plugin 
> is executable via java -jar 
> target/jspwiki-portable-2.10.0-SNAPSHOT.jar, which enables a working 
> http://localhost:8080/JSPWiki
>
>
> thanks & br,
> juan pablo
>
> [#1]: https://github.com/lukaszlenart/launch4j-maven-plugin
>
>
>
>
>
> On Thu, Oct 17, 2013 at 2:38 PM, Dave Koelmeyer 
> <dave.koelmeyer@davekoelmeyer.co.nz 
> <ma...@davekoelmeyer.co.nz>> wrote:
>
>     On 17/10/13 06:59 PM, Siegfried Goeschl wrote:
>
>         Looks like a mess with the buid.xml
>
>         - i overwrite the jspwiki ./build.xml file which allows
>         calling the woas build.xml
>         - i have a separate woas/buid.xml wich is invoked by ./build.xml
>
>         I think you are missing my ./build.xml
>
>
>     Hi Siegfried,
>
>     Thanks, - I managed to get this built and it seems to work well.
>     However there were a couple of deviations from the README which I
>     had to make. First, the WOAS build will fail at the point the
>     JSPWiki.war file is to be unpacked (line 68 of
>     ./extensions/woas/build.xml). This implied that not only does
>     JSPWiki source code have to be checked out, but it also has to be
>     first built (I simply ran ant war in the checkout directory)
>     before building WOAS - is this correct? If so perhaps this should
>     be noted in the README.
>
>     Second, the README makes reference to overwriting the build.xml
>     file contained within the checkout directory with
>     ./extensions/woas/build.xml. However, after first running ant war
>     on the checkout directory to build JSPWiki, I then went to
>     ./extensions/woas/ and executed ant
>     '-Dbuild.properties=woas.properties -Djspwiki.test.skip=true
>     woas-clean woas-dist'. WOAS built fine without errors. So I'm a
>     little confused in which order copying/overwriting build.xml files
>     should take place. There is also the presence of a third build.xml
>     file (along with a woas.properties file) within the extracted
>     "jspwiki-on-a-stick-master" directory which contains the
>     "extensions" sub-directory - I don't know how or if these two
>     files are supposed to be used, as the README only makes reference
>     to using the extensions directory from the extracted WOAS zip file.
>
>     Long story short, I created some self-documentation (in JSPWiki,
>     naturally) which details what worked for men - do you see any
>     problems with this?
>
>     http://ubuntuone.com/6gXroBn1roKD97zd20enEb
>     Last, WOAS will throw an error when navigating to the User
>     Preferences page - I can raise this as an issue in Github if you like?
>
>     Cheers,
>     Dave
>
>
>
>
>             Am 16.10.2013 um 10:14 schrieb Dave Koelmeyer
>             <dave.koelmeyer@davekoelmeyer.co.nz
>             <ma...@davekoelmeyer.co.nz>>:
>
>                 On 15/10/13 09:20 PM, Dave Koelmeyer wrote:
>
>                     On 15/10/13 06:36 PM, Siegfried Goeschl wrote:
>                     Hi Dave,
>
>                     upgraded to JSPWiki 2.9.1 and it should work for
>                     Linux and Mac OS X - not sure for Windows native
>                     launcher since I don't use it
>
>             Hi Siegfried,
>
>             Just trying to build WOAS on an Ubuntu 12.04 system. When
>             attempting to run the ant command I get the following
>             build error:
>
>             $ ant -Dbuild.properties=woas.properties
>             -Djspwiki.test.skip=true woas-clean woas-dist
>             Buildfile:
>             /home/dave/JSPWiki/jspwiki_2_9_1_incubating_rc2/build.xml
>
>             BUILD FAILED
>             Target "woas-clean" does not exist in the project "woas".
>
>             Any idea what I'm doing wrong?
>
>             Cheers,
>             Dave
>
>             -- 
>             Dave Koelmeyer
>             http://blog.davekoelmeyer.co.nz
>
>
>


Re: Building WOAS (was Re: JSPWiki "Support for Multiple Wikis" and Hosting Solutions)

Posted by Juan Pablo Santos Rodríguez <ju...@gmail.com>.
Hi,

was doing some tests to see if we could add up another module to the SVN,
capable of mimicking WOAS, but I'm thinking I'm hit by
http://sourceforge.net/p/launch4j/bugs/66/

would anyone mind doing a quick test to see if it's me or the previous bug?
launch4j log isn't specially descriptive..

steps:
1.- on trunk, create a new folder, jspwiki-portable, next to jspwiki-war
and jspwiki-it-tests
2.- on trunk, edit base pom.xml and add <module>jspwiki-portable</module>
on line 57
3.- on trunk/jspwiki-portable create src/main/resources/icon and place
there jspwiki.ico included in $WOAS/extensions/woas/resources/windows
4.- on trunk/jspwiki-portable create pom.xml and add the contents from
https://paste.apache.org/ecrN
5.- on trunk, mvn clean install
6.- that should generate trunk/jspwiki-portable/target/jspwiki-portable.exe
(right as a POC, only windows executable)

I haven't committed this to trunk yet b/c I'm not sure if the generated
executable is well-formed.. As additional information regarding the module,
it uses launch4j-maven-plugin 1.5.2, [#1] which seems to use launchj 3.0.2
(as per github comments on [#1]/tree/master/src/main). The jar generated by
tomcat7-maven-plugin is executable via java -jar
target/jspwiki-portable-2.10.0-SNAPSHOT.jar, which enables a working
http://localhost:8080/JSPWiki


thanks & br,
juan pablo

[#1]: https://github.com/lukaszlenart/launch4j-maven-plugin





On Thu, Oct 17, 2013 at 2:38 PM, Dave Koelmeyer <
dave.koelmeyer@davekoelmeyer.co.nz> wrote:

> On 17/10/13 06:59 PM, Siegfried Goeschl wrote:
>
>> Looks like a mess with the buid.xml
>>
>> - i overwrite the jspwiki ./build.xml file which allows calling the woas
>> build.xml
>> - i have a separate woas/buid.xml wich is invoked by ./build.xml
>>
>> I think you are missing my ./build.xml
>>
>
> Hi Siegfried,
>
> Thanks, - I managed to get this built and it seems to work well. However
> there were a couple of deviations from the README which I had to make.
> First, the WOAS build will fail at the point the JSPWiki.war file is to be
> unpacked (line 68 of ./extensions/woas/build.xml). This implied that not
> only does JSPWiki source code have to be checked out, but it also has to be
> first built (I simply ran ant war in the checkout directory) before
> building WOAS - is this correct? If so perhaps this should be noted in the
> README.
>
> Second, the README makes reference to overwriting the build.xml file
> contained within the checkout directory with ./extensions/woas/build.xml.
> However, after first running ant war on the checkout directory to build
> JSPWiki, I then went to ./extensions/woas/ and executed ant
> '-Dbuild.properties=woas.**properties -Djspwiki.test.skip=true woas-clean
> woas-dist'. WOAS built fine without errors. So I'm a little confused in
> which order copying/overwriting build.xml files should take place. There is
> also the presence of a third build.xml file (along with a woas.properties
> file) within the extracted "jspwiki-on-a-stick-master" directory which
> contains the "extensions" sub-directory - I don't know how or if these two
> files are supposed to be used, as the README only makes reference to using
> the extensions directory from the extracted WOAS zip file.
>
> Long story short, I created some self-documentation (in JSPWiki,
> naturally) which details what worked for men - do you see any problems with
> this?
>
> http://ubuntuone.com/**6gXroBn1roKD97zd20enEb<http://ubuntuone.com/6gXroBn1roKD97zd20enEb>
> Last, WOAS will throw an error when navigating to the User Preferences
> page - I can raise this as an issue in Github if you like?
>
> Cheers,
> Dave
>
>
>
>
>>  Am 16.10.2013 um 10:14 schrieb Dave Koelmeyer <
>>> dave.koelmeyer@davekoelmeyer.**co.nz<da...@davekoelmeyer.co.nz>
>>> >:
>>>
>>>  On 15/10/13 09:20 PM, Dave Koelmeyer wrote:
>>>>
>>>>> On 15/10/13 06:36 PM, Siegfried Goeschl wrote:
>>>>> Hi Dave,
>>>>>
>>>>> upgraded to JSPWiki 2.9.1 and it should work for Linux and Mac OS X -
>>>>> not sure for Windows native launcher since I don't use it
>>>>>
>>>> Hi Siegfried,
>>>
>>> Just trying to build WOAS on an Ubuntu 12.04 system. When attempting to
>>> run the ant command I get the following build error:
>>>
>>> $ ant -Dbuild.properties=woas.**properties -Djspwiki.test.skip=true
>>> woas-clean woas-dist
>>> Buildfile: /home/dave/JSPWiki/jspwiki_2_**9_1_incubating_rc2/build.xml
>>>
>>> BUILD FAILED
>>> Target "woas-clean" does not exist in the project "woas".
>>>
>>> Any idea what I'm doing wrong?
>>>
>>> Cheers,
>>> Dave
>>>
>>> --
>>> Dave Koelmeyer
>>> http://blog.davekoelmeyer.co.**nz <http://blog.davekoelmeyer.co.nz>
>>>
>>>
>

Re: Building WOAS (was Re: JSPWiki "Support for Multiple Wikis" and Hosting Solutions)

Posted by Dave Koelmeyer <da...@davekoelmeyer.co.nz>.
On 17/10/13 06:59 PM, Siegfried Goeschl wrote:
> Looks like a mess with the buid.xml
>
> - i overwrite the jspwiki ./build.xml file which allows calling the woas build.xml
> - i have a separate woas/buid.xml wich is invoked by ./build.xml
>
> I think you are missing my ./build.xml

Hi Siegfried,

Thanks, - I managed to get this built and it seems to work well. However 
there were a couple of deviations from the README which I had to make. 
First, the WOAS build will fail at the point the JSPWiki.war file is to 
be unpacked (line 68 of ./extensions/woas/build.xml). This implied that 
not only does JSPWiki source code have to be checked out, but it also 
has to be first built (I simply ran ant war in the checkout directory) 
before building WOAS - is this correct? If so perhaps this should be 
noted in the README.

Second, the README makes reference to overwriting the build.xml file 
contained within the checkout directory with 
./extensions/woas/build.xml. However, after first running ant war on the 
checkout directory to build JSPWiki, I then went to ./extensions/woas/ 
and executed ant '-Dbuild.properties=woas.properties 
-Djspwiki.test.skip=true woas-clean woas-dist'. WOAS built fine without 
errors. So I'm a little confused in which order copying/overwriting 
build.xml files should take place. There is also the presence of a third 
build.xml file (along with a woas.properties file) within the extracted 
"jspwiki-on-a-stick-master" directory which contains the "extensions" 
sub-directory - I don't know how or if these two files are supposed to 
be used, as the README only makes reference to using the extensions 
directory from the extracted WOAS zip file.

Long story short, I created some self-documentation (in JSPWiki, 
naturally) which details what worked for men - do you see any problems 
with this?

http://ubuntuone.com/6gXroBn1roKD97zd20enEb

Last, WOAS will throw an error when navigating to the User Preferences 
page - I can raise this as an issue in Github if you like?

Cheers,
Dave


>
>> Am 16.10.2013 um 10:14 schrieb Dave Koelmeyer <da...@davekoelmeyer.co.nz>:
>>
>>> On 15/10/13 09:20 PM, Dave Koelmeyer wrote:
>>>> On 15/10/13 06:36 PM, Siegfried Goeschl wrote:
>>>> Hi Dave,
>>>>
>>>> upgraded to JSPWiki 2.9.1 and it should work for Linux and Mac OS X - not sure for Windows native launcher since I don't use it
>> Hi Siegfried,
>>
>> Just trying to build WOAS on an Ubuntu 12.04 system. When attempting to run the ant command I get the following build error:
>>
>> $ ant -Dbuild.properties=woas.properties -Djspwiki.test.skip=true woas-clean woas-dist
>> Buildfile: /home/dave/JSPWiki/jspwiki_2_9_1_incubating_rc2/build.xml
>>
>> BUILD FAILED
>> Target "woas-clean" does not exist in the project "woas".
>>
>> Any idea what I'm doing wrong?
>>
>> Cheers,
>> Dave
>>
>> -- 
>> Dave Koelmeyer
>> http://blog.davekoelmeyer.co.nz
>>


Re: Building WOAS (was Re: JSPWiki "Support for Multiple Wikis" and Hosting Solutions)

Posted by Siegfried Goeschl <si...@it20one.at>.
Looks like a mess with the buid.xml

- i overwrite the jspwiki ./build.xml file which allows calling the woas build.xml
- i have a separate woas/buid.xml wich is invoked by ./build.xml

I think you are missing my ./build.xml

Cheers,

Siegfried Goeschl

> Am 16.10.2013 um 10:14 schrieb Dave Koelmeyer <da...@davekoelmeyer.co.nz>:
> 
>> On 15/10/13 09:20 PM, Dave Koelmeyer wrote:
>>> On 15/10/13 06:36 PM, Siegfried Goeschl wrote:
>>> Hi Dave,
>>> 
>>> upgraded to JSPWiki 2.9.1 and it should work for Linux and Mac OS X - not sure for Windows native launcher since I don't use it
> 
> Hi Siegfried,
> 
> Just trying to build WOAS on an Ubuntu 12.04 system. When attempting to run the ant command I get the following build error:
> 
> $ ant -Dbuild.properties=woas.properties -Djspwiki.test.skip=true woas-clean woas-dist
> Buildfile: /home/dave/JSPWiki/jspwiki_2_9_1_incubating_rc2/build.xml
> 
> BUILD FAILED
> Target "woas-clean" does not exist in the project "woas".
> 
> Any idea what I'm doing wrong?
> 
> Cheers,
> Dave
> 
> -- 
> Dave Koelmeyer
> http://blog.davekoelmeyer.co.nz
> 

Re: Building WOAS (was Re: JSPWiki "Support for Multiple Wikis" and Hosting Solutions)

Posted by Dave Koelmeyer <da...@davekoelmeyer.co.nz>.
On 16/10/13 09:14 PM, Dave Koelmeyer wrote:
> On 15/10/13 09:20 PM, Dave Koelmeyer wrote:
>> On 15/10/13 06:36 PM, Siegfried Goeschl wrote:
>>> Hi Dave,
>>>
>>> upgraded to JSPWiki 2.9.1 and it should work for Linux and Mac OS X 
>>> - not sure for Windows native launcher since I don't use it
>
> Hi Siegfried,
>
> Just trying to build WOAS on an Ubuntu 12.04 system. When attempting 
> to run the ant command I get the following build error:
>
> $ ant -Dbuild.properties=woas.properties -Djspwiki.test.skip=true 
> woas-clean woas-dist
> Buildfile: /home/dave/JSPWiki/jspwiki_2_9_1_incubating_rc2/build.xml
>
> BUILD FAILED
> Target "woas-clean" does not exist in the project "woas".
>
> Any idea what I'm doing wrong?
>

Actually I see now that the command has to be wrapped in single quotes - 
thanks.


-- 
Dave Koelmeyer
http://blog.davekoelmeyer.co.nz


Building WOAS (was Re: JSPWiki "Support for Multiple Wikis" and Hosting Solutions)

Posted by Dave Koelmeyer <da...@davekoelmeyer.co.nz>.
On 15/10/13 09:20 PM, Dave Koelmeyer wrote:
> On 15/10/13 06:36 PM, Siegfried Goeschl wrote:
>> Hi Dave,
>>
>> upgraded to JSPWiki 2.9.1 and it should work for Linux and Mac OS X - 
>> not sure for Windows native launcher since I don't use it

Hi Siegfried,

Just trying to build WOAS on an Ubuntu 12.04 system. When attempting to 
run the ant command I get the following build error:

$ ant -Dbuild.properties=woas.properties -Djspwiki.test.skip=true 
woas-clean woas-dist
Buildfile: /home/dave/JSPWiki/jspwiki_2_9_1_incubating_rc2/build.xml

BUILD FAILED
Target "woas-clean" does not exist in the project "woas".

Any idea what I'm doing wrong?

Cheers,
Dave

-- 
Dave Koelmeyer
http://blog.davekoelmeyer.co.nz


Re: JSPWiki "Support for Multiple Wikis" and Hosting Solutions

Posted by Dave Koelmeyer <da...@davekoelmeyer.co.nz>.
On 15/10/13 06:36 PM, Siegfried Goeschl wrote:
> Hi Dave,
>
> upgraded to JSPWiki 2.9.1 and it should work for Linux and Mac OS X - 
> not sure for Windows native launcher since I don't use it

Awesome, thanks - I'll give it a spin (and report back on Windows) :)

-- 
Dave Koelmeyer
http://blog.davekoelmeyer.co.nz



Re: JSPWiki "Support for Multiple Wikis" and Hosting Solutions

Posted by Siegfried Goeschl <si...@it20one.at>.
Hi Dave,

upgraded to JSPWiki 2.9.1 and it should work for Linux and Mac OS X - 
not sure for Windows native launcher since I don't use it

Cheers,

Siegfried Goeschl

On 14.10.13 05:05, Dave Koelmeyer wrote:
> On 23/09/13 08:50 AM, Siegfried Goeschl wrote:
>> Hi Jim,
>>
>> under https://github.com/sgoeschl/jspwiki-on-a-stick I have a
>> portable JSPWiki which I use to host up to 11 wiki (spaces) using an
>> embedded Jetty
>>
>> * the JSPWiki libraries are shared across all wikis
>> * each wiki is a separate webapp
>
>
> Hi Siegfried,
>
> Does your JSPWiki on a stick work with the current stable release of
> JSPWiki?
>
> Cheers,
> Dave
>