uPortal IRC Logs-2008-02-06
[08:52:45 EST(-0500)] * jayshao (n=jayshao@jayshao.oirt.rutgers.edu) has joined ##uportal
[09:01:47 EST(-0500)] * athena7 (n=athena7@lumina.its.yale.edu) has joined ##uportal
[09:22:42 EST(-0500)] * anastasiac (n=chatzill@142.150.154.149) has joined ##uportal
[09:29:23 EST(-0500)] * clown (n=clown@user383.megabit.utoronto.ca) has joined ##uportal
[09:58:47 EST(-0500)] * EricDalquist (n=EricDalq@adsl-76-204-102-88.dsl.mdsnwi.sbcglobal.net) has joined ##uportal
[10:44:04 EST(-0500)] <EricDalquist> confluence should be back
[11:13:15 EST(-0500)] * clown (n=clown@user383.megabit.utoronto.ca) has left ##uportal
[11:26:55 EST(-0500)] <athena7> hurray!
[11:27:01 EST(-0500)] <athena7> ok, so i have a maven question
[11:27:08 EST(-0500)] <EricDalquist> I can't wait until we get off this old machine ...
[11:27:10 EST(-0500)] <EricDalquist> ok
[11:27:19 EST(-0500)] <athena7> i have a bunch of dependencies being included in this project that shouldn't be there
[11:27:23 EST(-0500)] <EricDalquist> ah
[11:27:29 EST(-0500)] <EricDalquist> mvn org.apache.maven.plugins:maven-dependency-plugin:2.0-alpha-5-SNAPSHOT:tree | less
[11:27:33 EST(-0500)] <athena7> i assume they're defined as dependencies of some of the things i do mean to be including
[11:27:41 EST(-0500)] <athena7> will that show me where they're coming from?
[11:27:42 EST(-0500)] <EricDalquist> that will show you the dependency tree
[11:27:46 EST(-0500)] <athena7> awesome
[11:27:57 EST(-0500)] <EricDalquist> and then you can add exclude tags to the dependencies that are pulling things in
[11:28:04 EST(-0500)] <athena7> fantastic, thanks!
[11:28:27 EST(-0500)] <EricDalquist> unfortunately the :tree goal of the dependency plugin isn't available in the default version so you need that big nasty string to tell maven to use the snapshot version
[11:28:44 EST(-0500)] <athena7> what repository do i need to add to get maven to find it?
[11:28:48 EST(-0500)] <EricDalquist> none
[11:28:53 EST(-0500)] * clown (n=clown@user383.megabit.utoronto.ca) has joined ##uportal
[11:28:56 EST(-0500)] <EricDalquist> it is in the central snapshot repository
[11:29:03 EST(-0500)] <athena7> hm, it says it was unable to download the artifact
[11:29:05 EST(-0500)] <EricDalquist> hrm
[11:30:32 EST(-0500)] <EricDalquist> try adding http://uportal.pastebin.com/m51198ae0
[11:30:54 EST(-0500)] * Topic is 'Use http://uportal.pastebin.com for multi-line pasting' set by EricDalquist on 2008-02-06 11:30:54 EST(-0500)
[11:30:55 EST(-0500)] <athena7> that one's in there already
[11:31:00 EST(-0500)] <EricDalquist> double hrm
[11:31:46 EST(-0500)] <athena7> while we're talking about repositories, i also need to include a version of ical4j that's still in beta, and isn't in the central repository yet
[11:31:51 EST(-0500)] <athena7> what's the best way to handle that?
[11:32:05 EST(-0500)] <EricDalquist> uhg ... well we do have a ja-sig.org maven repository
[11:32:10 EST(-0500)] <EricDalquist> do you have ssh access to ja-sig.org?
[11:32:22 EST(-0500)] <athena7> yep
[11:33:30 EST(-0500)] <EricDalquist> http://uportal.pastebin.com/d7092d3cd
[11:33:58 EST(-0500)] <EricDalquist> that is an example settings.xml to tell maven how to connect to the jasig repo
[11:34:11 EST(-0500)] <athena7> if i add that, will that allow me to send stuff to the repository?
[11:34:19 EST(-0500)] <EricDalquist> yeah
[11:34:23 EST(-0500)] <EricDalquist> using the mvn deploy command
[11:34:37 EST(-0500)] <EricDalquist> http://maven.apache.org/plugins/maven-deploy-plugin/howto.html
[11:34:53 EST(-0500)] <athena7> great, thanks
[11:35:13 EST(-0500)] <EricDalquist> so the syntax for deploying an artifact you need as a dependency would be:
[11:36:41 EST(-0500)] <EricDalquist> mvn deploy:deploy-file -Durl=scp://developer.ja-sig.org/jasig/htdocs/developer/maven2/ -DrepositoryId=developer.jaisg ....
[11:36:59 EST(-0500)] <EricDalquist> the .... is the same syntax as the install:install-file command
[11:37:07 EST(-0500)] <athena7> ok
[11:37:14 EST(-0500)] <athena7> i've never really used any of these maven2 features
[11:37:17 EST(-0500)] <EricDalquist> 'oh
[11:37:27 EST(-0500)] <athena7> is there anything else i should have in my settings file, now that I actually have one?
[11:37:38 EST(-0500)] <EricDalquist> and there is a JASIG wide parent pom you can declare for the portlet
[11:38:04 EST(-0500)] <EricDalquist> if you take a look at: https://www.ja-sig.org/svn/up2/trunk/pom.xml
[11:38:28 EST(-0500)] <EricDalquist> you need to add the <parent> element and the jasig-repository repository
[11:38:43 EST(-0500)] <EricDalquist> once you have that the jasig parent defines things like the distribution urls and such
[11:39:07 EST(-0500)] <EricDalquist> so you would be able to do 'mvn deploy' in your portlet and maven would know where to upload the .WAR to automaticly
[11:39:33 EST(-0500)] <athena7> i think i might have that already, since i copy/pasted from the bookmarks portle
[11:39:35 EST(-0500)] <athena7> t
[11:39:44 EST(-0500)] <EricDalquist> ah yup
[11:39:48 EST(-0500)] <EricDalquist>
[11:39:59 EST(-0500)] <athena7> it was a very useful example
[11:40:13 EST(-0500)] <EricDalquist> I'm still not sure why the dependency command isn't working for you
[11:40:20 EST(-0500)] <EricDalquist> another option that takes a bit longer is to run mvn site
[11:40:30 EST(-0500)] <EricDalquist> the generated site has a dependency tree on it
[11:40:36 EST(-0500)] <athena7> oh, i figured it out
[11:40:48 EST(-0500)] <athena7> it worked as just version 2.0
[11:41:04 EST(-0500)] <athena7> for some reason the alpha 5 version isn't in the central repository
[11:41:10 EST(-0500)] <EricDalquist> weird
[11:41:21 EST(-0500)] <athena7> yeah
[11:41:23 EST(-0500)] <EricDalquist> I wonder if they promoted it since I last had to download it
[11:41:32 EST(-0500)] <athena7> possibly
[11:44:24 EST(-0500)] <athena7> wow, a huge number of these dependencies are from the springmodules cache project
[11:44:32 EST(-0500)] <EricDalquist> oh yeah
[11:44:47 EST(-0500)] <EricDalquist> I have an excludes you can use for that
[11:45:25 EST(-0500)] <athena7> that'd be great if you've already written them up
[11:45:28 EST(-0500)] <EricDalquist> https://www.ja-sig.org/svn/up2/trunk/uportal-impl/pom.xml
[11:45:31 EST(-0500)] <athena7> i don't even know what most of this stuff is
[11:45:37 EST(-0500)] <EricDalquist> up3 is using spring-modules for caching too
[11:45:47 EST(-0500)] <EricDalquist> so I built up the list a while ago
[11:45:50 EST(-0500)] <EricDalquist> it is really annoying
[11:46:06 EST(-0500)] <EricDalquist> there is an <optional> tag you can give dependencies in your pom
[11:46:19 EST(-0500)] <EricDalquist> which is what they should be doing with 95% of theirs
[11:46:29 EST(-0500)] <EricDalquist> since you obviously don't need most of them to use the API
[11:46:45 EST(-0500)] <athena7> yeah
[11:46:58 EST(-0500)] <athena7> of course, i've been burned countless times trying to build spring stuff when not using maven
[11:47:08 EST(-0500)] <EricDalquist> yeah
[11:47:08 EST(-0500)] <athena7> because of how underdocumented the dependencies are
[11:47:13 EST(-0500)] <athena7> so it's sort of a pain either way i guess
[11:47:14 EST(-0500)] <EricDalquist> and hibernate
[11:47:27 EST(-0500)] <EricDalquist> that one is no fun at all without maven
[11:47:32 EST(-0500)] <athena7> i do like some of the springmodules stuff though
[11:47:39 EST(-0500)] <athena7> the validation stuff is pretty cool too
[11:48:00 EST(-0500)] <EricDalquist> yup
[11:48:10 EST(-0500)] <EricDalquist> there are some nice tools in there
[11:48:24 EST(-0500)] <EricDalquist> I just finished using the caching support in there to get a unified caching layer for 3.0
[11:48:35 EST(-0500)] <athena7> which up3 pom file should i look in for the excludes?
[11:48:44 EST(-0500)] <athena7> yeah i used the caching for a few of our new portlets
[11:48:45 EST(-0500)] <EricDalquist> there is now a single EhCache manager instance that manages the caches for hibernate and the framework
[11:48:56 EST(-0500)] <EricDalquist> it is in the pom I linked
[11:49:01 EST(-0500)] <EricDalquist> uportal-impl/pom.xml
[11:49:08 EST(-0500)] <athena7> oh thanks, missed that
[11:49:10 EST(-0500)] <EricDalquist>
[11:49:17 EST(-0500)] <EricDalquist> about 1/2 way down I think
[11:49:26 EST(-0500)] <EricDalquist> it is hard to miss the 2 pages of excludes
[11:49:56 EST(-0500)] <athena7> um, yeah, wow
[11:50:26 EST(-0500)] <EricDalquist> kinda crazy huh
[11:50:30 EST(-0500)] <athena7> thanks!
[11:50:31 EST(-0500)] <athena7> yeah
[11:50:32 EST(-0500)] <athena7> very
[11:50:41 EST(-0500)] <EricDalquist> no problem
[11:50:49 EST(-0500)] <EricDalquist> I wouldn't wish re-building that list on someone else
[11:51:09 EST(-0500)] <EricDalquist> I think I even did it by downloading their pom and using a macro to convert the dependency delcarations to exclusion declarations
[11:52:17 EST(-0500)] <athena7> wow, lol
[11:52:39 EST(-0500)] <athena7> i'm trying to start putting the calendar stuff together
[11:52:44 EST(-0500)] <athena7> it sounds like there's some interest on the list
[11:52:46 EST(-0500)] <EricDalquist> cool
[11:52:46 EST(-0500)] <EricDalquist> yeah
[11:52:50 EST(-0500)] <EricDalquist> we're very interested in it
[11:52:55 EST(-0500)] <EricDalquist> and I imagine others are as well
[11:53:03 EST(-0500)] <athena7> i think anthony colbourne is willing to help out with it too
[11:53:16 EST(-0500)] <athena7> turns out there was an exceptional amount of overlap between our feature sets
[11:53:30 EST(-0500)] <EricDalquist> cool
[11:54:09 EST(-0500)] <athena7> yeah
[11:54:23 EST(-0500)] <athena7> i'm actually wondering if it might make sense to get it into subversion sooner rather than later
[11:54:27 EST(-0500)] <athena7> but i'd like to mavenize it first
[11:54:54 EST(-0500)] <EricDalquist> yeah
[11:55:09 EST(-0500)] <EricDalquist> as long as that is something you're comfortable doing that sounds fine
[11:57:10 EST(-0500)] <athena7> yep
[11:57:27 EST(-0500)] <athena7> it's good to get more familiar with some of this maven stuff anyway
[11:57:44 EST(-0500)] <EricDalquist>
[12:11:27 EST(-0500)] <EricDalquist> well I'm heading out on vacation ... I'll be checking email periodically
[12:11:33 EST(-0500)] <EricDalquist> back on Monday!
[12:11:37 EST(-0500)] <athena7> oh, have a good vacation!
[12:11:49 EST(-0500)] <athena7> enjoy
[12:11:52 EST(-0500)] <EricDalquist> thanks
[12:11:53 EST(-0500)] <EricDalquist> bye
[12:16:39 EST(-0500)] * colinclark (n=colin@142.150.154.101) has joined ##uportal
[12:19:44 EST(-0500)] * dstn (n=dstn@134.250.4.77) has joined ##uportal
[12:20:14 EST(-0500)] <dstn> athena7 are you here?
[12:20:23 EST(-0500)] <athena7> hello, yes
[12:22:01 EST(-0500)] <dstn> hey I was just reading your post on the dev list about the new feedbackportlet, nice job btw...and I happen to be http://www.ja-sig.org/wiki/display/PLT/ and there is a feedbackportlet page on there that relates to the old one. I just wanted to mention it might need to be updated since you replaced the trunk with yours http://www.ja-sig.org/wiki/display/PLT/FeedbackPortlet
[12:22:39 EST(-0500)] <dstn> happen to be browsing*
[12:22:56 EST(-0500)] <athena7> yep, it does
[12:23:04 EST(-0500)] <athena7> there's an Unconference Feedback Portlet page
[12:23:28 EST(-0500)] <dstn> I've never used the wiki, can anyone sign up?
[12:23:34 EST(-0500)] <athena7> but since we decided to put the new version into the existing svn project i figured i'd eventually replace the content of the old page with information pertaining to the new one
[12:23:37 EST(-0500)] <athena7> yes, i believe so
[12:23:55 EST(-0500)] <dstn> ah ok, I won't bother changin it then
[12:24:33 EST(-0500)] <athena7> i figured i'd wait until everyone on the list decides what the format of the pages should be, since there seems to be a discussion about it
[12:29:49 EST(-0500)] <dstn> ah good idea
[12:38:32 EST(-0500)] <athena7> argh, i can't get this file deployed to the jasig maven repo
[12:38:51 EST(-0500)] <athena7> it doesn't seem to be picking up the right username
[12:41:16 EST(-0500)] <athena7> ooh ooh! type
[12:41:18 EST(-0500)] <athena7> er, typo
[12:41:24 EST(-0500)] <athena7> ironic that i misspelled typo . . .
[12:42:46 EST(-0500)] <dstn> ahahaha
[12:42:54 EST(-0500)] <athena7> wasn't my fault!
[12:42:58 EST(-0500)] <athena7> i copy/pasted from eric
[12:43:03 EST(-0500)] <dstn> lol
[12:43:14 EST(-0500)] <athena7> the type-typo was though
[13:26:48 EST(-0500)] * colinclark (n=colin@142.150.154.101) has joined ##uportal
[13:40:02 EST(-0500)] * michelled (n=team@142.150.154.199) has joined ##uportal
[13:41:00 EST(-0500)] <michelled> clown: are you there?
[16:30:08 EST(-0500)] * michelled (n=michelle@CPE001310472ade-CM0011aefd3ca8.cpe.net.cable.rogers.com) has joined ##uportal
[16:58:33 EST(-0500)] * anastasiac (n=chatzill@142.150.154.149) has left ##uportal
[17:41:06 EST(-0500)] * athena7 (n=athena7@c-24-2-189-230.hsd1.ct.comcast.net) has joined ##uportal
[17:45:05 EST(-0500)] * clown (n=clown@user383.megabit.utoronto.ca) has left ##uportal
[17:57:58 EST(-0500)] * michelled (n=michelle@CPE001310472ade-CM0011aefd3ca8.cpe.net.cable.rogers.com) has left ##uportal
[21:24:39 EST(-0500)] * jayshao (n=jayshao@pool-68-239-246-163.nwrk.east.verizon.net) has joined ##uportal