Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 144737

Summary: dev-java/simple - new ebuild
Product: Gentoo Linux Reporter: Jakob Truelsen <antialize>
Component: New packagesAssignee: 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
Hi 

I have attatched an ebuild for the simple project.. i suggest putting it in dev-java/simple. here is a link to the project homepage 
http://simpleweb.sourceforge.net. I don't know what it does but it a dependentsy for the MMORPG arianne stendhal (Yes I have an ebuild)

Jakob
Comment 1 Jakob Truelsen 2006-08-22 04:49:38 UTC
Created attachment 94845 [details]
The ebuild
Comment 2 Jakob Truelsen 2006-08-26 07:40:31 UTC
Created attachment 95140 [details]
The ebuild

Updated ebuild. we don't use shipped jars :)
Comment 3 Petteri Räty (RETIRED) gentoo-dev 2006-08-26 08:00:11 UTC
(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.

Comment 4 Jakob Truelsen 2006-08-27 02:31:43 UTC
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
Comment 5 Vytautas Jakutis 2007-05-13 20:16:56 UTC
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
Comment 6 Patrice Clement gentoo-dev 2015-12-26 09:33:58 UTC
Dep of bug 144738, which has been marked as WONTFIX. This ebuild is not needed anymore. Closing.