Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 41278 Details for
Bug 50972
Requested: ebuild for cruisecontrol
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
cruisecontrol-2.1.6.ebuild
cruisecontrol-2.1.6.ebuild (text/plain), 2.16 KB, created by
Eivind Tagseth
on 2004-10-07 05:05:29 UTC
(
hide
)
Description:
cruisecontrol-2.1.6.ebuild
Filename:
MIME Type:
Creator:
Eivind Tagseth
Created:
2004-10-07 05:05:29 UTC
Size:
2.16 KB
patch
obsolete
># Copyright 1999-2004 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit eutils >inherit java-pkg > >DESCRIPTION="A continuous build framework" >HOMEPAGE="http://cruisecontrol.sourceforge.net/" >SRC_URI="mirror://sourceforge/cruisecontrol/${P}.zip" > >LICENSE="" >SLOT="0" >KEYWORDS="~x86" > >IUSE="" > >DEPEND="virtual/java > dev-java/xerces > dev-java/ant > dev-java/commons-collections > dev-java/junit > dev-java/commons-net > dev-java/log4j > dev-java/jdom > dev-java/sun-javamail-bin" > >## jboss and tomcat may replace sun-javamail-bin > ># Run-time dependencies, same as DEPEND if RDEPEND isn't defined: >#RDEPEND="" > >S=${WORKDIR}/${P} > >src_compile() { > cd main > > einfo "Building CruiseControl" > CLASSPATH=`java-config --classpath=junit,xerces,commons-collections,ant,commons-logging`:$JAVA_HOME/lib/tools.jar > export CLASSPATH > java -cp "$CLASSPATH" org.apache.tools.ant.Main jar || die "Compile of cruisecontrol failed" > > einfo "Building CruiseControl Web App" > cd ${S}/reporting/jsp > cat << EOF > override.properties >user.log.dir=/var/cruisecontrol/logs >user.build.status.file=buildstatus.txt >cruise.build.artifacts.dir=/var/cruisecontrol/artifacts >jdk1.4=true >EOF > > java -cp "$CLASSPATH" org.apache.tools.ant.Main war || dir "Compile of cruisecontrol web app failed" > >} > >src_install() { > cd ${S}/main > java-pkg_dojar dist/cruisecontrol.jar > exeinto /usr/bin > doexe ${FILESDIR}/cruisecontrol.sh > dodoc README.txt license.txt > dohtml -r docs > cd ${S}/reporting/jsp > java-pkg_dowar dist/*.war > cd ${S} > dohtml -r reporting/jsp/docs >} > > >pkg_postinst() { > einfo "" > einfo "If this is the first time you install cruisecontrol," > einfo "try ebuild ${EBUILD} config" > einfo "to build a basic cruisecontrol directory structure" > einfo "with a sample configuration" > einfo "" >} > >pkg_config() { > einfo "Generating CruiseControl work directory in /var/cruisecontrol" > CCDIR=/var/cruisecontrol > mkdir -p $CCDIR > test -d $CCDIR/checkout || mkdir $CCDIR/checkout > test -d $CCDIR/artifacts || mkdir $CCDIR/artifacts > test -d $CCDIR/logs || mkdir $CCDIR/logs > test -f $CCDIR/config.xml || cp ${FILESDIR}/config.xml $CCDIR > test -f $CCDIR/build.xml || cp ${FILESDIR}/build.xml $CCDIR >}
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 50972
: 41278 |
41279
|
41280
|
58438
|
58597
|
58602
|
58604
|
58674
|
58675
|
58677
|
58685
|
58686
|
59411
|
59412
|
59413
|
59414
|
59416
|
59629
|
59630
|
72708
|
72709
|
72711
|
72712
|
72972
|
72973
|
72974
|
103707
|
103708
|
103709
|
103710
|
103711