Versions Compared

Key

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

[23:58:23 EDT(-0400)] * jayshao (n=jayshao@72-254-55-243.client.stsn.net) has joined ##uportal
[07:52:10 EDT(-0400)] * colinclark (n=atrcwrk2@bas1-toronto09-1279534353.dsl.bell.ca) has joined ##uportal
[07:52:19 EDT(-0400)] * colinclark (n=atrcwrk2@bas1-toronto09-1279534353.dsl.bell.ca) has left ##uportal
[08:41:40 EDT(-0400)] * jayshao (n=jayshao@72-254-3-226.client.stsn.net) has joined ##uportal
[08:58:54 EDT(-0400)] * EricDalquist (n=dalquist@bohemia.doit.wisc.edu) has joined ##uportal
[09:18:04 EDT(-0400)] * esm (n=esm@asdf.dkc.jhu.edu) has joined ##uportal
[09:41:12 EDT(-0400)] <EricDalquist> DTDResolver makes my head hurt
[09:47:25 EDT(-0400)] <esm> (smile)
[09:47:41 EDT(-0400)] <EricDalquist> when running from the command line it resolves DTDs from the classpath
[09:47:49 EDT(-0400)] <EricDalquist> but at runtime it uses ServletContext.getResource
[09:47:55 EDT(-0400)] <EricDalquist> which doesn't use the classpath
[09:49:54 EDT(-0400)] <esm> it should be consistent
[09:50:28 EDT(-0400)] <EricDalquist> well the way files were packaged were so weird
[09:50:34 EDT(-0400)] <EricDalquist> was*
[09:50:55 EDT(-0400)] <EricDalquist> after deploying there would be multiple copies of files in different places and all sorts of fun stuff
[09:52:21 EDT(-0400)] <EricDalquist> looks like changing it to just use the classpath fixed that problem
[09:52:32 EDT(-0400)] <EricDalquist> yay uportal comes up using the maven version
[09:52:41 EDT(-0400)] <EricDalquist> now to start squashing some runtime bugs
[09:52:49 EDT(-0400)] <EricDalquist> maybe I can be 'done' by the end of the day today!
[10:01:06 EDT(-0400)] <esm> awesome!
[10:02:24 EDT(-0400)] <EricDalquist> I need to find a windows box to test the ant script on
[10:16:21 EDT(-0400)] <EricDalquist> I have a feeling there are going to be a lot of little changes in the framework and channels to load resources as streams instead of files
[10:22:09 EDT(-0400)] <esm> yep probably....
[10:41:25 EDT(-0400)] <esm> looks like we got a townhouse
[10:41:28 EDT(-0400)] <esm> people accepted our offer
[10:41:29 EDT(-0400)] <esm> yay
[10:41:34 EDT(-0400)] <EricDalquist> awesome
[10:41:36 EDT(-0400)] <EricDalquist> congrats
[10:41:42 EDT(-0400)] <esm> thanks (smile)
[10:41:47 EDT(-0400)] <esm> now my wife is freaking out (smile)
[10:41:51 EDT(-0400)] <EricDalquist> lol
[10:41:56 EDT(-0400)] <EricDalquist> good or bad freaking out
[10:41:59 EDT(-0400)] <esm> settlement is on the 28th so
[10:42:13 EDT(-0400)] <esm> good, i mean just b/c there is only 2 weeks to do stuff
[10:42:14 EDT(-0400)] * agherna (n=argherna@cites-agherna01.ci.uiuc.edu) has joined ##uportal
[10:42:20 EDT(-0400)] <EricDalquist> ah
[10:42:24 EDT(-0400)] <EricDalquist> morning agherna
[10:42:34 EDT(-0400)] <agherna> morning EricDalquist and esm
[10:42:47 EDT(-0400)] <esm> morning!
[10:42:53 EDT(-0400)] <esm> for at least one more hour
[10:42:57 EDT(-0400)] <esm> on EDT
[10:43:08 EDT(-0400)] <agherna> i have 2 more hours
[10:43:17 EDT(-0400)] <agherna> but it will be the longest 2 hours of the day ...
[10:44:04 EDT(-0400)] <esm> he he
[10:44:09 EDT(-0400)] <esm> take an early lunch!
[10:44:19 EDT(-0400)] <agherna> i'm way ahead of you there...
[10:44:27 EDT(-0400)] <EricDalquist> at least it's Friday (smile)
[10:44:32 EDT(-0400)] <esm> lol
[10:44:45 EDT(-0400)] <EricDalquist> though ... as esm will soon find out ... that just means back to the big house todo list (smile)
[10:45:03 EDT(-0400)] <agherna> (smile)
[10:45:29 EDT(-0400)] <esm> EricDalquist: yeah... i see my free time collapsing into a black-hole-like singularity
[10:45:47 EDT(-0400)] <EricDalquist> just hope the previous owners were better at wiring that our previous owners were
[10:45:59 EDT(-0400)] <esm> lender/mortgage, home inspection, and movers all in two weeks. no problem
[10:46:00 EDT(-0400)] <esm> heheh
[10:46:06 EDT(-0400)] <EricDalquist> I've spent 3 or 4 full days just re-writing switches & fixtures
[10:46:08 EDT(-0400)] <EricDalquist> lol
[10:46:10 EDT(-0400)] <EricDalquist> no problem
[10:46:37 EDT(-0400)] <esm> there is some weird random cabling for digital cable running through the place
[10:46:41 EDT(-0400)] <esm> but whatever
[10:46:44 EDT(-0400)] <esm> otherwise it seems ok
[10:46:49 EDT(-0400)] <agherna> i hope i never have to do that at my house
[10:47:11 EDT(-0400)] <agherna> the electrician was pretty sloppy. there are wires going everywhere and it's really disorganized
[10:47:22 EDT(-0400)] <EricDalquist> uhg
[10:47:26 EDT(-0400)] <EricDalquist> yeah this isn't that bad
[10:47:37 EDT(-0400)] <EricDalquist> just the guy had no idea what a 3-way switch was
[10:47:46 EDT(-0400)] <EricDalquist> so they were all wired wrong after he changed them all out
[10:47:49 EDT(-0400)] <esm> (smile)
[10:48:01 EDT(-0400)] <agherna> that's pretty bad.
[10:48:50 EDT(-0400)] <EricDalquist> and he tried putting in these RF based motion sensor lights in the back
[10:48:54 EDT(-0400)] <EricDalquist> and they just didn't work
[10:49:42 EDT(-0400)] <EricDalquist> though now I'm starting to look into how hard it would be to re-pull some of the wiring to put in a new fixture or two
[10:49:47 EDT(-0400)] <EricDalquist> that is a bit daunting
[10:50:03 EDT(-0400)] <agherna> fish tape is your friend
[10:50:11 EDT(-0400)] <EricDalquist> (smile)
[10:50:39 EDT(-0400)] <agherna> i had a mis-adventure some years ago with that at my old house. I ended up slipping and almost falling through the ceiling. good thing it was in the garage
[10:51:12 EDT(-0400)] <EricDalquist> lol, yeah it is a bit nerve-racking being in the attic and trying not to slip off the rafters
[10:51:29 EDT(-0400)] <agherna> and worse still, i never finished the job. afaik there's still a hole cut and a wire (not live) dangling there in that garage
[10:51:47 EDT(-0400)] <EricDalquist> nice
[11:12:38 EDT(-0400)] <EricDalquist> woohoo! I have a portlet rendering
[11:13:44 EDT(-0400)] * jayshao (n=jayshao@206.135.17.22) has joined ##uportal
[11:19:20 EDT(-0400)] <EricDalquist> anyone know the best way to un-delete a file with svn? (the delete was commited a while ago)
[11:20:53 EDT(-0400)] <esm> I think you just have to grab an old copy and svn add it back
[11:21:06 EDT(-0400)] <esm> i don't htink you can restore a file and keep any kind of history
[11:21:14 EDT(-0400)] <esm> but i may be wrong.
[11:21:47 EDT(-0400)] <esm> svn cat -r <deletedrev-1> /path/to/file > file
[11:22:05 EDT(-0400)] <EricDalquist> svn cp may be able to do it
[11:22:24 EDT(-0400)] <esm> oh yeah, maybe
[11:24:29 EDT(-0400)] <EricDalquist> svn cp -r 42310 https://www.ja-sig.org/svn/up2/branches/working-maven2/lib lib
[11:24:34 EDT(-0400)] <EricDalquist> that worked
[11:24:48 EDT(-0400)] <EricDalquist> grabbed rev 42310 of the directory into my working copy
[11:24:56 EDT(-0400)] <EricDalquist> have I mentioned how much I like svn?
[11:26:39 EDT(-0400)] <EricDalquist> hrm
[11:26:41 EDT(-0400)] <EricDalquist> maybe not
[11:26:48 EDT(-0400)] <EricDalquist> things get weird when it comes to commit
[11:27:28 EDT(-0400)] <esm> right. it complains you are out of date and you need to run svn up before committing?
[11:27:50 EDT(-0400)] <EricDalquist> well some commands say that lib isn't in the repository
[11:27:53 EDT(-0400)] <EricDalquist> but others say it already is
[11:29:43 EDT(-0400)] <EricDalquist> so I re-did it and just pulled out lib/portlets into the bootstrap directory (my end goal in all this)
[11:30:04 EDT(-0400)] <EricDalquist> once I commited bootstrap/portlets (marked as A in svn status) everything is good
[11:30:18 EDT(-0400)] <EricDalquist> history included from the rev I copied from
[11:30:27 EDT(-0400)] <esm> sweet!
[11:56:40 EDT(-0400)] * agherna (n=argherna@cites-agherna01.ci.uiuc.edu) has joined ##uportal
[12:10:00 EDT(-0400)] * pberry (n=pberry@132.241.240.86) has joined ##uportal
[12:12:35 EDT(-0400)] <pberry> IDM?
[12:12:46 EDT(-0400)] <pberry> it will all end in tears
[12:14:22 EDT(-0400)] * colinclark (n=atrcwrk2@142.150.154.101) has joined ##uportal
[12:16:03 EDT(-0400)] * andrew_petro_ubu (n=apetro@uni1.unicon.net) has joined ##uportal
[13:15:58 EDT(-0400)] <EricDalquist> woohoo!
[13:16:07 EDT(-0400)] <EricDalquist> the maven2 branch inits and runs :-D
[13:16:26 EDT(-0400)] <EricDalquist> including all the portlets and channels
[13:18:22 EDT(-0400)] <colinclark> Awesome!
[13:20:33 EDT(-0400)] <EricDalquist> not all of the ant tasks from the trunk have been converted yet but those shouldn't be too difficult as we move forward
[13:20:52 EDT(-0400)] <EricDalquist> time to go start documenting the sub-tasks for consolidating the spring configurations
[13:21:56 EDT(-0400)] <EricDalquist> anyone in here run windows and want to test the build out for me?
[13:22:30 EDT(-0400)] <colinclark> I run Windows. I'm stuck in conference calls for the next couple hours, but could take a look this evening if someone doesn't get to it before me.
[13:22:41 EDT(-0400)] <EricDalquist> thanks
[13:23:25 EDT(-0400)] <EricDalquist> all I really need is someone on windows to check it out and run 'ant initportal' (well you need to be running a HSQL database first and update build.properties correctly) but that's it
[13:23:47 EDT(-0400)] <colinclark> I'm assuming it's the working-maven2 branch, yes?
[13:24:21 EDT(-0400)] <EricDalquist> yes
[13:24:37 EDT(-0400)] <EricDalquist> once I get a few other people to try it out I'll be merging it back into the trunk
[13:24:41 EDT(-0400)] <EricDalquist> then we'll be stuck with it (tongue)
[13:24:56 EDT(-0400)] <EricDalquist> I also need to figure out an appropriate spot in the wiki to start documenting this
[13:25:00 EDT(-0400)] <EricDalquist> any suggestions from anyone on that?
[13:26:14 EDT(-0400)] <pberry> http://www.ja-sig.org/wiki/display/UPC/uPortal+Administrators+and+Deployers
[13:27:17 EDT(-0400)] <EricDalquist> what should I call the link to this content? "Getting started with a uPortal 3 Snapshot"?
[13:27:53 EDT(-0400)] <colinclark> Why not call it "How to build uPortal with Maven 2?"
[13:28:06 EDT(-0400)] <pberry> oh, I thought this was a 2.6.x branch mod
[13:28:14 EDT(-0400)] <EricDalquist> no ... this is being done on the trunk
[13:28:20 EDT(-0400)] <EricDalquist> or a branch off the trunk
[13:28:24 EDT(-0400)] <EricDalquist> and it will become the trunk
[13:28:28 EDT(-0400)] <EricDalquist> which will become uportal 3
[13:28:41 EDT(-0400)] <EricDalquist> this is the same problem we ran into with up3
[13:28:47 EDT(-0400)] <EricDalquist> up3-sandbox*
[13:28:54 EDT(-0400)] <EricDalquist> we created a new space for that
[13:29:02 EDT(-0400)] <EricDalquist> I'm not sure what the best option here is
[13:29:10 EDT(-0400)] <pberry> There should be an Admin and Deployers page in the UP3 space
[13:29:13 EDT(-0400)] <EricDalquist> I should probably email the dev list
[13:29:23 EDT(-0400)] <EricDalquist> yeah, I'm think I need to re-org the up3 space
[13:29:37 EDT(-0400)] <EricDalquist> and move all the docs that are there that refer to the up3-sandbox code somwhere else
[13:30:10 EDT(-0400)] <colinclark> That would help mitigate the confusion between "new uP3" and the old conception of uP3.
[13:30:53 EDT(-0400)] <EricDalquist> yeah
[13:31:20 EDT(-0400)] <EricDalquist> sounds like its time to write an email and spend a few hours doing wiki re-org
[13:31:56 EDT(-0400)] <colinclark> Wikis always require gardening. It's tough to find the time, but sounds worthwhile in this case.
[13:32:03 EDT(-0400)] <EricDalquist> yeah
[13:32:13 EDT(-0400)] <EricDalquist> I've been trying to devote days here and there to do it
[13:32:21 EDT(-0400)] <EricDalquist> and have been making slow progress
[13:32:53 EDT(-0400)] <colinclark> I know the feeling. I do the same with Fluid's wiki, but it takes a long time.
[13:40:47 EDT(-0400)] <colinclark> EricDalquist: I've checked it out. What goals will I have to run to build and deploy it? Are you using a particular plugin for war deployment?
[13:41:05 EDT(-0400)] <EricDalquist> edit build.properties to point it to your tomcat instance
[13:41:10 EDT(-0400)] <colinclark> Done.
[13:41:11 EDT(-0400)] <EricDalquist> start a HSQL 1.8 db
[13:41:14 EDT(-0400)] <colinclark> Done.
[13:41:15 EDT(-0400)] <EricDalquist> run 'ant initportal'
[13:41:23 EDT(-0400)] <EricDalquist> oh
[13:41:29 EDT(-0400)] <EricDalquist> and you can't use ant 1.7
[13:41:48 EDT(-0400)] <EricDalquist> there is a nastly little bug in how it deals with macrodefs which cause it to fail badly
[13:42:03 EDT(-0400)] <colinclark> Okay. I'll upgrade. Good to know.
[13:42:03 EDT(-0400)] <EricDalquist> I'm using ant 1.6.5 right now, hopefully ant 1.7.1 will be out soon
[13:42:14 EDT(-0400)] <colinclark> Or downgrade, actually. (sad)
[13:42:16 EDT(-0400)] <EricDalquist> yup
[13:42:25 EDT(-0400)] <EricDalquist> I actually created a ant16 alias for it
[13:42:31 EDT(-0400)] <EricDalquist> very frustraiting
[13:42:36 EDT(-0400)] <colinclark> So initportal will call the m2 build?
[13:42:42 EDT(-0400)] <EricDalquist> yup
[13:42:54 EDT(-0400)] <colinclark> Wicked. That's convenient.
[13:43:02 EDT(-0400)] <EricDalquist> the functions for the ant -> maven integration that I'm using are what break in 1.7
[13:43:11 EDT(-0400)] <colinclark> Will you ultimately phase out initportal in favor of a pure m2 solution?
[13:43:18 EDT(-0400)] <EricDalquist> I don't know
[13:43:27 EDT(-0400)] <EricDalquist> m2 is great for build management
[13:43:37 EDT(-0400)] <EricDalquist> but our build.xml has all sorts of portal admin type tools
[13:43:51 EDT(-0400)] <EricDalquist> such as chanpub, db, deployPortletApp, md5password
[13:43:56 EDT(-0400)] <EricDalquist> which seem out of scope for maven
[13:44:03 EDT(-0400)] <colinclark> I guess this is one case where m2 plugins might be a possibility. But a lot more work than continuing to use ant.
[13:44:17 EDT(-0400)] <EricDalquist> yeah
[13:44:35 EDT(-0400)] <EricDalquist> and the macrodef stuff that this build uses makes using ant and maven together quite easy
[13:44:51 EDT(-0400)] <EricDalquist> the ant tasks check if the maven artifacts are up to date and if not will re-build them
[13:45:02 EDT(-0400)] <colinclark> That's pretty convenient.
[13:45:06 EDT(-0400)] <EricDalquist> so the ant task such as 'ant deploy-war' are reasonably fast
[13:45:29 EDT(-0400)] <EricDalquist> as it makes sure both maven sub-projects are up to date and then deploys the war to tomcat
[13:55:22 EDT(-0400)] * agherna (n=argherna@cites-agherna01.ci.uiuc.edu) has joined ##uportal
[13:56:42 EDT(-0400)] <colinclark> EricDalquist: It failed right away, stating it was unable to find the jasig-parent POM.
[13:57:17 EDT(-0400)] <colinclark> Probably an oversight on my end? This is what I get for multitasking. (smile)
[13:58:29 EDT(-0400)] <EricDalquist> probably not
[13:58:45 EDT(-0400)] <EricDalquist> I'll try a build with a clean repo
[13:58:48 EDT(-0400)] <colinclark> Strange, since the pom file is in the JA-SIG m2 repository.
[13:58:50 EDT(-0400)] <EricDalquist> I haven't done that in a few days
[14:00:17 EDT(-0400)] <EricDalquist> yeah I get it too with a clean repo
[14:00:25 EDT(-0400)] <EricDalquist> let me go fix the build
[14:00:52 EDT(-0400)] * agherna has a question about the DistributedLayoutManager class
[14:01:32 EDT(-0400)] <agherna> i noticed that getUserLayoutDOM is deprecated. Is there a replacement method?
[14:02:24 EDT(-0400)] <agherna> is that what getNode is for?
[14:02:29 EDT(-0400)] <EricDalquist> not sure
[14:02:45 EDT(-0400)] <EricDalquist> colinclark: do a svn update and try again
[14:03:24 EDT(-0400)] <EricDalquist> agherna: just looked at the code ... I must say it is annoying when people deprecate methods with no explination
[14:03:33 EDT(-0400)] <agherna> looking at the code, it looks like getNode calls getUserLayoutDOM
[14:03:48 EDT(-0400)] <colinclark> Running to grab some lunch. I'll set it off before I leave and let you know when I get back.
[14:03:54 EDT(-0400)] <agherna> EricDalquist: yeah.
[14:04:02 EDT(-0400)] <EricDalquist> k
[14:04:31 EDT(-0400)] <EricDalquist> hrm ... and mboyd's comment for the commit of that change isn't very helpful "fixes to processing pipeline and restructuring"
[14:05:16 EDT(-0400)] <agherna> i've seen worse
[14:05:21 EDT(-0400)] <agherna> i've written worse
[14:05:23 EDT(-0400)] <EricDalquist> (smile)
[14:07:11 EDT(-0400)] <agherna> anyway, by looking at it, it seems that getNode is more convenient than getUserLayoutDOM
[14:08:01 EDT(-0400)] <agherna> but it can't do everything
[14:08:26 EDT(-0400)] <EricDalquist> I'm not sure
[14:08:37 EDT(-0400)] <EricDalquist> you might want to email the list and see if mark responds
[14:08:44 EDT(-0400)] <agherna> 'kay
[14:09:46 EDT(-0400)] * esm (n=esm@esm.qis.net) has joined ##uportal
[14:09:47 EDT(-0400)] <agherna> what is the address for that again? I just got a new laptop and my addresses didn't come over
[14:11:17 EDT(-0400)] <EricDalquist> uportal-dev@lists.ja-sig.org
[14:11:33 EDT(-0400)] <EricDalquist> dev is probably what you need to get a response about that part of the code
[14:12:28 EDT(-0400)] <agherna> sent.
[14:14:00 EDT(-0400)] <EricDalquist> (smile)
[15:41:48 EDT(-0400)] * colinclark (n=atrcwrk2@142.150.154.101) has joined ##uportal
[15:44:53 EDT(-0400)] <EricDalquist> hey there colinclark
[15:50:13 EDT(-0400)] * agherna (n=argherna@cites-agherna01.ci.uiuc.edu) has joined ##uportal
[15:56:38 EDT(-0400)] <colinclark> Hey EricDalquist.
[15:56:55 EDT(-0400)] <EricDalquist> how did the second attempt at initportal go?
[15:56:57 EDT(-0400)] <colinclark> This time, it threw an IOException when trying to run mvn.
[15:57:00 EDT(-0400)] <EricDalquist> ah
[15:57:02 EDT(-0400)] <EricDalquist> hrm
[15:57:05 EDT(-0400)] <colinclark> That one seems like it must be on my end.
[15:57:25 EDT(-0400)] <EricDalquist> can you past the output from ant here: http://rafb.net/paste/
[15:57:28 EDT(-0400)] <EricDalquist> and send a link?
[15:57:30 EDT(-0400)] <EricDalquist> probably not
[15:57:31 EDT(-0400)] <colinclark> Yep.
[15:57:38 EDT(-0400)] <EricDalquist> the script is doing all sorts of fun stuff
[15:57:40 EDT(-0400)] <EricDalquist> some OS specific
[15:58:17 EDT(-0400)] <colinclark> Yes, that could be it. Because if I do run the mvn command it was trying (mvn -N install) it starts to build.
[15:58:24 EDT(-0400)] <colinclark> I'll grab you the error.
[16:01:12 EDT(-0400)] <EricDalquist> oi
[16:01:15 EDT(-0400)] <EricDalquist> I think I just found it
[16:01:50 EDT(-0400)] <colinclark> EricDalquist: http://rafb.net/p/yW9uZi68.html
[16:02:08 EDT(-0400)] <EricDalquist> could you update and try again?
[16:06:02 EDT(-0400)] <EricDalquist> I very much appreciate the help on this colinclark, saves me from having to setup a windows virtual machine with dev environment and everything
[16:11:02 EDT(-0400)] <colinclark> Yep, no problem.
[16:11:13 EDT(-0400)] <colinclark> It is a nice break from writing documents and being in boring meetings. (smile)
[16:14:06 EDT(-0400)] <EricDalquist> (smile)
[16:16:40 EDT(-0400)] <colinclark> Seems to be failing in the same way. Let me double check.
[16:17:17 EDT(-0400)] <EricDalquist> hrm
[16:17:40 EDT(-0400)] <colinclark> Yep, definitely. Is it possibly a side effect of me using cygwin?
[16:17:50 EDT(-0400)] <colinclark> I can try it in the evil Windows shell if you'd prefer.
[16:18:01 EDT(-0400)] <EricDalquist> sure, it will probably still fail though
[16:20:20 EDT(-0400)] <colinclark> Yes, same thing.
[16:20:32 EDT(-0400)] <EricDalquist> so you get that same error 193 from CreateProcess
[16:20:34 EDT(-0400)] <EricDalquist> hrm
[16:20:41 EDT(-0400)] <colinclark> Yes.
[16:21:13 EDT(-0400)] <EricDalquist> does it still say "C:\Colin\maven-2.0.7\bin\mvn -N install" or does it say "C:\Colin\maven-2.0.7\bin\mvn.bat -N install"
[16:24:38 EDT(-0400)] * jayshao (n=jayshao@206.135.17.22) has joined ##uportal
[16:24:51 EDT(-0400)] <EricDalquist> hey there jayshao
[16:30:28 EDT(-0400)] <jayshao> hey there
[16:30:29 EDT(-0400)] <EricDalquist> ping colinclark ... is there a difference at the end of the failure?
[16:30:42 EDT(-0400)] <jayshao> EricDalquist
[16:30:52 EDT(-0400)] <EricDalquist> hey jayshao