Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 190307 - dev-java/{mockobjects, xdoclet}: masked for removal
Summary: dev-java/{mockobjects, xdoclet}: masked for removal
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-26 14:47 UTC by Petteri Räty (RETIRED)
Modified: 2015-09-13 16:12 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petteri Räty (RETIRED) gentoo-dev 2007-08-26 14:47:21 UTC
compile-tests:
    [mkdir] Created dir: /var/tmp/portage/dev-java/commons-configuration-1.4/work/commons-configuration-1.4-src/target/test-classes
    [javac] Compiling 84 source files to /var/tmp/portage/dev-java/commons-configuration-1.4/work/commons-configuration-1.4-src/target/test-classes
    [javac] /var/tmp/portage/dev-java/commons-configuration-1.4/work/commons-configuration-1.4-src/src/test/org/apache/commons/configuration/web/TestServletConfiguration.java:24: package com.mockobjects.servlet does not exist
    [javac] import com.mockobjects.servlet.MockServletConfig;
Comment 1 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2007-12-02 02:35:37 UTC
Tried, but after forcing -Dj2ee.version=1.4 and satisfying all the deps, there are lots of errors like this:
    [javac] 1. ERROR in /var/tmp/portage/dev-java/mockobjects-0.09-r3/work/mockobjects-java-0.09/src/j2ee/common/com/mockobjects/jms/MockConnection.java (at line 10)
    [javac]     public class MockConnection extends MockObject implements Connection {
    [javac]                  ^^^^^^^^^^^^^^
    [javac] The type MockConnection must implement the inherited abstract method Connection.createConnectionConsumer(Destination, String, ServerSessionPool, int)

I guess it expects older version of jms API than the only one we have. Not sure if it's worth adding the older version just for mockobjects which is dead itself and project using it should imho move to jmock etc...
Comment 2 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2007-12-02 13:35:15 UTC
(In reply to comment #0)
> compile-tests:

I don't see such target in build.xml. And for me, running tests gives no output at all so I wonder if they are actually run.
Comment 3 Patrice Clement gentoo-dev 2015-08-19 09:47:02 UTC
* http://mockobjects.sf.net is unreachable. I guess this project is simply dead. Let's remove it.

10:41 < willikins> monsieurp: Reverse RDEPEND for dev-java/mockobjects: dev-java/xdoclet-1.2.3

* http://xdoclet.sourceforge.net/xdoclet/index.html
"Last published: 05 May 2005 | Doc for 1.2.3". This too is going to the bin

10:41 < willikins> monsieurp: No packages have a reverse RDEPEND on dev-java/xdoclet.
Comment 4 Patrice Clement gentoo-dev 2015-08-19 12:34:32 UTC
# Patrice Clement <monsieurp@gentoo.org> (19 Aug 2015)
# Upstream dead: no releases since 2010.
# Technology has moved on and there are far better alternatives
# (easymock, mockito and jmock).
# Masked for removal in 30 days. See bug #190307.
dev-java/mockobjects

# Patrice Clement <monsieurp@gentoo.org> (19 Aug 2015)
# Upstream dead too: no releases since 2005.
# Masked for removal in 30 days. See bug #190307.
dev-java/xdoclet

30 days timeout.
Comment 5 Patrice Clement gentoo-dev 2015-09-13 16:12:52 UTC
commit 042f0a4 (HEAD, master)
Author: Patrice Clement <monsieurp@gentoo.org>
Date:   Sun Sep 13 16:11:12 2015 +0000

    dev-java/{mockobjects,xdoclet}: Packages removal. Fixes bug 190307.
    
    Signed-off-by: Patrice Clement <monsieurp@gentoo.org>

 delete mode 100644 dev-java/mockobjects/Manifest
 delete mode 100644 dev-java/mockobjects/files/mockobjects-0.09-gentoo.patch
 delete mode 100644 dev-java/mockobjects/files/mockobjects-0.09-java15.patch
 delete mode 100644 dev-java/mockobjects/files/mockobjects-0.09-junit.patch
 delete mode 100644 dev-java/mockobjects/metadata.xml
 delete mode 100644 dev-java/mockobjects/mockobjects-0.09-r4.ebuild
 delete mode 100644 dev-java/xdoclet/Manifest
 delete mode 100644 dev-java/xdoclet/files/xdoclet-1.2.2-buildfile.patch
 delete mode 100644 dev-java/xdoclet/files/xdoclet-1.2.2-interface.patch
 delete mode 100644 dev-java/xdoclet/files/xdoclet-1.2.3-buildfile.patch
 delete mode 100644 dev-java/xdoclet/files/xdoclet-1.2.3-interface.patch
 delete mode 100644 dev-java/xdoclet/files/xdoclet-modules_common_ent.patch
 delete mode 100644 dev-java/xdoclet/metadata.xml
 delete mode 100644 dev-java/xdoclet/xdoclet-1.2.3.ebuild