First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 152924
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Java team <java@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Alex Tarkovsky <alextarkovsky@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
mx4j-2.1.0-r1.diff mx4j-2.1.0-r1.diff patch Alex Tarkovsky 2006-10-26 14:34 0000 2.13 KB Details | Diff
mx4j-2.1.0-r2.ebuild mx4j-2.1.0-r2.ebuild text/plain Alex Tarkovsky 2006-10-27 15:59 0000 1.33 KB Details
mx4j-2.1.0-split-javadoc-build.patch files/mx4j-2.1.0-split-javadoc-build.patch patch Alex Tarkovsky 2006-10-27 15:59 0000 1.92 KB Details | Diff
mx4j-tools-2.1.0.ebuild mx4j-tools-2.1.0.ebuild text/plain Alex Tarkovsky 2006-10-27 16:01 0000 2.68 KB Details
mx4j-tools-2.1.0-split-javadoc-build.patch files/mx4j-tools-2.1.0-split-javadoc-build.patch patch Alex Tarkovsky 2006-10-27 16:01 0000 1.92 KB Details | Diff
mx4j-2.1.0-r2.ebuild mx4j-2.1.0-r2.ebuild text/plain Alex Tarkovsky 2006-10-27 21:13 0000 1.38 KB Details
mx4j-tools-2.1.0.ebuild mx4j-tools-2.1.0.ebuild text/plain Alex Tarkovsky 2006-10-27 21:14 0000 2.77 KB Details
mx4j-3.0.1-r2.ebuild mx4j-3.0.1-r2.ebuild text/plain Alex Tarkovsky 2006-10-27 21:41 0000 1.37 KB Details
mx4j-3.0.1-split-javadoc-build.patch files/mx4j-3.0.1-split-javadoc-build.patch patch Alex Tarkovsky 2006-10-27 21:42 0000 1.93 KB Details | Diff
mx4j-tools-3.0.1.ebuild mx4j-tools-3.0.1.ebuild text/plain Alex Tarkovsky 2006-10-27 21:43 0000 2.75 KB Details
mx4j-tools-3.0.1-split-javadoc-build.patch files/mx4j-tools-3.0.1-split-javadoc-build.patch patch Alex Tarkovsky 2006-10-27 21:43 0000 1.93 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 152924 depends on: Show dependency tree
Bug 152924 blocks: 157392
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: 2006-10-26 14:31 0000
dev-java/mx4j:tools - Build optional tool classes and utilities

------- Comment #1 From Alex Tarkovsky 2006-10-26 14:34:55 0000 -------
Created an attachment (id=100555) [details]
mx4j-2.1.0-r1.diff

------- Comment #2 From Alex Tarkovsky 2006-10-27 15:57:06 0000 -------
(From update of attachment 100555 [details])
After some discussion it was agreed the new USE flag approach is inadequate for
a number of reasons, most of all because jetty depends on mx4j, and mx4j's
optional tools depend on jetty.

The new idea is to split mx4j into two ebuilds: core (dev-java/mx4j) and tools
(dev-java/mx4j-tools). The core ebuild will no longer depend on jetty, and the
jetty dependency will be moved to mx4j-tools. As a consequence of this
splitting, the mx4j Ant build is now patched to split the javadoc target into
two targets corresponding to core and tools, and also mx4j's "examples" USE
flag has been moved over to the mx4j-tools ebuild due to the infeasability of
splitting it.

------- Comment #3 From Alex Tarkovsky 2006-10-27 15:59:16 0000 -------
Created an attachment (id=100624) [details]
mx4j-2.1.0-r2.ebuild

------- Comment #4 From Alex Tarkovsky 2006-10-27 15:59:46 0000 -------
Created an attachment (id=100625) [details]
files/mx4j-2.1.0-split-javadoc-build.patch

------- Comment #5 From Alex Tarkovsky 2006-10-27 16:01:14 0000 -------
Created an attachment (id=100626) [details]
mx4j-tools-2.1.0.ebuild

------- Comment #6 From Alex Tarkovsky 2006-10-27 16:01:47 0000 -------
Created an attachment (id=100627) [details]
files/mx4j-tools-2.1.0-split-javadoc-build.patch

------- Comment #7 From Alex Tarkovsky 2006-10-27 21:13:20 0000 -------
Created an attachment (id=100633) [details]
mx4j-2.1.0-r2.ebuild

Update to more explicitly define a few of the build-time jar imports.

Tested on x86 against sun-jdk-1.4.2.12 using javac 1.4.2.12, jikes 1.22, and
ecj 3.2.

------- Comment #8 From Alex Tarkovsky 2006-10-27 21:14:02 0000 -------
Created an attachment (id=100634) [details]
mx4j-tools-2.1.0.ebuild

Update to more explicitly define a few of the build-time jar imports.

Tested on x86 against sun-jdk-1.4.2.12 using javac 1.4.2.12, jikes 1.22, and
ecj 3.2.

------- Comment #9 From Alex Tarkovsky 2006-10-27 21:41:43 0000 -------
Created an attachment (id=100635) [details]
mx4j-3.0.1-r2.ebuild

Now for slot 3.0.

Tested on x86 against sun-jdk-1.4.2.12 using javac 1.4.2.12, jikes 1.22, and
ecj 3.2. Also tested on x86 against sun-jdk-1.5.0.08 using javac 1.5.0.08,
jikes 1.22, and ecj 3.2.

Compilation against jdk-1.3 in mx4j-3.0.1-r1 from Portage was broken due to
incomplete implementation of build steps, so this revision of the ebuild
requires >=virtual/jdk-1.4. See comments in ebuild.

------- Comment #10 From Alex Tarkovsky 2006-10-27 21:42:29 0000 -------
Created an attachment (id=100636) [details]
files/mx4j-3.0.1-split-javadoc-build.patch

------- Comment #11 From Alex Tarkovsky 2006-10-27 21:43:11 0000 -------
Created an attachment (id=100637) [details]
mx4j-tools-3.0.1.ebuild

Tested on x86 against sun-jdk-1.4.2.12 using javac 1.4.2.12, jikes 1.22, and
ecj 3.2. Also tested on x86 against sun-jdk-1.5.0.08 using javac 1.5.0.08,
jikes 1.22, and ecj 3.2.

------- Comment #12 From Alex Tarkovsky 2006-10-27 21:43:44 0000 -------
Created an attachment (id=100638) [details]
files/mx4j-tools-3.0.1-split-javadoc-build.patch

------- Comment #13 From Alex Tarkovsky 2006-10-27 21:57:22 0000 -------
I've already bugspammed enough for today, so I'll just mention here that
mx4j-2.1.0-r2.ebuild and mx4j-3.0.1-r2.ebuild need to have an einfo added to
pkg_postinst() saying:

"Tools and examples are now located in a separate package,
dev-java/mx4j-tools."

------- Comment #14 From Petteri Räty 2006-12-02 09:44:46 0000 -------
It would be nice if we could get this upstream too so that we would not end up
maintaining the patches ourselves.

------- Comment #15 From Petteri Räty 2006-12-02 10:17:30 0000 -------
    [javac] 7. ERROR in
/var/tmp/portage/dev-java/mx4j-tools-3.0.1/work/mx4j-3.0.1/src/tools/mx4j/tools/adaptor/ssl/SSLAdaptorServerSocketFactory.java
    [javac]  (at line 24)
    [javac]     import com.sun.net.ssl.KeyManagerFactory;
    [javac]            ^^^^^^^^^^^
    [javac] The import com.sun.net cannot be resolved

Stupid tools don't compile with ibm-jdk-bin

------- Comment #16 From Petteri Räty 2006-12-02 14:45:23 0000 -------
https://overlays.gentoo.org/svn/proj/java/migrated-java-experimental-overlay/dev-java
Added with the following modifications:
- mx4j core code is now in the mx4j-core package
- mx4j package depends on both -core and -tools and has examples and doc use
flags
- This way emerge mx4j will give you about the same result as the upstream
binary
- the mx4j metapackage needs a patched java-pkg-opt-2 eclass so that it does
not     
  do build.xml rewriting when no java code is used but I will commit that soon

------- Comment #17 From Alex Tarkovsky 2006-12-02 15:27:35 0000 -------
(From update of attachment 100637 [details])
Use version in Java overlay.

------- Comment #18 From Alex Tarkovsky 2006-12-02 15:28:09 0000 -------
(From update of attachment 100635 [details])
Use version in Java overlay.

------- Comment #19 From Petteri Räty 2006-12-03 06:38:00 0000 -------
I started to think that having mx4j with the tools use flag would have been
easier to implement. But just now I came to think that as mx4j-tools can depend
on jetty and jetty depends on mx4j-core, it is wiser to go with three ebuilds
as then we can avoid the circular deps altogether.

------- Comment #20 From Petteri Räty 2006-12-07 06:51:29 0000 -------
Split ebuilds committed to the tree. Thanks shillelagh.

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