Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 144737 - dev-java/simple - new ebuild
Summary: dev-java/simple - new ebuild
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement with 1 vote (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords: EBUILD
Depends on: 145182
Blocks: 144738 177517
  Show dependency tree
 
Reported: 2006-08-22 04:48 UTC by Jakob Truelsen
Modified: 2015-12-26 09:33 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
The ebuild (simple-3.1.3.ebuild,637 bytes, text/plain)
2006-08-22 04:49 UTC, Jakob Truelsen
Details
The ebuild (simple-3.1.3.ebuild,876 bytes, text/plain)
2006-08-26 07:40 UTC, Jakob Truelsen
Details
A better ebuild (simple-3.1.3.ebuild,931 bytes, text/plain)
2006-08-27 02:31 UTC, Jakob Truelsen
Details

Note You need to log in before you can comment on or make changes to this bug.
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.