[01:27:29 CDT(-0500)] <esmHome> Eric - the ear plugin is adding wars to the ear from the maven 2 repo. We don't have a chance, as far as I can tell, to assemble the war files before they are included in the ear.
[01:28:15 CDT(-0500)] <esmHome> I haven't been successful in getting the ear plugin to read the war files from an alternate path (e.g. from a directory containing assembled war files).
[01:29:09 CDT(-0500)] <esmHome> So we need to think of some other options
[01:30:23 CDT(-0500)] <esmHome> 1) Continue to try and get the ear plugin to read from a location other than the Maven 2 repo. This may be easy or hard - I need to look at the source code for the mojo.
[01:30:37 CDT(-0500)] <esmHome> 2) Update the Pluto assemblers to work with EAR files.
[01:32:13 CDT(-0500)] <esmHome> 3) Consider using a classifier to store assembled war files in the maven 2 repository, and have the ear plugin depend on "assembled" version of the war. This will require an update to the maven 2 pluto plugin, but I think it can easily be supported.
[01:33:12 CDT(-0500)] <esmHome> Obviously #3 goes against your preference of keeping assembled wars in the servlet container only. However, this is exactly what a classifier is meant to solve.
[01:34:13 CDT(-0500)] <esmHome> anyway, I'd appreciate your thoughts. You'll see that war file list support is there in the maven pluto plugin, but since I don't have any viable fix at the moment for the uportal3-ear sub-project, I'm not going to commit anything.
[01:35:07 CDT(-0500)] <esmHome> Er, I committed the support for assembling war files in the maven pluto plugin but I didn't commit anything to the JASIG repo regarding assembly.
[01:39:38 CDT(-0500)] * esmHome (n=esm@esm.qis.net) has left ##uportal
[08:23:01 CDT(-0500)] * esm (n=esm@esm.qis.net) has joined ##uportal
[09:03:16 CDT(-0500)] * esm (n=esm@esm.qis.net) has joined ##uportal
[09:25:18 CDT(-0500)] <EricDalquist> morning esm
[09:28:12 CDT(-0500)] <esm> eric
[09:28:19 CDT(-0500)] <EricDalquist> you were up late last night
[09:28:23 CDT(-0500)] <esm> ah morngin
[09:28:24 CDT(-0500)] <esm> yeah
[09:28:28 CDT(-0500)] <esm> dude
[09:28:46 CDT(-0500)] <esm> i was this close then realized I have no way to make the ear plugin use assembled versions of the wars
[09:28:59 CDT(-0500)] <EricDalquist> suck
[09:29:09 CDT(-0500)] <esm> I have to look at the ear plugin source, it isn't clear to me from its documentation how to get it to use something else
[09:29:25 CDT(-0500)] <esm> i put some options in irc last night if you look at the logs
[09:30:13 CDT(-0500)] <esm> hey i gotta 1) get readty to go to work for a meeting in 30 min and I will be back on
[09:30:23 CDT(-0500)] <esm> we can fix this thing - its just software right?
[09:30:32 CDT(-0500)] <esm> just need to figure out the plan of attack.
[09:31:04 CDT(-0500)] <EricDalquist> sounds good
[09:31:12 CDT(-0500)] <EricDalquist> when you have time to chat through the options let me know
[09:31:23 CDT(-0500)] <esm> ok cool if you have any to add......
[09:31:26 CDT(-0500)] <esm> ok bbiab
[09:31:36 CDT(-0500)] * esm (n=esm@esm.qis.net) has left ##uportal
[09:51:33 CDT(-0500)] * esm (n=esm@esm.qis.net) has joined ##uportal
[10:01:32 CDT(-0500)] <esm> why oh why doesn't eclipse, by default, show line numbers
[10:01:38 CDT(-0500)] <esm> who doesn't want line numbers?
[10:26:50 CDT(-0500)] <EricDalquist>
[10:27:11 CDT(-0500)] <EricDalquist> done w/ the meeting?
[10:27:19 CDT(-0500)] <esm> i decided to cnoference in
[10:27:22 CDT(-0500)] <EricDalquist> ah
[10:27:25 CDT(-0500)] <esm> so i'm attending virtually
[10:27:26 CDT(-0500)] <esm>
[10:28:04 CDT(-0500)] <EricDalquist> well let me know when you have time and we can chat about WAR assembling, EAR deployment and ant tasks
[10:28:07 CDT(-0500)] <esm> kk
[10:47:34 CDT(-0500)] <EricDalquist> hrm .. so I'm not seeing a way to call arbitrary mvn goals from the mvn ant plugin
[10:54:44 CDT(-0500)] <esm> inside the <task> element?
[10:56:29 CDT(-0500)] <esm> ok conf call over
[10:56:30 CDT(-0500)] <esm> i'm back
[10:56:31 CDT(-0500)] <esm> wheh
[10:56:34 CDT(-0500)] <esm> whew
[10:56:57 CDT(-0500)] <EricDalquist> yeah, I was thinking it would be nice to use the hibernate3-maven-plugin from codehaus
[10:57:06 CDT(-0500)] <esm> oooh very nice
[10:57:07 CDT(-0500)] <esm> yeah
[10:57:08 CDT(-0500)] <EricDalquist> but I can't think of an easy way to call it from an ant script
[10:57:22 CDT(-0500)] <EricDalquist> I suppose that could be a manual step
[10:57:44 CDT(-0500)] <esm> does the maven antlib help
[10:58:06 CDT(-0500)] <EricDalquist> I don't think so
[10:58:09 CDT(-0500)] <EricDalquist> but I'm still figuring it out
[10:58:23 CDT(-0500)] <EricDalquist> I can get a classpath built from a pom's dependencies which is neat
[10:58:37 CDT(-0500)] <esm> yeah it is just dep management.
[10:58:39 CDT(-0500)] <EricDalquist> but I don't see a way to call an arbitrary goal for a pom
[10:58:40 CDT(-0500)] <esm> yeah
[10:58:48 CDT(-0500)] <EricDalquist> other than just doing a syscall
[10:58:51 CDT(-0500)] <EricDalquist> but that may be ok
[10:58:59 CDT(-0500)] <esm> definitly ok for now
[10:59:12 CDT(-0500)] <esm> i think in this situation the maven list would say "write a mojo"
[10:59:29 CDT(-0500)] <esm> but I'm not sure yet that we have all the requirements for what the up3 mojos would encompass
[10:59:45 CDT(-0500)] <EricDalquist> yeah
[10:59:50 CDT(-0500)] <esm> so maybe it makes sense to hack it out now and when we're done go in and clean up by writing mojos
[10:59:56 CDT(-0500)] <EricDalquist> once we get stuff more 'mavenized' I'll be all for writing mojos
[11:00:00 CDT(-0500)] <esm> yeah
[11:00:03 CDT(-0500)] <EricDalquist> but for now I'm looking for quick-n-dirty
[11:00:16 CDT(-0500)] <esm> don't get much dirtier than an ant syscall
[11:00:22 CDT(-0500)] <esm>
[11:00:24 CDT(-0500)] <EricDalquist>
[11:00:29 CDT(-0500)] <esm> so is now a good time to discuss options regarding the ear
[11:00:41 CDT(-0500)] <EricDalquist> ok, well I think I have what I need ... yes but I have a ~10 minute meeting to run to
[11:00:45 CDT(-0500)] <EricDalquist> so I'll be all set after that
[11:00:50 CDT(-0500)] <esm> ok i am still at home
[11:00:54 CDT(-0500)] <EricDalquist> ok
[11:00:57 CDT(-0500)] <esm> what time do you have
[11:00:58 CDT(-0500)] <EricDalquist> are you going in at all?
[11:01:00 CDT(-0500)] <EricDalquist> 11am
[11:01:01 CDT(-0500)] <esm> yeah
[11:01:02 CDT(-0500)] <EricDalquist> cdt
[11:01:07 CDT(-0500)] <esm> ok you are one hour behind me
[11:01:11 CDT(-0500)] <EricDalquist> after this meeting I'm free the rest of the day
[11:01:16 CDT(-0500)] <esm> want to chat after your lunch?
[11:01:29 CDT(-0500)] <EricDalquist> whenever you're free
[11:01:48 CDT(-0500)] <EricDalquist> if you want to head in now and just ping me when you get there
[11:01:48 CDT(-0500)] <esm> ok, i should be back on in an hour then
[11:01:52 CDT(-0500)] <esm> excellent
[11:01:55 CDT(-0500)] <EricDalquist> sounds good
[11:01:58 CDT(-0500)] <esm> bbiab
[12:08:18 CDT(-0500)] * esm (n=esm@clue.mse.jhu.edu) has joined ##uportal
[12:19:16 CDT(-0500)] <esm> pin
[12:19:19 CDT(-0500)] <esm> ugh.
[12:19:20 CDT(-0500)] <esm> ping.
[12:22:26 CDT(-0500)] <andrew_petro_ubu> pong
[12:22:47 CDT(-0500)] <andrew_petro_ubu> (after the Ethernet-prescribed noise followed by exponential backoff)
[12:24:29 CDT(-0500)] <esm> lol
[12:33:51 CDT(-0500)] <EricDalqui[away]> hey
[12:37:00 CDT(-0500)] <EricDalquist> I'm back
[12:37:10 CDT(-0500)] <EricDalquist> workin on getting the project setup to work with the hibernate plugin
[12:37:34 CDT(-0500)] <esm> cool
[12:38:16 CDT(-0500)] <esm> so what to do re the ear
[12:38:35 CDT(-0500)] <EricDalquist> well
[12:38:50 CDT(-0500)] <EricDalquist> what is the viability of a custom ear plugin
[12:38:59 CDT(-0500)] <EricDalquist> perhaps that extends the maven ear plugin
[12:39:09 CDT(-0500)] <EricDalquist> and just injects the pluto assembling logic
[12:39:15 CDT(-0500)] <esm> yeah
[12:39:22 CDT(-0500)] <esm> that is viable defnititly
[12:40:01 CDT(-0500)] <EricDalquist> I think that may be the most appropriate
[12:40:20 CDT(-0500)] <esm> ok that sounds good then
[12:44:55 CDT(-0500)] <EricDalquist> cool
[13:08:43 CDT(-0500)] <EricDalquist> grr
[13:08:48 CDT(-0500)] <EricDalquist> so ant exec doesn't work to call mvn
[13:08:54 CDT(-0500)] <EricDalquist> since mvn is just a shell script
[13:19:18 CDT(-0500)] <EricDalquist> ah ... I have to specify mvn.bat
[13:19:28 CDT(-0500)] <EricDalquist> time for os specific exec calls
[13:33:10 CDT(-0500)] <EricDalquist> esm: just did a commit that re-arranged some maven related stuff and updated the uP3 war pom
[13:45:21 CDT(-0500)] <EricDalquist> well ... just found a little problem ...
[13:45:48 CDT(-0500)] <EricDalquist> I can't reference classes in the uP3.war since a WAR isn't a depenency type that can be added to a classpath
[14:16:40 CDT(-0500)] <EricDalquist> I'm going to try creating a uportal3-impl sub-project
[14:16:47 CDT(-0500)] <EricDalquist> that will just be source code & their tests
[14:16:58 CDT(-0500)] <EricDalquist> the uP3 sub project will depend on it and just be the WAR specific stuff
[14:17:09 CDT(-0500)] <EricDalquist> hopefully then I can run the tasks
[14:21:19 CDT(-0500)] <esm> yeah
[14:21:21 CDT(-0500)] <esm> sounds good
[14:21:38 CDT(-0500)] <esm> eventually that was the plan anyway right
[14:21:48 CDT(-0500)] <EricDalquist> yup
[14:22:02 CDT(-0500)] <esm> that the uP3 subproject - after everything was moved out - would just be a shell that has a bunch of deps to build the war
[14:22:02 CDT(-0500)] <esm> cool
[14:22:07 CDT(-0500)] <esm> is that working out?
[14:22:11 CDT(-0500)] <EricDalquist> I think so
[14:22:16 CDT(-0500)] <EricDalquist> the svn mv's took a while
[14:22:16 CDT(-0500)] <esm> sweet.
[14:22:21 CDT(-0500)] <esm> yeah
[14:22:26 CDT(-0500)] <EricDalquist> so I'm just getting to making sure the poms are all correct
[14:23:05 CDT(-0500)] <esm> I'm getting started on the ear plugin
[14:23:08 CDT(-0500)] <EricDalquist> cool
[14:24:44 CDT(-0500)] <esm> you'll see me add the subproject today but it will proably mostly be empty for now
[14:25:07 CDT(-0500)] <EricDalquist> sounds good
[14:25:11 CDT(-0500)] <EricDalquist> looks like this is working
[14:25:39 CDT(-0500)] <esm> excellent
[14:25:40 CDT(-0500)] <EricDalquist> thats really slick how easily it was to move the source into its own jar and have the WAR still end up pretty much the same
Page Comparison
General
Content
Integrations