Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 63941 Details for
Bug 63258
www-servers/jboss uses packed jars
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
JSPWiki ebuild 2.2.28
jspwiki-2.2.28.ebuild (text/plain), 3.24 KB, created by
Santos Zatarain Vera
on 2005-07-20 21:37:04 UTC
(
hide
)
Description:
JSPWiki ebuild 2.2.28
Filename:
MIME Type:
Creator:
Santos Zatarain Vera
Created:
2005-07-20 21:37:04 UTC
Size:
3.24 KB
patch
obsolete
>inherit java-pkg > >DESCRIPTION="WikiWiki engine built around the standard J2EE" >HOMEPAGE="http://www.jspwiki.org" >SRC_URI="http://www.ecyrd.com/~jalkanen/JSPWiki/${PV}/jspwiki-${PV}-src.zip" >KEYWORDS="~x86 ~amd64 ~ppc ~sparc ~ppc64" >SLOT="${PV/.*}" >LICENSE="LGPL-2.1" >IUSE="doc junit" > >LIBDIR="dev-java/ecs > dev-java/jaxen > dev-java/jdom > dev-java/log4j > dev-java/lucene > dev-java/jakarta-oro > dev-java/oscache > dev-java/xmlrpc" #Packages in lib dir, dependencies will be added later > > >RDEPEND=">=virtual/jdk-1.4 > >=www-servers/tomcat-5.0 > >=dev-java/commons-lang-2.0 > >=dev-java/servletapi-2.2" > >#Packges without ebuild >#jrcs-diff.jar >#muiltpartrequest.jar >#nekohtml.jar >#sandler.jar > > >DEPEND="${RDEPEND} > >=dev-java/ant-core-1.5 > junit? ( >=dev-java/junit-3.7 ) > >=app-arch/unzip > app-arch/zip" ># dev-util/cvs #Most people don't have cvs corectly configured (without a password), ># then "ant dist" command don't work > >S="${WORKDIR}/JSPWiki" > >src_compile(){ > cd ${S} > ant compile || die "Compilation Failed - src_compile" > use doc && ( ant javadoc || die "Javadoc Failed - src_compile - doc flag" ) > use junit && ( ant tests || die "Tests failed - src_compile - junit flag" ) > ant war || die "War file Failed - src_compile" > mkdir ${S}/portage_dist > cd ${S}/portage_dist > jar xf /tmp/$(whoami)/JSPWiki/install/JSPWiki.war > mkdir ${S}/portage_dist/data > keepdir ${S}/portage_dist/data > mkdir ${S}/portage_dist/data/pages > keepdir ${S}/portage_dist/data/pages > mkdir ${S}/portage_dist/data/attachs > keepdir ${S}/portage_dist/data/attachs > mkdir ${S}/portage_dist/data/logs > keepdir ${S}/portage_dist/data/logs > mkdir ${S}/portage_dist/data/work > keepdir ${S}/portage_dist/data/work > cd ${S}/portage_dist/data/pages > cp ${S}/src/wikipages/*.txt ${S}/portage_dist/data/pages > cd ${S}/src/wikipages > zip ../../${PN}-samplepages *.txt > #Here is a hack, I forced to use Tomcat-5 in dependencies > #the webapps directory must be /opt/tomcat5/webapps > #I only need patch jspwiki.properties with the corrects directories > cd ${S}/portage_dist/WEB-INF > #epatch ${FILESDIR}/${PV}/jspwiki.properties.patch Please, write me and explain how to use epatch santos_zatarainv@yahoo.com.mx > patch jspwiki.properties ${FILESDIR}/${PV}/jspwiki.properties.patch > cd ${S}/portage_dist > jar cvf ../JSPWiki-Gentoo-Tomcat5.war * >} > >src_install(){ > insinto /usr/share/${PN}-${SLOT}/dist > doins JSPWiki-Gentoo-Tomcat5.war > doins /tmp/$(whoami)/JSPWiki/install/JSPWiki.war > doins ${S}/${PN}-samplepages.zip > java-pkg_dojar build/JSPWiki.jar > cd ${S} > dodoc ${S}/doc/LICENSE* > dodoc ${S}/doc/*.txt > use doc && java-pkg_dohtml -r ${S}/doc/javadoc/* >} > >pkg_postinst(){ > einfo "You run the config function with this command line:" > einfo " ebuild ${PORTDIR}/${CATEGORY}/${PN}/${PF}.ebuild config" >} > >pkg_config(){ > einfo "This action install JSPWiki in Tomcat5" > einfo "I will take as HOME /opt/tomcat5/webapps/JSPWiki" > einfo "You will access via http://localhost:8080/JSPWiki" > einfo "First stoping Tomcat" > /etc/init.d/tomcat5 stop > einfo "Installing JSPWiki" > mkdir /opt/tomcat5/webapps/JSPWiki > cd /opt/tomcat5/webapps/JSPWiki > jar xf /usr/share/${PN}-${SLOT}/dist/JSPWiki-Gentoo-Tomcat5.war > einfo "Fixing permissions" > cd /opt/tomcat5/webapps > chown -R tomcat:tomcat JSPWiki > chmod -R 775 JSPWiki > einfo "Now you (re)start Tomcat manually" >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 63258
:
59307
| 63941 |
63942