[xwiki-dev] XWiki Gentoo Linux ebuild

Sergiu Dumitriu sergiu.dumitriu at gmail.com
Mon May 7 21:04:01 CEST 2007


Hi Artem,

I haven't tried the ebuild yet, will do it in a day or two.

Some other USE flags I'd like to see:
src - for checking out the sources, too. You could check the status on
"ant src.dist"
doc - runs "ant doc" and places the generated documentation in
/usr/share/docs/xwiki/
test - runs the tests, too

I don't like the fact that it uses the 1.0 branch. It is not something
stable, I don't recall any ebuilds using something dynamic as the
source. We could have some other USE flags for this.
An ebuild should always have a stable tagged source, meaning that an
ebuild will have the used xwiki version. So the first ebuild could be
called xwiki-1.0.RC4 (or we can wait for 1.0), which checkouts sources
in xwiki/tags/XWIKI_1_0_RC4.
We can override this with USE=trunk, which will checkout the sources from trunk.

Another option which will be needed shortly is USE=mvn, which compiles
everything with maven.

What exactly does "/etc/init.d/xwiki start/stop" do?

What is the default build target? Or the user has to choose at least
one of war, tomcat...?

Sergiu.

On 5/6/07, Artem Melentyev <melenartem at ya.ru> wrote:
> Hello.
>
> This email is mainly for Gentoo Linux users/admins/developers.
>
> I write a draft version of XWiki ebuild (package analog) for Gentoo
> Linux distribution:
>
> http://jira.xwiki.org/jira/browse/XWIKI-467
>   ebuild in attachments
>   install instructions in comments
>
> For now ebuild can (USE flags):
>   war    - simple build war in
>            /usr/share/xwiki-svn-1.0/lib/xwiki.war
>   exowar - build exo portlet integration war in
>            /usr/share/xwiki-svn-1.0/lib/xwiki-exo.war
>   standalone - build standalone distribution (embedded hsqldb and jetty)
>               and install it in /usr/share/xwiki-svn-1.0/standalone
>               run by /etc/init.d/xwiki start
>   tomcat - deploy to tomcat6. simply symlink war file :)
>   write what you want else?
>
> ebuild will checkout
> svn://svn.forge.objectweb.org/svnroot/xwiki/xwiki/branches/XWIKI_1_0
> sources for building and uses ant for building.
> ebuild uses svn because xwiki haven't source distribution yet. But I
> think for test this ebuild svn is most suitable.
> Later we will needed source distribution for xwiki releases.
>
> ebuild allow to Gentoo user to install xwiki very easily without any
> knowledge in xwiki.
> I tested this ebuild on ~amd64 arch, sun-jdk-1.5 & 1.6 (with some
> patches allowing xwiki to compile at 1.6).
>
> I would like to hear some feedbacks,notes,misprints and bugs before we
> can propose this ebuild to Gentoo java-overlay or java-experimental overlay.
>
> --
>    Artem Melentyev, UralSU, CS401
>
>
>
>
> --
> You receive this message as a subscriber of the xwiki-dev at objectweb.org mailing list.
> To unsubscribe: mailto:xwiki-dev-unsubscribe at objectweb.org
> For general help: mailto:sympa at objectweb.org?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
>


-- 
http://purl.org/net/sergiu




More information about the devs mailing list