Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 17284 - Installing junit-3.7-r1.ebuild fails on missing build.xml
Summary: Installing junit-3.7-r1.ebuild fails on missing build.xml
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Adrian Almenar
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-10 23:52 UTC by Buddy Brewer
Modified: 2003-03-14 00:34 UTC (History)
0 users

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


Attachments
This one works for me. No src_compile() stanza. (junit-3.7-r1.ebuild,776 bytes, text/plain)
2003-03-13 09:26 UTC, Buddy Brewer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Buddy Brewer 2003-03-10 23:52:40 UTC
Looks like junit3.7 is missing a build.xml: 
 
  inflating: junit/ui/TestRunner.java 
>>> Source unpacked. 
Buildfile: build.xml does not exist! 
Build failed 
 
I was able to get the 3.7-r1 ebuild to install by removing the src_compile section, 
since junit.jar is already built and included in the dist anyway.  At first glance, 
junit-3.8.1 (currently masked) appears to have a build.xml in src.jar.  I haven't 
unmasked and installed 3.8.1 though, so I can't say for sure whether/not it works.
Comment 1 Buddy Brewer 2003-03-13 09:26:11 UTC
Created attachment 9343 [details]
This one works for me.  No src_compile() stanza.

Attaching the .ebuild that worksforme, for good measure :)  The only difference
between the attachment and what's currently in portage is that the src_compile
stanza is gone.
Comment 2 Dylan Carlson (RETIRED) gentoo-dev 2003-03-14 00:34:20 UTC
Fixed.  Even though I'm sure there's no difference between the shipped junit.jar bytecode and 
the newly compiled one -- it's the principle of the thing.  Added files/junit-3.7-build.xml and 
bumped it. 
 
Cheers