First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 64410
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Java team <java@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Carlos Benevides <c.g.b@carlosbenevides.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 64410 depends on: Show dependency tree
Bug 64410 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-09-17 08:52 0000
After I emerged ant and was emerging portagemaster I got this error "Could not
find package ant". Typing ant would give the same error. After digging around
found that the ant script uses java-config to query the class of the package
ant and sets it. However, ant is an empty package. It does not have files
associated with it. The ant files are actually under the package ant-core. Not
sure why this is but. When I changed the java-config query command to look up
the classpath of ant-core, it started working. 

#vi `which ant` 
change: 
# add in the dependency .jar files 
LOCALCLASSPATH="${LOCALCLASSPATH}:`java-config --classpath=ant`" 

to read: 
# add in the dependency .jar files 
LOCALCLASSPATH="${LOCALCLASSPATH}:`java-config --classpath=ant-core`" 


Reproducible: Always
Steps to Reproduce:
1.Emerge Ant
2.Emerge any other ebuild which uses ant(ie. portagemaster)
3.

Actual Results:  
You get "Could not find package ant" and no package which uses ant will work, 
and give error about not finding Main in the class.

Expected Results:  
It should work?  Ant ebuild should set the correct classpath.

This is a minor bug, as in the bug details I show how I fixed it.  I just 
would like to enter a bug and have it fixed for future ebuilds.

------- Comment #1 From Thomas Matthijs (RETIRED) 2004-09-17 09:02:53 0000 -------
thanks

fixed

First Last Prev Next    No search results available      Search page      Enter new bug