Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

[01:13:33 EST(-0500)] * esm (n=esm@207-53-193-105.dynamic-dsl.qis.net) has joined ##uportal
[09:33:31 EST(-0500)] * esm (n=esm@asdf.dkc.jhu.edu) has joined ##uportal
[09:55:27 EST(-0500)] * clown (n=clown@guiseppi.atrc.utoronto.ca) has joined ##uportal
[10:00:25 EST(-0500)] * EricDalquist (n=dalquist@bohemia.doit.wisc.edu) has joined ##uportal
[10:58:31 EST(-0500)] * athena7 (n=athena7@lumina.its.yale.edu) has joined ##uportal
[11:29:11 EST(-0500)] * awills (n=awills@uni1.unicon.net) has joined ##uportal
[11:39:29 EST(-0500)] <EricDalquist> hey there athena7, up3 m5 working for you?
[11:39:40 EST(-0500)] <athena7> yes!
[11:39:42 EST(-0500)] <athena7> looks great
[11:39:45 EST(-0500)] <EricDalquist> cool
[11:39:47 EST(-0500)] <athena7> got portlets working in it
[11:39:56 EST(-0500)] <athena7> i've also got the feedback portlet almost finished
[11:39:58 EST(-0500)] <EricDalquist> if you grab the trunk I just removed the random tag from URLs last night
[11:39:59 EST(-0500)] <EricDalquist> sweet
[11:40:08 EST(-0500)] <EricDalquist> yeah the portlet support is much much more solid
[11:40:18 EST(-0500)] <athena7> yeah everything seems good so far
[11:40:19 EST(-0500)] <EricDalquist> no need to restart the portal to pick up new portlets any more (smile)
[11:40:27 EST(-0500)] <athena7> oh nice!
[11:40:35 EST(-0500)] <athena7> by the way, i could really use some maven development advice
[11:40:48 EST(-0500)] <athena7> i don't know if there's some documentation already available you might recommend
[11:40:52 EST(-0500)] <EricDalquist> feel free to ask questions in here
[11:40:59 EST(-0500)] <athena7> but i'm not really clear on what the best way to actually develop is
[11:41:08 EST(-0500)] <EricDalquist> did you run through the bit of build/deploy docs on the wiki for up3?
[11:41:12 EST(-0500)] <athena7> so if i'm making changes to the bookmarks portlet, for example
[11:41:20 EST(-0500)] <EricDalquist> ah
[11:41:25 EST(-0500)] <athena7> what's the most efficient way to do development?
[11:41:37 EST(-0500)] <athena7> do i have to run a maven build and a portlet deploy every time i make a change?
[11:42:13 EST(-0500)] <EricDalquist> so you're working on the bookmarks portlet in a separate project right?
[11:42:16 EST(-0500)] <athena7> yes
[11:42:48 EST(-0500)] <EricDalquist> once you package it into a .war doing a 'ant deployPortletApp' from the uPortal directory will deploy it
[11:43:19 EST(-0500)] <EricDalquist> to package the bookmarks portlet using maven it is 'mvn package'
[11:43:41 EST(-0500)] <esm> question: if there are threads waiting on a lock, somehwere in the thread dump you woudl expect to see which thread is holding the lock, right?
[11:43:45 EST(-0500)] <athena7> right, all that works
[11:43:50 EST(-0500)] <EricDalquist> esm: yes
[11:44:01 EST(-0500)] <esm> EricDalquist: ok then I have a treat for you
[11:44:10 EST(-0500)] <esm> or i'm just being an idiot
[11:44:15 EST(-0500)] <EricDalquist> (smile)
[11:44:26 EST(-0500)] <athena7> i was just wondering if there's a way to do development that doesn't involve packaging, running the ant deployPortletApp task, and restarting - i miss being able to just make changes and have eclipse magically pick them up
[11:44:45 EST(-0500)] <esm> http://uportal.pastebin.com/m50fb2342
[11:44:54 EST(-0500)] <esm> that lock happens to be held by Finalizer.
[11:45:30 EST(-0500)] <EricDalquist> athena7: hrm ... yeah this is a problem with maven ... there isn't an easy way to skip the packaging part of the process
[11:45:31 EST(-0500)] <esm> i had my JVM hang. So fun. Objects coudln't be added to the finalizer queue.
[11:45:46 EST(-0500)] <EricDalquist> esm: sounds like fun
[11:46:05 EST(-0500)] <esm> so why can't i find who holds 0xdfa12d90
[11:46:08 EST(-0500)] <EricDalquist> so previously with ant we would compile & deploy only the changed files directly to tomcat
[11:46:15 EST(-0500)] <athena7> ok, i just wondered if there was something slick that other people were using that i was missing
[11:46:36 EST(-0500)] <EricDalquist> maven will be smart and just compile what is needed when running 'package'
[11:46:46 EST(-0500)] <athena7> and in portlet applications, i didn't have to do any build at all, as long as they were structured right
[11:46:50 EST(-0500)] <esm> http://dspace.pastebin.com/d1616263e
[11:46:53 EST(-0500)] <esm> bbiab lunch
[11:46:59 EST(-0500)] <athena7> that pastebin tool is pretty neat
[11:47:03 EST(-0500)] <EricDalquist> but that packaging step adds extra time since you then need to deploy the webapp to the portal
[11:48:26 EST(-0500)] <athena7> so, once i mavenize the feedback portlet, i think it should be more or less ready for initial sharing
[11:48:43 EST(-0500)] <EricDalquist> athena7: yeah, that is still possible with uPortal 3 just not a portlet that is using maven
[11:48:48 EST(-0500)] <EricDalquist> cool
[11:48:51 EST(-0500)] <athena7> it's in yale's svn right now, but i'm assuming it would make sense to move it to something more shared (and public)
[11:48:56 EST(-0500)] <EricDalquist> yup
[11:49:08 EST(-0500)] <EricDalquist> we have both /portlets/ and /contrib/ in jasig svn