From: "Jörg Schaible" <joerg.schaible@gmx.de>
To: gentoo-dev@lists.gentoo.org
Subject: [gentoo-dev] Help with new Cocoon ebuild
Date: Wed, 07 Jan 2004 22:58:51 +0100 [thread overview]
Message-ID: <bthves$hko$1@sea.gmane.org> (raw)
Hi gang,
since I need a new Cocoon release for another package, I created a new
ebuild for it for current release 2.1.3 (my first ebuild at all). I just
took the old version for 2.0.2 and adjusted it for the current needs. While
it went fine, I am not too happy with it at all. Basically the old ebuild
just build the cocoon.war and installed it into an existing Tomcat release.
This has following problems:
- my next package is build upon Cocoon, but anything left by the ebuild are
the docs and the war file in Tomcat
- there are multiple servlet containers that can run Cocoon. In portage we
have already Tomcat, Resin, jBoss and j2eesdk. Installing Cocoon the hard
way into Tomcat is probably not what the user wants, even more, the
complete build is nonsense if he does not have Tomcat
- Cocoon can run standalone
- Cocoon is not reported as a java-package by java-config
Therefore I would like to:
- build Cocoon into /usr/share/cocoon
- provide a package.env
- support USE-flags for installation of Cocoon into existing servlet
containers or have a global virtual/servlet-container where cocoon is
installed
Looking at the ant ebuilds I can see the inherited java-pkg, but I am not
sure, what this really means or if there is any documentation. Additionally
I did not found the location of the eclasses (possibly an oversight in the
docs).
Also I am not sure about the strategy for the servlet container problem. If
there is a default servlet container in the virtuals, Cocoon could be
installed automatically, but I wonder if this is really what a user wants.
Cocoon itself just is a "library" with samples. The generated webapp is of
no use for production and mainly an example how to build your own webpp. It
is fine, if you can test Cocoon after installation, but that's all.
Any thoughts and hints welcome!
Regards,
Jörg
--
gentoo-dev@gentoo.org mailing list
next reply other threads:[~2004-01-07 22:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-07 21:58 Jörg Schaible [this message]
2004-01-07 22:35 ` [gentoo-dev] Re: Help with new Cocoon ebuild Jörg Schaible
2004-01-09 8:18 ` [gentoo-dev] " Karl Trygve Kalleberg
2004-01-09 8:44 ` Eivind Tagseth
2004-01-09 11:48 ` Karl Trygve Kalleberg
2004-01-09 14:20 ` [gentoo-dev] Re: [gentoo-java] " Thomas T. Veldhouse
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='bthves$hko$1@sea.gmane.org' \
--to=joerg.schaible@gmx.de \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox