Summary: | dev-java/simple - new ebuild | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jakob Truelsen <antialize> |
Component: | New packages | Assignee: | Default Assignee for New Packages <maintainer-wanted> |
Status: | RESOLVED WONTFIX | ||
Severity: | enhancement | CC: | java, vytautas |
Priority: | High | Keywords: | EBUILD |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 145182 | ||
Bug Blocks: | 144738, 177517 | ||
Attachments: |
The ebuild
The ebuild A better ebuild |
Description
Jakob Truelsen
2006-08-22 04:48:20 UTC
Created attachment 94845 [details]
The ebuild
Created attachment 95140 [details]
The ebuild
Updated ebuild. we don't use shipped jars :)
(In reply to comment #2) > Created an attachment (id=95140) [edit] > The ebuild > > Updated ebuild. we don't use shipped jars :) > Feedback: * RDEPEND needs to have everything needed to run it (most stuff from DEPEND - jdk) * check if it works with just ant-core instead of the full ant-tasks installed (helps to reduce dependencies) S=${WORKDIR}/${PN}-${PV} this would be the default SRC_URI="mirror://sourceforge/simpleweb/${PN}-${PV}.tar.gz" ${PN}-${PV} == ${P} eant $(use_doc javadoc) -lib $(java-pkg_getjars groovy-1 freemarker-2.3 velocity kxml-2) -lib does not work with JAVA_PKG_STRICT, see if you can use an ant property for the dependencies. The reason we disable to use of lib with STRICT is that it is easy to miss dependencies when having everything from ant available to the build. Created attachment 95182 [details]
A better ebuild
Ok. I don't know how to work the "ant property" (is there an ebuild that uses it) , but I belive that placing jars in lib with "java-pkg_jar-from" should be just as safe, right?
I have unmerged ant and ant-tasks, and the new ebuild works well with JAVA_PKG_STRICT="true"
Jakob
hello, why not remove dev-java/ant-core from DEPEND because it is added by java-ant-2.eclass and from RDEPEND because at runtime it is not needed and please add ~amd64 to KEYWORDS Dep of bug 144738, which has been marked as WONTFIX. This ebuild is not needed anymore. Closing. |