Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 110337
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Java team <java@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Petteri Räty <betelgeuse@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
java-devel.patch patch for java-devel.xml patch Petteri Räty 2005-10-24 08:54 0000 787 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 110337 depends on: Show dependency tree
Bug 110337 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: 2005-10-24 08:53 0000
Following http://www.gentoo.org/proj/en/java/java-devel.xml we should only
depend on dev-java/ant-core when possible. I opened this bug for tracking
various issues related to this transition and for people to report packages that
only need ant-core or have missing dependencies because /usr/bin/ant puts
packages to CLASSPATH which can result as missing dependencies. Nichoj has
created a list to experimental which can act as a starting point:
http://gentooexperimental.org/svn/java/gentoo-java-experimental/ant-deps-nichoj

I also noticed by removing LOCALCLASSPATH from /usr/bin/ant that the following
packages have missing xerces dependency:
dev-java/xmldb
dev-java/aspectj

I will be updating this bug as I find new packages with missing dependencies or
fix packages to depend only on dev-java/ant-core.

------- Comment #1 From Petteri Räty 2005-10-24 08:54:58 0000 -------
Created an attachment (id=71337) [details]
patch for java-devel.xml

Here is a proposed patch against
http://gentooexperimental.org/svn/java/axxo-overlay/README/docs/java-devel.xml
to improve the documentation.

------- Comment #2 From Petteri Räty 2005-10-24 09:16:06 0000 -------
I fixed dev-java/xmldb and dev-java/aspectj is bogus. It is dev-java/adaptx
that
failed.

------- Comment #3 From Petteri Räty 2005-12-08 03:50:20 0000 -------
commons-httpclient-3.0_rc4 fixed

------- Comment #4 From Petteri Räty 2005-12-09 03:01:32 0000 -------
Last night nichoj fixed dev-java/saxpath and earlier dev-java/commons-dbcp

------- Comment #5 From Josh Nichols (RETIRED) 2005-12-15 17:50:37 0000 -------
We have to be careful about ant dependencies... I just fixed xdoclet, where it
only had ant-core, but needed ant-tasks for normal compilation.

------- Comment #6 From Petteri Räty 2005-12-16 00:32:29 0000 -------
(In reply to comment #5)
> We have to be careful about ant dependencies... I just fixed xdoclet, where it
> only had ant-core, but needed ant-tasks for normal compilation.

That is why I always turn off LOCALCLASSPATH in /usr/bin/ant and start with no
packages installed before changing to just ant-core.

------- Comment #7 From Petteri Räty 2006-04-01 07:07:49 0000 -------
Fixed dev-java/picocontainer

------- Comment #8 From Tristan Heaven 2006-10-19 19:37:01 0000 -------
Is there an easy way to check that a package only needs dev-java/ant-core
without removing everything that comes with dev-java/ant before testing?

------- Comment #9 From Petteri Räty 2006-10-20 07:30:13 0000 -------
(In reply to comment #8)
> Is there an easy way to check that a package only needs dev-java/ant-core
> without removing everything that comes with dev-java/ant before testing?
> 

Add JAVA_PKG_STRICT=1 to make.conf

------- Comment #10 From Petteri Räty 2006-10-20 07:31:19 0000 -------
Well JAVA_PKG_STRICT=1 makes sure there are not unsatisfied deps. One way to do
it is to remove the ant-tasks package and it to package.provided. This should
make packages that need full ant fail.  

------- Comment #11 From Vlastimil Babka (Caster) 2006-10-20 09:31:38 0000 -------
(In reply to comment #8)
> Is there an easy way to check that a package only needs dev-java/ant-core
> without removing everything that comes with dev-java/ant before testing?
> 

It will be possible with the split-ant packaging I'm working on.
JAVA_PKG_STRICT=1 will disable optional tasks if there's only ant-core in
DEPEND. And you will be able to override it with envvar to test without
modifying the ebuild.

------- Comment #12 From Petteri Räty 2006-10-29 13:42:14 0000 -------
dev-java/lucene modified

------- Comment #13 From Vlastimil Babka (Caster) 2009-05-15 22:36:59 0000 -------
This bug was solved ages ago, any new cases of this would be exceptional and
need not be meta-tracked.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug