[00:16:18 EDT(-0400)] * apetro-_ (n=apetro@ip24-56-20-55.ph.ph.cox.net) has joined ##uportal
[03:06:43 EDT(-0400)] * apetro-_ (n=apetro@ip24-56-20-55.ph.ph.cox.net) has joined ##uportal
[03:54:45 EDT(-0400)] * mad (n=chatzill@pcit-8752.HIG.SE) has joined ##uportal
[08:57:29 EDT(-0400)] * athena7 (n=athena7@adsl-99-149-83-32.dsl.wlfrct.sbcglobal.net) has joined ##uportal
[09:32:47 EDT(-0400)] * EricDalquist (n=dalquist@bohemia.doit.wisc.edu) has joined ##uportal
[09:32:56 EDT(-0400)] <athena7> hey eric
[09:34:04 EDT(-0400)] <EricDalquist> morning
[09:34:17 EDT(-0400)] <athena7> how're you?
[09:34:40 EDT(-0400)] <EricDalquist> overwhelmed how about you?
[09:35:29 EDT(-0400)] <athena7> a bit the same actually
[09:36:49 EDT(-0400)] <athena7> however, i got some build filtering working over the weekend
[09:37:16 EDT(-0400)] <athena7> turns out if you combine the pluto plugin with the war plugin you can get both filtering and pluto-ization of the web.xml
[09:37:39 EDT(-0400)] <athena7> so i wound up having to use a combination of the plugins in different places
[09:38:11 EDT(-0400)] <athena7> but i wound up at the end with something that you can build different environments by just running commands (ant or maven) with -Denvironment.name=something
[09:39:35 EDT(-0400)] <EricDalquist> nice
[09:41:02 EDT(-0400)] <athena7> i dunno, it's kind of nice to just change the database info in one place and have it automatically get changed in the portal and all the portlets
[09:41:42 EDT(-0400)] <athena7> the only thing that i didn't get filtered is the database dependency in the main pom.xml - right now you'd still have to change that
[09:41:56 EDT(-0400)] <EricDalquist> the JDBC driver?
[09:43:01 EDT(-0400)] <athena7> yeah
[09:43:20 EDT(-0400)] <athena7> you could override it with -Dproperty=value on the maven build
[09:43:21 EDT(-0400)] <EricDalquist> ah yeah, that would be harder since that needs to be in the pom and they can't filter themselves
[09:43:25 EDT(-0400)] <EricDalquist> yup
[09:43:49 EDT(-0400)] <athena7> but i couldn't figure out how to set up the build.xml to look for that parameter and only pass it if it's been specified
[09:43:58 EDT(-0400)] <EricDalquist> heh
[09:44:04 EDT(-0400)] <EricDalquist> that is rather hard in ant
[09:44:05 EDT(-0400)] <athena7> i mean i guess i could just duplicate the default information in the build.xml, but that seems kind of icky
[09:44:06 EDT(-0400)] <athena7> yeah
[09:44:18 EDT(-0400)] <athena7> i don't know of a way to pass parameters conditionally
[09:44:34 EDT(-0400)] <athena7> i mean i guess you could set it instead to something meaningless -Dpretend=parameter
[09:44:37 EDT(-0400)] <athena7> but that's kind of silly
[09:44:42 EDT(-0400)] <EricDalquist> so you're trying to get the JDBC driver artifact info into other poms?
[09:44:45 EDT(-0400)] <EricDalquist> or something else
[09:44:57 EDT(-0400)] <EricDalquist> that's what some of the ant targets do right now
[09:44:57 EDT(-0400)] <athena7> just the main pom
[09:45:16 EDT(-0400)] <athena7> oh i wondered about that - is that was the -Djasig parameter is?
[09:45:16 EDT(-0400)] <EricDalquist> do you really change the JDBC driver often enough to need to do that?
[09:45:27 EDT(-0400)] <athena7> probably not
[09:45:27 EDT(-0400)] <EricDalquist> yeah I think so
[09:45:57 EDT(-0400)] <athena7> it would help the systems folks and the continuous build probably to not have to make any changes, but i'm sure this is a small enough change that it wouldn't be unreasonable to just script it
[09:46:24 EDT(-0400)] <athena7> i have all the database-enabled portlets excluding hsql as a dependency, then picking up the jdbc dependency from the main pom
[09:46:28 EDT(-0400)] <EricDalquist> ah so you do have different JDBC drivers for one 'project' depending on the environment?
[09:48:11 EDT(-0400)] <athena7> right, i think we'd leave the default as hsql
[09:48:25 EDT(-0400)] <athena7> and then set the properties for dev and production as not-hsql
[09:48:46 EDT(-0400)] <athena7> but i guess if the existing build does use some pretend properties maybe i'll just do that
[09:48:48 EDT(-0400)] <athena7> i mean, it shoudl work
[09:49:05 EDT(-0400)] <athena7> you probably wouldn't want to specify all that on the command line, but you could set up a profile to use
[09:49:32 EDT(-0400)] <EricDalquist> yeah, local vs dev/prod profiles would probably be the way to go
[09:50:04 EDT(-0400)] <athena7> yeah
[09:50:17 EDT(-0400)] <athena7> it all seems to work pretty well so far, but i'll have to get some other people to test it
[09:50:29 EDT(-0400)] <athena7> and of course it's not good if you forget to do a clean before switching environments
[09:51:27 EDT(-0400)] <athena7> i guess we could handle that with starting to use classifiers, probably
[10:13:59 EDT(-0400)] * colinclark (n=colin@bas1-toronto09-1176018330.dsl.bell.ca) has joined ##uportal
[10:21:58 EDT(-0400)] <EricDalquist> athena7: would you have time this week to try http://www.ja-sig.org/issues/browse/UP-2170 on whatever databases you use locally?
[10:22:13 EDT(-0400)] <athena7> very likely not, unfortunately
[10:22:20 EDT(-0400)] <EricDalquist> no problem
[10:22:21 EDT(-0400)] <athena7> if i can find any time i definitely will though
[10:22:32 EDT(-0400)] <athena7> i saw that on the list and really would like to try it out!
[10:22:35 EDT(-0400)] <athena7> sounds pretty cool
[10:22:38 EDT(-0400)] <EricDalquist> if you do just applying it and doing an initdb should do it
[10:22:48 EDT(-0400)] <athena7> yeah i'll definitely let you knwo if i can
[10:22:57 EDT(-0400)] <EricDalquist> yeah, the patch lets us drop 2k lines of code and adds functionality
[10:23:01 EDT(-0400)] <athena7> awesome!
[10:23:07 EDT(-0400)] <athena7> i like those kinds of changes
[10:23:10 EDT(-0400)] <EricDalquist> me too
[10:23:15 EDT(-0400)] <EricDalquist> plus gets rid of dbloader.xml!
[10:23:26 EDT(-0400)] <athena7> by the way, i think i may have found some holes in the current database initialization stuff
[10:23:45 EDT(-0400)] <athena7> i can't find a way to create more than one profile for a user
[10:23:49 EDT(-0400)] <EricDalquist> ah
[10:23:51 EDT(-0400)] <EricDalquist> yeah you can't
[10:23:58 EDT(-0400)] <athena7> or to create user agent mappings for users, which i assume you can't do either
[10:24:06 EDT(-0400)] <EricDalquist> I found a few bigger holes than that locally when working with it
[10:24:09 EDT(-0400)] <EricDalquist> nope
[10:24:18 EDT(-0400)] <EricDalquist> the scripts have been written on an as needed basis
[10:24:23 EDT(-0400)] <athena7> yeah
[10:24:26 EDT(-0400)] <EricDalquist> I had to add support for DLM node references
[10:24:35 EDT(-0400)] <athena7> ah
[10:24:42 EDT(-0400)] <athena7> i'm not entirely sure what that is
[10:24:52 EDT(-0400)] <EricDalquist> so like when you modify a dlm fragment in your personal layout
[10:25:09 EDT(-0400)] <EricDalquist> you get dlm:origin parameters and dlm:position nodes
[10:25:25 EDT(-0400)] <EricDalquist> with values that look like you u12l1n342
General
Content
Integrations