[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?
Page Comparison
General
Content
Integrations