/srv/irclogs.ubuntu.com/2008/08/12/#ubuntu-java.txt

dholbachgood morning06:43
Koonpersia: I sent my Maven status email last Friday to ubuntu-java@lists.launchpad.net but it doesn't appear on the list archives : did you receive it ? or is the ML posting restricted to team members ?09:35
slytherinpersia: lots of java libraries currently recommend -gcj package which pulls gcj runtime on intrepid. Any thoughts on this? Even ant recommends ant-gcj.09:35
slytherinKoon: are you subscribed to the list?09:36
Koonslytherin: I suppose I have to join the team first09:37
persiaKoon: I haven't seen your email.09:37
* Koon grumbles.09:37
slytherinKoon: me too didn't see any mail.09:38
Koonpersia: is it supposed to be closed-post, moderated or open ?09:38
persiaKoon: No idea, actually.09:38
KoonI didn't get any error message09:38
persiaProbably either closed-post or moderated.09:38
KoonI'll apply for membership... To win some time, I'll send you the email, if you can post it to the list that would be great09:39
KoonI'm in vacation this Thursday so I can't make it to the team meeting09:40
Koonslytherin: I'd say those recommends should be moved to suggests...09:40
slytherinKoon: that is my opinion too. But want either persia or geser to confirm it.09:41
Koonslytherin: sure. That's what I've proposed in my bug 249178 patch09:42
ubottuLaunchpad bug 249178 in ecj "libecj-java shouldn't recommend java2-runtime" [Low,Triaged] https://launchpad.net/bugs/24917809:42
=== dholbach_ is now known as dholbach
persiaKoon: Got your mail now.09:46
persiaslytherin: Given that we're focusing on OpenJDK, I suspect it makes sense not to recommend -gcj for everything, especially as we're installing recommends by default.09:49
slytherinpersia: right. So should I file one bug per package? I will start with ant.09:50
persiaYes, one bug per package.  Extra points for making things headless where you can.09:50
Koonpersia: is it ok to file a single bug and make it affect multiple packages ? Or discouraged ?09:51
persiaKoon: That is discouraged except in the case where multiple packages need to be changed to fix a single bug.09:53
slytherinpersia: By the way, Debian guys are moving many libraries to openjdk. So expect loads of sync/merge requests in next week from me.09:53
persiaAn example of this, look at bug 25717809:53
ubottuLaunchpad bug 257178 in debian-edu "education-chemistry: fails to install: err 67: Custom distribution education does not exist" [High,Fix released] https://launchpad.net/bugs/25717809:53
persiaslytherin: Excellent!09:54
robiladglassfish2 also just moved into debian main, afaict10:30
robilad(on top of openjdk)10:30
slytherinrobilad: is that glassfish2? I thought it was glassfish 110:31
robiladhttp://lists.alioth.debian.org/pipermail/pkg-java-maintainers/2008-August/017623.html10:32
slytherinKoon: why don't you add the patch to some bug so that it gets some review. May be someone will pickup from there.10:34
persiarobilad: Great news!10:34
persiaslytherin: For maven?  I think it's a bigger effort than a bugfix.10:34
persiaMore critically, I think we need some maven users to try it out, and comment on whether it looks like it's worth generating all the .pom files.10:35
Koonslytherin: we need to validate the approach10:35
slytherinhmm10:35
Koonthe effort of patching maven is... nothing compaed to the effort of repackaging all potentiall javalibs10:35
persiaslytherin: Of course, if you want to step through and test with it to validate it, that would be a great help :)10:36
slytherinrobilad: persia: I think we have more than one glassfish version. Any idea what glassfishv2 is?10:36
* robilad guesses glassfish version 2.10:36
slytherinpersia: I don't have maven knoledge but I can help with packaging efforts.10:36
persiaslytherin: There was a bit of a communications mess, and we have too many glassfishes right now.10:36
Koonslytherin: we have one in multiverse (prebuilt binary) and a few libraries in universe10:36
persiaWhich can probably be dropped if glassfish2 is available to be sync'd from Debian main into universe.10:37
slytherinpersia: I tried to avoid it when Sun developers were packaging it. But was busy with some other things then.10:37
persiaslytherin: Understood.  We all were.10:37
robiladslytherin: ITP: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=44850910:38
ubottuDebian bug 448509 in wnpp "ITP: glassfish -- Open source Java EE 5 Application Server" [Wishlist,Closed]10:38
* persia laments the existence of *4* different repackagings of Apache Derby currently in the archives10:38
slytherinanyway, robilad, you are in charge of server stack. :-)10:38
robiladdone ;)10:38
robiladah, wait ... ;)10:38
* slytherin has to go for a meeting.10:38
Koonrobilad: in my understanding the GFv2 libraries that went to main were not sufficient to run GFv2, that's why Sun packaged a prebuilt binary in multiverse10:40
robiladafaik, yes10:40
Koonbut the landscape may have changed10:40
robiladbut i think this is a new package -10:41
robiladsince it moves a lot of things from contrib to main.10:41
robiladmay want to ping twerner10:41
* robilad wonders what in charge means - koon is actually getting things done, i'm just pointing out hurdles10:46
persiarobilad: You're responsible for identifying things that need doing.  You mentioned maven, and Koon has been running with that.  What's next?11:00
robiladgood question - I'm tying to beat that out of glassfish folks11:00
robiladI'll try my diplomatic approach again - I think the next bit is to identify what kind of deps are used by app servers that aren't packaged yet and aren't part of app servers11:01
robiladfor that I need to know what the dep graph of glassfish & geronimo etc. looks like.11:01
robiladand compare that with what we + debian have11:02
persiarobilad: Also, there's been various talk about tomcat & headless.  If you've time to outline what we ought be doing for that sort of thing, it would be grand.11:03
robiladok, will  do11:03
* persia knows Sun is an easy target, but surely there's more as well11:03
robiladthere is tons more11:03
robiladthe web framework explosion in javaland has been quite ... special.11:04
KoonI've been working on headless -- I think it should have reasonable depends soon.11:04
persiaHeh.  That's about what I thought.  At issue being that I'm not sure anyone has a good overview of what is outstanding to make a first-class Java server.11:04
Koonthere is a libnss-mdns recommend that brings a lot of things in... I've been asking doko why he put it in11:05
Koonotherwise it's looking good, just a few libs to switch to -headless depends11:06
persiaIsn't that the piece for dynamic networking to better connect with 169.254.0.0/16 ?11:06
Koonyes -- I just don't know what it enables in the JRE-headless that warrants a Recommends rather than a Suggests11:07
Koonbecause it pulls avahi, dbus... on a server install11:08
persiaRight.11:08
Koonbut doko added it on purpose at one point, so I want to hear his reasons before I push to remove it :)11:08
persiaMakes sense.11:09
Koonthe final goal is to have tomcat6 installation as a tasksel in intrepid11:09
Koon(server)11:09
persiaWell, one of the goals :)11:09
Koonheh11:10
persiaPersonally, I'd settle for being able to install Java on a server without X and have a reasonable number of libraries.11:10
Koonpersia: try "apt-get install --no-install-recommends default-jre-headless", looks pretty reasonable11:11
Koon9 extra packages, including openjdk-6-jre-lib and java-common11:12
persiaKoon: Sure, but that doesn't happen with apt-get libfoo-java in intrepid :)11:12
persia(it ought though).11:12
persia(and probably will)11:12
Koonpersia: would be good to have some kind of library tracker on the roadmap, to see how much libraries have been fixed to use the new Depends/headless things11:13
Koonthey also need to be migrated to build with default-jdk in parallel11:14
persiaKoon: I think not on the RoadMap, but something like slytherin's MoveToUniverse page.11:14
Koonsure11:14
persiaThen we could have a Roadmap item "enable headless for libaries".11:15
KoonI've been cherrypicking my fixes so far, with the tomcat6 objective in mind, but it's worth trying to get the global picture11:15
persiaNote that the final solution ought allow either headless or headful installation.  We don't want to disable the desktop in the pursuit of the server.11:15
robiladack11:15
persiaSo: 1) someone needs to propose this for the roadmap at the next meeting, 2) someone needs to volunteer to coordinate and keep the page up to date.  Any volunteers?11:16
KoonI won't be there this meeting, vacation time11:16
persiaAnyone else?  Maybe someone who isn't already taking care of a Roadmap item?11:17
Koonrobilad: could that library status tracking be part of the library tracking work you've talked about a few minutes ago ?11:17
persiarobilad: That's a good idea: you can add it to the list of things that need takers, and it gets automatic mention in each meeting until someone takes it.11:18
robiladyeah, i think so -11:18
robiladplease add it to the wiki for the next meeting11:19
persiaOh, I thought it might just feed into your regular item about organising server-side stuff.  We can have a separate item if you think it's worthwhile.11:19
Koonwhat we have -- what we should have -- what we have but with bad depends -- what we have but without default-jdk building support11:20
Koonat least it would give an idea of the work that needs to be done, see if fixing it can be an intrepid target11:21
robiladright - i think keeping them separate is useful for other tasks as well.11:22
robiladas it is a bit of a general breakdown along different goals (default-jdk/headless/server)11:22
robiladso two axes ;)11:22
Koonrobilad: and if there is a semi-automated way of seeing what should need non-headless, that would be great :)11:23
robiladheh ;)11:23
robilad'build it wiuth headless, see if it breaks?' ;)11:24
Koonhmm, you can't build with headless11:24
Koondefault-jdk is a full one :)11:24
Koonso you run it with headless, but you never know if you don't miss a class that would call the wrong package11:25
robiladah, ok - then it really comes down to checking strings in package class fuiles.11:26
KoonI have no clue about that, but that sounds great :)11:27
Koonbbl11:27
robiladthe real problem with headless and servers is that applications deployed in the server may very well want to actually use the full jdk11:27
robiladto do charting, graphical presentations, etc.11:27
Koonsure, nothing prevents them from doing so11:27
robiladah, then I have to look at the difference between headless and non headless11:28
Koonnon-headless installs headless11:28
Koonso you install, say, tomcat6, it pulls the jre-headless in11:29
Koonyou happen to need more, install openjdk-6-jdk11:29
Koonit would still work :)11:29
Koon(really bbl)11:29
persiaHeadless also pulls the support libraries to emit sound and manage video display.11:49
kaalooKoon: Hi I wanted to get back to you after going through the maven support spec13:03
Koonkaaloo: sure13:04
kaalooKoon: Yes I was thinking that an alternative to the design you describe there could be to write a "smart" proxy that could be configured on  a standard maven during a package build process.  It would have the advantage of not requiring the pom.xml files in the libraries because these could be generated (maybe) dynamically using packaging dependecy information.  It would also ensure offline mode automatically.  And it could also do a13:11
Koonkaaloo: interesting approach. I'm just not sure this would be acceptable on buildd's...13:13
persiaAs long as no information not already available on the machine is required, it should be safe.  Some sort of interaction with apt-cache maybe?13:19
persiaThe buildds don't have internet access, but they are permitted to do a fair bit at build time to get the right package.13:20
Koonnote that pom.xml files could also be auto-generated without a proxy implementation13:22
Koonthe proxy implemnattion avoids patching maven13:22
persiaautogenerated at build time?  That saves patching N library sources, which would be a win.13:22
kaaloopersia: So a build could launch a smart proxy for maven ?13:23
kaalooThe only thing is maven would still need patching to link to /usr/share/java jars instead of copying them, but its an optimisation13:23
Koonpersia: well, this is an issue that's unrelated to proxy/patched-maven. In both cases you could imagine autogenerating the required information from (carefully double-checked) control files13:24
persiakaaloo: I'm not sufficiently familiar with maven to answer that, but a buildd is permitted to run any code, but note that 1) it runs in a chroot, and 2) the buildds have no internet access.13:24
persiaKoon: Double-checking control files is easy, but we don't have the control files for the libraries at build time: we only have the current control file and the apt-cache.13:25
kaaloopersia: no internet acces will be needed thats for sure, everything goes through the smart proxy, I tried it out using an existing localhost port and doing mvn clean on a project with an empty repository13:25
Koonkaaloo: please draft the alternate implementation on the spec, adding your name to the Contributors on top13:25
* Koon is also missing the necessary Maven foo to evaluate how difficult autogenerating poms would be13:26
persiakaaloo: Also, try doing that in a PPA, and see if it works.  The buildd configuration ought be the same.  It sounds like it could solve us a lot of labour.13:28
KoonIt also looks cleaner on paper. We just emulate what maven wants to find.13:31
kaalooKoon, persia: ok will do !  I am leaving on vacation tomorrow but will work on it during that time.  I will need some pointers for autogenerating the poms though for the relevant files / commands into the apt cache13:31
persiakaaloo: man apt-cache will show you lots of the easy interfaces.  dctrl-tools has some of the more complex query methods.13:33
persiaBe prepared to manipulate strings.13:33
KoonThen it's more a question to the Maven project: do they intend to include the JPP patchset in main sources or not13:33
Koonif they don't, we should definitely consider a proxy wrapper13:34
kaaloopersia : thanks that should get me started !  Yes the thing is they patch bootstrap code which is unfortunate because the plugin architecture doesn't reach into that.  An alternative to patching the code would be to provide an alternate bootstrap component or set of components by subclassing the required classes.  There is a components.xml file that determines the instanciation of these which could then be patched to point to a debi13:35
persiakaaloo: Err.  Sure.  Let us know how it goes :)13:36
kaaloopersia: well its based on plexus which is just a component container, I think that would be the right layer to do that integrated into the maven project.  I can ask some friends who know more about it than me and get back to you13:38
persiakaaloo: Getting back to me isn't so important.  Getting the maven wiki page updated, putting together a PoC, and bringing it for discussion at one of our weekly meetings (14:00 Thursdays) is important.13:40
kaaloopersia: yes I have not been able to attend, I'll try Thursday but not sure I will have a POC by then.  I'm updating the wiki page now.13:41
persiakaaloo: We don't have so many deadlines in this team, mostly because we're still getting people together adn getting started.  We'll probably organise a couple sessions at the next UDS in December, and have a schedule for the next release.13:42
slytherinLucidFox_: ping14:19
LucidFox_hello slytherin14:29
slytherinLucidFox_: I logged a bug against fop. I intended you to look at it but someone has already jumped in. Let's see how it goes.14:30
slytherinLucidFox_: And expect a docbook -> PDF post on planet by tomorrow. :-)14:30
LucidFox_heh14:31
slytherinusing fop14:31
LucidFox_heh... "teh package"14:33
slytherin:-(14:33
* slytherin heads home16:49

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!