Versions Compared

Key

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

[08:51:15 CDT(-0500)] * EricDalquist (n=dalquist@bohemia.doit.wisc.edu) has joined ##uportal
[09:00:11 CDT(-0500)] * edalquist (n=dalquist@bohemia.doit.wisc.edu) has joined ##uportal
[09:03:58 CDT(-0500)] * edalquist (n=dalquist@bohemia.doit.wisc.edu) has joined ##uportal
[09:47:12 CDT(-0500)] * esm_ (n=esm@esm.qis.net) has joined ##uportal
[09:50:08 CDT(-0500)] * esm_ (n=esm@esm.qis.net) has joined ##uportal
[09:50:29 CDT(-0500)] <esm_> hmm. anyway, g'morning
[09:55:24 CDT(-0500)] <EricDalquist> morning
[10:09:49 CDT(-0500)] <EricDalquist> hrm ... it appears your tweaks make thinks work out so I don't need to run mvn install to get the uP3.ear built correctly
[10:09:52 CDT(-0500)] <EricDalquist> just bootstrap
[10:09:53 CDT(-0500)] <EricDalquist> very nice
[10:13:17 CDT(-0500)] <esm_> yah it was a hack - i think
[10:13:27 CDT(-0500)] <EricDalquist> hows that?
[10:14:17 CDT(-0500)] <esm_> had to do this to the uportal3-ear pom: http://developer.ja-sig.org/source/browse/jasigsvn/up3/branches/maven2-simple/uportal3-ear/pom.xml?r1=11890&amp;r2=11892
[10:14:51 CDT(-0500)] <esm_> even though the uportal3-components is a dependency of the maven-ear-plugin in the <build> section, I had to add it as a provided dependency.
[10:15:03 CDT(-0500)] <EricDalquist> weird
[10:15:07 CDT(-0500)] <esm_> yeah.
[10:15:13 CDT(-0500)] <esm_> but it seems to work.
[10:15:20 CDT(-0500)] <EricDalquist> doesn't seem too hacky
[10:15:24 CDT(-0500)] <esm_> there may be a better way to handle that, but I don't know what it is.
[10:15:38 CDT(-0500)] <EricDalquist> I'm getting annoyed with the maven antlib
[10:15:43 CDT(-0500)] <esm_> (sad)
[10:15:48 CDT(-0500)] <EricDalquist> <artifact:pom file="pom.xml" id="project" />
[10:15:48 CDT(-0500)]

Wiki Markup
&lt;EricDalquist&gt; &lt;echo&gt;Properties: ${project.properties}&lt;/echo&gt;

[10:16:13 CDT(-0500)] <EricDalquist> that in a build.xml will print the big Properties object that represents all of our properties
[10:16:35 CDT(-0500)]
Wiki Markup
&lt;EricDalquist&gt; if I change it to ${project.properties.pluto-utils.version}

[10:16:36 CDT(-0500)] <EricDalquist> it fails
[10:16:38 CDT(-0500)] <esm_> i'm sensing a but...
[10:16:39 CDT(-0500)] <esm_> ok
[10:16:42 CDT(-0500)] <esm_> hmm
[10:16:46 CDT(-0500)] <EricDalquist> I can't seem to reference anything within the Properties object
[10:16:49 CDT(-0500)] <EricDalquist> (tongue)
[10:17:01 CDT(-0500)]
Wiki Markup
&lt;esm_&gt; can you just reference ${pluto-utils.version} on its own?

[10:17:06 CDT(-0500)] <EricDalquist> hrm
[10:17:29 CDT(-0500)] <EricDalquist> nope
[10:17:34 CDT(-0500)] <esm_> hmm
[10:18:15 CDT(-0500)] <EricDalquist> one option is to create some dummy poms that declare dependencies specificly for the different things in ant I want to do
[10:18:16 CDT(-0500)] <EricDalquist> brb
[10:19:49 CDT(-0500)] <EricDalquist> back
[10:19:54 CDT(-0500)] <EricDalquist> so I'm going to try that
[10:20:08 CDT(-0500)] <EricDalquist> just to avoid hard coding dependency versions in the build.xml
[10:21:42 CDT(-0500)] <esm_> yeah..
[10:22:19 CDT(-0500)]
Wiki Markup
&lt;esm_&gt; do you have access to ${project.dependencies}

[10:22:25 CDT(-0500)] <EricDalquist> yeah
[10:22:42 CDT(-0500)] <EricDalquist> I can just give it a pom reference and get all depencies as a classpath
[10:25:42 CDT(-0500)] <esm_> I've definitly lost some of my ant foo
[10:26:23 CDT(-0500)]
Wiki Markup
&lt;esm_&gt; you should be able to get ${project.propoperties} into an ant properties element

[10:26:27 CDT(-0500)] <esm_> hmm
[10:26:35 CDT(-0500)] <esm_> i don't even know if i'm saying that right
[10:26:54 CDT(-0500)] <EricDalquist> hrm
[10:27:00 CDT(-0500)] <EricDalquist> I can look at that
[10:29:39 CDT(-0500)] <esm_> lemme find my ant book{color}
[10:29:43 CDT(-0500)] <esm_> the online manual is frustrating

[10:33:01 CDT(-0500)] <esm_> I have no idea. maybe you can't
[10:33:24 CDT(-0500)]
Wiki Markup
&lt;esm_&gt; &lt;property&gt;${project.properties}&lt;/property&gt;

[10:50:18 CDT(-0500)] * lescour (n=JBouncer@adsl-38-10-98.tulsaconnect.com) has joined ##uportal
[10:52:37 CDT(-0500)] * andrew_petro_ubu (n=apetro@uni1.unicon.net) has joined ##uportal
[10:53:01 CDT(-0500)] <EricDalquist> sorry, got caught in a random discussion here
[10:54:24 CDT(-0500)] <esm_> haha no problem
[10:54:36 CDT(-0500)] <esm_> i'm busy doing all sorts of things at home
[10:55:11 CDT(-0500)]
Wiki Markup
&lt;esm_&gt; &lt;property name=&#034;foo&#034; value=&#034;${project.properties}/&gt;

[10:55:16 CDT(-0500)] <esm_> i wonder if that works
[10:55:30 CDT(-0500)] <EricDalquist> I'll give that a try
[10:57:10 CDT(-0500)] <EricDalquist> nope, just gets set to the big properties string
[10:57:22 CDT(-0500)] <EricDalquist> Properties: {pluto-taglib.version=1.1.1, xalan.version=2.7.0, pluto-util.vers...
[11:41:11 CDT(-0500)] <EricDalquist> grrr
[11:42:03 CDT(-0500)] <EricDalquist> I'm referencing uportal3-ant-tasks/pom.xml in the build.xml for doing the EAR deployment
[11:42:24 CDT(-0500)] <EricDalquist> problem is it doesn't know how to reference the uportal3-ear-deployer sub-project
[13:11:42 CDT(-0500)] * esm (n=esm@esm.qis.net) has joined ##uportal
[14:43:55 CDT(-0500)] * esm (n=esm@esm.qis.net) has joined ##uportal
[14:44:45 CDT(-0500)] <esm> (smile)
[14:44:51 CDT(-0500)] <EricDalquist> hello
[14:45:13 CDT(-0500)] <esm> hey