[00:41:46 EST(-0500)] * jayshao (n=jayshao@pool-68-239-246-163.nwrk.east.verizon.net) has joined ##uportal <awills> how is the $ property set? <awills> <exec executable="$ " dir="$ " vmlauncher="true" resolveexecutable="true" searchpath="true" failonerror="true"> <EricDalquist> add <echo message="***** $ *****"/> <awills> i think the issue is w/ $ <EricDalquist> $ <EricDalquist> add <echo message="***** '$ ' *****"/> as well
[00:49:57 EST(-0500)] * jayshao (n=jayshao@pool-68-239-246-163.nwrk.east.verizon.net) has joined ##uportal
[03:53:55 EST(-0500)] * jayshao_ (n=jayshao@pool-68-239-246-163.nwrk.east.verizon.net) has joined ##uportal
[04:24:12 EST(-0500)] * jayshao (n=jayshao@pool-68-239-246-163.nwrk.east.verizon.net) has joined ##uportal
[04:48:52 EST(-0500)] * jayshao_ (n=jayshao@nat01-tdtest-ext.Rutgers.EDU) has joined ##uportal
[08:16:16 EST(-0500)] * jayshao (n=jayshao@jayshao.oirt.rutgers.edu) has joined ##uportal
[08:42:32 EST(-0500)] * jayshao (n=jayshao@jayshao.oirt.rutgers.edu) has joined ##uportal
[09:00:57 EST(-0500)] * jayshao (n=jayshao@jayshao.oirt.rutgers.edu) has joined ##uportal
[09:15:39 EST(-0500)] * jayshao_ (n=jayshao@wg-198-hill012.rutgers.edu) has joined ##uportal
[10:03:39 EST(-0500)] * esm (n=esm@asdf.dkc.jhu.edu) has joined ##uportal
[10:11:36 EST(-0500)] * ac_chan (n=alex@tempoutsidepix.pratt.edu) has joined ##uportal
[10:11:39 EST(-0500)] <ac_chan> hello
[10:36:26 EST(-0500)] * awills (n=awills@uni1.unicon.net) has joined ##uportal
[10:41:16 EST(-0500)] * jayshao (n=jayshao@jayshao.oirt.rutgers.edu) has joined ##uportal
[10:53:27 EST(-0500)] * EricDalquist (n=EricDalq@76.210.63.222) has joined ##uportal
[10:54:28 EST(-0500)] <awills> hey eric...
[10:54:56 EST(-0500)] <EricDalquist> hey there
[10:55:01 EST(-0500)] <awills> for uP3 build – edit build.properties & rdbm.properties, then mvn install?
[10:55:09 EST(-0500)] <EricDalquist> ant initportal
[10:55:26 EST(-0500)] <awills> hmmm i thought the README was out of date
[10:55:30 EST(-0500)] <EricDalquist> actually in terminal 1 'ant hsql' and in terminal 2 'ant initportal'
[10:55:31 EST(-0500)] <EricDalquist> nope
[10:55:36 EST(-0500)] <ac_chan> hello
[10:55:38 EST(-0500)] <EricDalquist> readme is up to date
[10:55:41 EST(-0500)] <EricDalquist> or should be
[10:56:03 EST(-0500)] <awills> you don't use mvn commands at all in uP3?
[10:56:15 EST(-0500)] <EricDalquist> oh wait ... I guess the README does need a bit more work
[10:56:25 EST(-0500)] <EricDalquist> http://www.ja-sig.org/wiki/display/UPC/Building+and+Deploying+uPortal+3
[10:56:27 EST(-0500)] <EricDalquist>
[10:56:37 EST(-0500)] <EricDalquist> you use both
[10:56:44 EST(-0500)] <EricDalquist> all of the mvn commands do what they always do
[10:56:51 EST(-0500)] <EricDalquist> there are ant commands to help ease the transition
[10:57:05 EST(-0500)] <EricDalquist> and do more configuration/deployment oriented work
[10:57:15 EST(-0500)] <awills> so anything you can do w/ ant can be done w/ m2 as well?
[10:57:17 EST(-0500)] <EricDalquist> like init-db, deploy-war and such
[10:57:19 EST(-0500)] <EricDalquist> no
[10:57:34 EST(-0500)] <EricDalquist> mvn does clean/compile/test/package
[10:57:42 EST(-0500)] <EricDalquist> ant adds the more functional work
[10:57:48 EST(-0500)] <awills> k, reading up
[10:57:56 EST(-0500)] <EricDalquist> running command line tools, deploying mvn generated artifacts to tomcat
[10:58:09 EST(-0500)] <EricDalquist> things that mvn wouldn't be able to do without writting a bunch of plugins
[10:58:27 EST(-0500)] <EricDalquist> and in my view things that maven shouldn't really be doing as a 'build management system'
[10:58:48 EST(-0500)] <awills> k
[10:59:57 EST(-0500)] <esm> that's what plugins are for
[11:00:39 EST(-0500)] <EricDalquist>
[11:08:20 EST(-0500)] <ac_chan> hello. is it possible to pass a multi value iperson attribute to a webproxy channneL?
[11:08:34 EST(-0500)] <EricDalquist> I don't know
[11:08:52 EST(-0500)] <ac_chan> yikes
[11:09:05 EST(-0500)] <EricDalquist> I'm not a channel guy though and I've never used the webproxy channel
[11:09:17 EST(-0500)] <EricDalquist> I did see you ask the -user list
[11:09:23 EST(-0500)] <ac_chan> yeah..
[11:09:37 EST(-0500)] <EricDalquist> hopefully someone there with experience with the channel will know the answer
[11:18:20 EST(-0500)] <awills> so anything in uportal-impl/src/main/java/org/... gets compiled, and anything in uportal-impl/src/main/resources/org/...gets copied (not compiled) to the same place?
[11:19:04 EST(-0500)] <EricDalquist> yup
[11:19:30 EST(-0500)] <EricDalquist> also take a look at http://www.ja-sig.org/wiki/display/UPC/uPortal+3+Project+Structure
[11:19:39 EST(-0500)] <EricDalquist> and this is very handy as well: http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html
[11:20:16 EST(-0500)] <EricDalquist> so note that in src/main/java src/test/java only .java files are ever paid attention to by maven
[11:20:40 EST(-0500)] <EricDalquist> classpath resources in those directories will not get copied anywhere
[11:20:45 EST(-0500)] <awills> yeah, that's what I wondered about, and why i'm asking
[11:20:59 EST(-0500)] <awills> but they will in resources/
[11:21:02 EST(-0500)] <EricDalquist> yes
[11:21:16 EST(-0500)] <EricDalquist> src/*/resources is for non-java files that need to be on the classpath
[11:23:05 EST(-0500)] <awills> perfect
[11:23:43 EST(-0500)] <awills> then the only dark corner of this process is what to do w/ the cernunnos-M4 jar
[11:24:02 EST(-0500)] <EricDalquist> well there is a ja-sig maven respository
[11:24:08 EST(-0500)] <EricDalquist> do you have ssh access to ja-sig.org?
[11:24:15 EST(-0500)] <EricDalquist> and if so are you in the jasigch group?
[11:24:31 EST(-0500)] <awills> once upon a time i did, no reason to think i don't
[11:24:44 EST(-0500)] <awills> but i haven't used it in an age
[11:25:07 EST(-0500)] <awills> you want to do it for me?
[11:25:16 EST(-0500)] <EricDalquist> ah, so you have an account just not in the right group
[11:25:35 EST(-0500)] <EricDalquist> is the jar somewhere web accessible?
[11:25:43 EST(-0500)] <awills> i had an ssh account when it was necessary to tunnel for CVS – does that count?
[11:25:47 EST(-0500)] <awills> sure
[11:25:49 EST(-0500)] <EricDalquist> yeah
[11:25:54 EST(-0500)] <EricDalquist> and that account is still there
[11:25:57 EST(-0500)] <awills> http://code.google.com/p/cernunnos/downloads/list
[11:26:08 EST(-0500)] <awills> M4
[11:26:09 EST(-0500)] <EricDalquist> but it doesn't have the ability to stick a file in the jasig maven repo
[11:26:20 EST(-0500)] <awills> oh drat
[11:26:28 EST(-0500)] <awills> maybe you could help me out
[11:45:26 EST(-0500)] <EricDalquist> http://developer.ja-sig.org/maven2/org/danann/cernunnos/1.0-M4/
[11:45:29 EST(-0500)] <EricDalquist> all set
[12:05:33 EST(-0500)] <awills> tyty
[12:08:42 EST(-0500)]
[12:09:13 EST(-0500)] <EricDalquist> in the root pom.xml
[12:09:29 EST(-0500)] <EricDalquist> we keep all the dependency versions in one place
[12:10:11 EST(-0500)] <awills> build.xml can access properties in pom.xml?
[12:10:24 EST(-0500)] <EricDalquist> ah in build.xml?
[12:10:34 EST(-0500)] <EricDalquist> I thought we were talking the pom
[12:10:42 EST(-0500)] <EricDalquist> so where in the build.xml are you looking?
[12:11:10 EST(-0500)] <awills> path id="uportal-impl-full.classpath"
[12:11:19 EST(-0500)] <EricDalquist> line?
[12:11:28 EST(-0500)] <awills> 506
[12:11:39 EST(-0500)] <EricDalquist> ah
[12:11:41 EST(-0500)] <EricDalquist> so
[12:11:45 EST(-0500)] <EricDalquist> what are you trying to do?
[12:11:53 EST(-0500)] <EricDalquist> the macrodefs in the build.xml should not need to be touched
[12:12:44 EST(-0500)] <EricDalquist> and to answer 'uportal-impl.classpath' gets setup by the maven-artifact-macro macrodef
[12:13:04 EST(-0500)] <EricDalquist> which loads the uportal-impl pom and uses maven to build the classpath
[12:13:30 EST(-0500)] <awills> not needing to touch build.xml (so far)... need to build the classpath for import-export.xml appropriately
[12:13:32 EST(-0500)] <EricDalquist> the build.xml doesn't have any project configuration in it other than pointing it to the maven pom's of the project
[12:14:08 EST(-0500)] <EricDalquist> so if everything you need is in the uportal-impl sub-project
[12:14:16 EST(-0500)] <EricDalquist> you would do something like the db target
[12:14:35 EST(-0500)] <EricDalquist> you wrap your ant code in a <uportal-impl-macro> tag
[12:15:03 EST(-0500)] <EricDalquist> which will take care of making sure the uportal-impl sub-project jar and all of its dependencies are up to date
[12:15:30 EST(-0500)] <awills> ok
[12:15:41 EST(-0500)] <EricDalquist> and provide you with the classpth refid uportal-impl-full.classpath which will have the uportal jar (source and resources) and all of the uportal dependencies on it
[12:15:51 EST(-0500)] <awills> would i need to def custom tags? extend ant's classpath?
[12:16:05 EST(-0500)] <EricDalquist> do you need custom ant tasks?
[12:16:15 EST(-0500)] <EricDalquist> or are you just doing <java> calls?
[12:16:27 EST(-0500)] <awills> just <java> calls
[12:16:38 EST(-0500)] <EricDalquist> then the "db" target is a good example for you
[12:16:43 EST(-0500)] <awills> k
[12:16:44 EST(-0500)] <EricDalquist> line 45
[12:35:43 EST(-0500)] <awills> BUILD FAILED: Could not create task or type of type: uportal-impl-macro
[12:36:21 EST(-0500)] <EricDalquist> and your new target is a copy of the db target with a different <java> call?
[12:36:57 EST(-0500)] <awills> yes... in a different file, of course
[12:37:02 EST(-0500)] <EricDalquist> oh
[12:37:07 EST(-0500)] <EricDalquist> you never said a different file
[12:37:16 EST(-0500)] <EricDalquist> you need to do it in the same file
[12:37:29 EST(-0500)] <EricDalquist> or we need to split the macrodef stuff out into a shared xml file
[12:37:42 EST(-0500)] <awills> macrodef stuff...
[12:37:45 EST(-0500)] <EricDalquist> and import it into the build.xml and your xml
[12:38:02 EST(-0500)] <EricDalquist> so in build.xm
[12:38:22 EST(-0500)] <EricDalquist> from line 362 down
[12:38:37 EST(-0500)] <EricDalquist> is all the support code for making the ant build script know how to deal with the maven project
[12:38:42 EST(-0500)] <awills> typedef has a 'file' attribute
[12:38:42 EST(-0500)] <EricDalquist> it is pretty much static
[12:39:00 EST(-0500)] <EricDalquist> that is typedef ... not macrodef
[12:39:02 EST(-0500)] <awills> i can pull from build.xml
[12:39:34 EST(-0500)] <EricDalquist> you need to add <import file="build.xml"/>
[12:39:47 EST(-0500)] <EricDalquist> so that you have access to all of the build.xml macros
[12:44:13 EST(-0500)] <awills> yeah, that looks to be almost working
[12:44:29 EST(-0500)] <EricDalquist> almost?
[12:44:32 EST(-0500)] <awills> \build.xml:682: The directory you specified does not exist
[12:44:51 EST(-0500)]
[12:45:04 EST(-0500)] <EricDalquist> hrm
[12:45:12 EST(-0500)] <EricDalquist> what os are you using?
[12:45:29 EST(-0500)] <awills> windows
[12:45:35 EST(-0500)]
[12:45:40 EST(-0500)] <EricDalquist> right before that exec call
[12:45:46 EST(-0500)] <EricDalquist> see what it is reporting
[12:45:55 EST(-0500)]
[12:46:04 EST(-0500)] <awills> how does it get set?
[12:46:15 EST(-0500)] <awills> pom again?
[12:46:27 EST(-0500)]
[12:47:37 EST(-0500)] <EricDalquist> ah and it gets set via a macrodef too
[12:47:46 EST(-0500)]
[12:47:57 EST(-0500)] <EricDalquist> re-run it and let me know what you are getting
[12:48:25 EST(-0500)] <awills> mvnexec=mvn.bat, dir=all
[12:48:32 EST(-0500)] <EricDalquist> brb
[12:56:43 EST(-0500)] <awills> eric – i figured out what was happening... here's the command i was running...
[12:56:45 EST(-0500)] <awills> ant -f import-export.xml export -Ddir=all -Dtype=all
[13:02:25 EST(-0500)] <EricDalquist> ah
[13:02:48 EST(-0500)] <EricDalquist> so that "dir" variable in the mvn command should probably get renamed to something more descriptive
[13:04:22 EST(-0500)] <EricDalquist> brb again
[13:08:02 EST(-0500)] <awills> yeah that's what I was going to suggest
[13:08:27 EST(-0500)] <awills> for now I changed it to "." and it works just fine
[13:08:41 EST(-0500)] <awills> at least the "mvn" target
[13:09:19 EST(-0500)] <awills> now i get...
[13:09:20 EST(-0500)] <awills> [java] Caused by: java.lang.RuntimeException: Unable to read the specified resource from the classpath: org/../properties/rdbm.properties
[13:10:46 EST(-0500)] <awills> the Java code is...
[13:11:17 EST(-0500)] <awills> ClasspathURLStreamHandler.class.getClassLoader().getResourceAsStream("org/../properties/rdbm.properties")
[13:11:23 EST(-0500)] <awills> that's a paraphrase
[13:12:54 EST(-0500)] <awills> or even better...
[13:13:10 EST(-0500)] <awills> this.getClass().getClassLoader().getResourceAsStream("org/../properties/rdbm.properties")
[13:19:43 EST(-0500)] <EricDalquist> well org/../ isn't a reali directory
[13:19:47 EST(-0500)] <EricDalquist> what code is calling that?
[13:20:44 EST(-0500)] <awills> code in cernunnos.jar
[13:21:10 EST(-0500)] <awills> it should be loaded by the same class loader, since it's all in a forked <java> call
[13:21:15 EST(-0500)] <EricDalquist> yeah
[13:21:24 EST(-0500)] <EricDalquist> but the path it is trying to load
[13:21:41 EST(-0500)] <EricDalquist> why not just load /properties/rdbm.properties
[13:21:49 EST(-0500)] <EricDalquist> I have no idea if that path would ever work
[13:22:00 EST(-0500)] <awills> works fine in 2-6
[13:22:06 EST(-0500)] <EricDalquist> heh
[13:22:08 EST(-0500)] <awills> but i'll try it
[13:23:15 EST(-0500)] <EricDalquist> btw, I'llb e spotty for a while
[13:23:23 EST(-0500)] <EricDalquist> have a plumber here at home trying to figure something out
[13:23:48 EST(-0500)] <awills> i have to go to lunch too
[15:38:42 EST(-0500)] <esm> not quite perfect, but a ddlutil/maven2 ant run config
[15:38:42 EST(-0500)] <esm> http://rafb.net/p/NKYNRl91.html
[15:57:50 EST(-0500)] * EricDalquist (n=EricDalq@76.210.63.222) has joined ##uportal
[15:58:14 EST(-0500)] <esm> EricDalquist: my latest maven fu: http://rafb.net/p/oBEFGe55.html
[15:58:27 EST(-0500)] <esm> instead of using hibernate's hbm2ddl plugin, i'm trying to use ddlutils
[15:58:32 EST(-0500)] <esm> works pretty well
[15:58:51 EST(-0500)] <esm> build the table DDL in xml and use ddlutils to create a schema for my database
[15:59:05 EST(-0500)] <esm> load it in
[15:59:09 EST(-0500)] <EricDalquist> why not just set <property name="hbm2ddl.auto">update</property>
[15:59:09 EST(-0500)] <esm> run integration tests
[15:59:58 EST(-0500)] <esm> licence concerns regarding the plugin - which is why i'm using ddlutils
[16:00:25 EST(-0500)] <EricDalquist> ah ...
[16:00:40 EST(-0500)] <esm> plus, i'm dropping and re-creating the db on each test method
[16:00:44 EST(-0500)] <esm> just to be sure
[16:00:47 EST(-0500)] <EricDalquist> I have some jpa+hib tests in the up3 code and I don't use any hibernate plugins
[16:00:56 EST(-0500)] <EricDalquist> same here, using in-memmory hsql
[16:00:58 EST(-0500)] <esm> cool i'll take a look
[16:01:10 EST(-0500)] <EricDalquist> it is all in that sandbox project
[16:01:13 EST(-0500)] <esm> i just needed a plugin to generate the table sql
[16:01:15 EST(-0500)] <EricDalquist> for a more self-contained version
[16:01:30 EST(-0500)] <esm> i'm not using hibernate or any other persistence layer
[16:01:43 EST(-0500)] <esm> but i want to be able to execute the tests on various databases.
[16:02:07 EST(-0500)] <EricDalquist> ah
[16:05:31 EST(-0500)] <awills> EricDalquist – fyi i had nbolton help me re-deploy m4 to ja-sig repo
[16:05:41 EST(-0500)] <EricDalquist> ah, did I mess it up?
[16:05:44 EST(-0500)] <awills> b/c the pom for m4 didn't have any dependencies
[16:05:49 EST(-0500)] <awills> no biggie
[16:05:57 EST(-0500)] <EricDalquist> oh
[16:05:58 EST(-0500)] <EricDalquist> yeah
[16:06:02 EST(-0500)] <EricDalquist> I forgot about that :/
[16:06:07 EST(-0500)] <awills> it's all working now
[16:06:46 EST(-0500)] <awills> just had to switch from /org/../properties/rdbm.properties to classpath://properties/rdbm.properties
[16:07:02 EST(-0500)] <EricDalquist> much better reference
[16:07:06 EST(-0500)] <awills> for some reason it's working w/ the absolute URL but not a relative one
[16:07:14 EST(-0500)] <awills> well, i would think so...
[16:07:33 EST(-0500)] <awills> but getting custom URL handlers to work w/in tomcat is onerous
[16:07:59 EST(-0500)] <awills> of course, none of this is being used w/in tomcat atm
[16:08:05 EST(-0500)] <EricDalquist> well the issue is probably that in up3 everything is in a .jar
[16:08:22 EST(-0500)] <awills> but i'd like to be able to use the same scripts w/in a portlet or uPortal
[16:08:23 EST(-0500)] <EricDalquist> so file system relative access tricks and such don't work
[16:09:18 EST(-0500)] <awills> i'm using this constructor...
[16:09:19 EST(-0500)] <awills> http://java.sun.com/j2se/1.5.0/docs/api/java/net/URL.html#URL(java.net.URL,%20java.lang.String)
[16:10:05 EST(-0500)] <awills> like so: new URL(ctx, "../../../../properties/rdbm.properties")
[16:10:16 EST(-0500)] <EricDalquist> can your code just look for classpath:// before doing a URL constructor and just this this.getClass().getResource?
[16:10:23 EST(-0500)] <EricDalquist> the URL object is a very scary one
[16:10:37 EST(-0500)] <EricDalquist> it does DNS lookups when you create it with http/https strings
[16:10:50 EST(-0500)] <EricDalquist> and the hashcode can change based on the IP it looks up
[16:10:54 EST(-0500)] <awills> where 'ctx' was a URL instance pointing to 'classpath://org/jasig/portal/io/export.crn'
[16:11:11 EST(-0500)] <EricDalquist> yeah
[16:11:18 EST(-0500)] <EricDalquist> see that is file system based I think
[16:11:26 EST(-0500)] <EricDalquist> so now that everything is in a .jar
[16:11:29 EST(-0500)] <EricDalquist> that would fail
[16:11:41 EST(-0500)] <EricDalquist> you have to just pull resource from the classpath
[16:11:44 EST(-0500)] <awills> well, the classpath protocol handler uses what i pasted earlier...
[16:11:57 EST(-0500)] <awills> this.getClass().getClassLoader().getResourceAsStream("org/../properties/rdbm.properties")
[16:12:12 EST(-0500)] <EricDalquist> http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html#getResource(java.lang.String)
[16:12:22 EST(-0500)] <awills> so it is being pulled from the classpath
[16:12:28 EST(-0500)] <EricDalquist> ah well that is because that sring isn't a valid classpath identifier
[16:12:39 EST(-0500)] <EricDalquist> and
[16:12:47 EST(-0500)] <EricDalquist> that would be relative to the class calling it
[16:12:48 EST(-0500)] * lescour (n=lescour@129.244.24.211) has joined ##uportal
[16:12:58 EST(-0500)] <EricDalquist> so if that is getting called by org.jasig.portal.Foo
[16:13:15 EST(-0500)] <EricDalquist> it would look for /org/jasig/portal/properties/rdbm.properties
[16:13:52 EST(-0500)] <EricDalquist> though if it is the exact some code in 2.6
[16:13:56 EST(-0500)] <EricDalquist> that is a bit weird
[16:14:58 EST(-0500)] <esm> putting relative references in resource names is dicey i think
[16:15:32 EST(-0500)] <awills> yeah it works for 2.6, and has been dog-food'ed (how whould you represent this word in text?) for ages
[16:15:55 EST(-0500)] <awills> i tried /properties/rdbm.properties as well
[16:16:48 EST(-0500)] <awills> though I haven't used many/any paths that start with '/' in the past, so maybe there
[16:17:10 EST(-0500)] <EricDalquist> generally it is a best practice to reference all classpath resources absolutely
[16:17:16 EST(-0500)] <awills> 's an issue w/ the way those are processed
[16:17:20 EST(-0500)] <EricDalquist> things survive refactoring much better hat way
[16:17:49 EST(-0500)] <awills> but they don't survive being referenced w/ another protocol
[16:18:12 EST(-0500)] <awills> i wish i could count on the classpath:// handler in all cases...
[16:18:39 EST(-0500)] <awills> but the ../../../ business works no matter if 'ctx' is classpath:// or file:/
[16:19:25 EST(-0500)] <esm> can you use just getResource( "rdbm.properties" )
[16:19:30 EST(-0500)] <esm> that should find it no matter what
[16:20:11 EST(-0500)] <EricDalquist> that would only work if the calling class was in /properties
[16:20:17 EST(-0500)] <awills> yeah
[16:20:22 EST(-0500)] <EricDalquist> i thnk
[16:20:27 EST(-0500)] <awills> me too
[16:20:30 EST(-0500)] <esm> i think it searches for it
[16:20:39 EST(-0500)] <esm> maybe i'm wrong
[16:20:42 EST(-0500)] <esm> i alwasy use absolute
[16:20:49 EST(-0500)] <esm> oh
[16:20:54 EST(-0500)] <esm> hm
[16:22:58 EST(-0500)] <awills> eric – is there BookmarksPortlet data in data.xml for uP3?
[16:23:23 EST(-0500)] <awills> not talking about chanpub type data
[16:23:37 EST(-0500)] <EricDalquist> I don't think so
[16:23:44 EST(-0500)] <EricDalquist> it is pretty much the same data.xml as 2.6
[16:23:54 EST(-0500)] <EricDalquist> with a few minor corrections to resource locations
[16:24:00 EST(-0500)] <EricDalquist> I have to run for about 30 minutes
[16:24:05 EST(-0500)] <EricDalquist> back in a few
[16:28:11 EST(-0500)] <awills> k
[16:28:41 EST(-0500)] <awills> when you get back... i'm getting...
[16:28:42 EST(-0500)] <awills> java.lang.IllegalArgumentException: addChild: Child name 'BookmarksPortlet' is not unique
[16:28:47 EST(-0500)] <awills> when i start tomcat
[16:29:31 EST(-0500)] <awills> ah, i found something
[16:58:43 EST(-0500)] <EricDalquist> ok
[16:58:51 EST(-0500)] <EricDalquist> back
[16:59:32 EST(-0500)] <awills> wb
[16:59:42 EST(-0500)] <EricDalquist> this has been a crazy day
[17:01:16 EST(-0500)] <awills> can we remove .classpath, .project, and .springBeans from svn?
[17:01:54 EST(-0500)] <EricDalquist> I suppose we could ... are they causing problems for you?
[17:02:09 EST(-0500)] <awills> they will always show up 'M'
[17:02:27 EST(-0500)] <awills> but the fact that they're modified doesn't have any meaning for the project
[17:02:59 EST(-0500)] <awills> and it's not like you have to create/maintain them by hand
[17:04:17 EST(-0500)] <EricDalquist> ah
[17:04:25 EST(-0500)] <awills> also, FYI, there seems to be a problem w/ the BookmarksPortlet in uP3
[17:04:44 EST(-0500)] <EricDalquist> does it work in a clean version of trunk?
[17:05:06 EST(-0500)] <awills> you mean after 'mvn clean'?
[17:05:32 EST(-0500)] <EricDalquist> a version with no modifications
[17:05:43 EST(-0500)] <awills> not surw
[17:05:47 EST(-0500)] <awills> sure*
[17:06:08 EST(-0500)] <EricDalquist> that would be the test case
[17:06:18 EST(-0500)] <awills> if i delete the BookmarksPortlet from webapps/ entirely...
[17:06:26 EST(-0500)] <awills> then do 'initportal'
[17:07:03 EST(-0500)] <awills> i get a version of BookmarksPortlet that has several <servlet-name>BookmarksPortlet</servlet-name> in it
[17:07:10 EST(-0500)] <awills> in the web.xml
[17:07:23 EST(-0500)] <EricDalquist> hrm
[17:07:24 EST(-0500)] <awills> leading to this...
[17:07:46 EST(-0500)] <awills> SEVERE: Parse error in application web.xml file at jndi:/localhost/BookmarksPortlet/WEB-INF/web.xml
[17:07:46 EST(-0500)] <awills> java.lang.IllegalArgumentException: addChild: Child name 'BookmarksPortlet' is not unique
[17:08:31 EST(-0500)] <EricDalquist> not sure
[17:08:41 EST(-0500)] <EricDalquist> I'll see if I can get around to looking at it today
[17:08:48 EST(-0500)] <awills> it looks as though the crn deployer code was exercised against the same web.xml (w/o 'cleaning' it) several times
[17:09:18 EST(-0500)] <awills> the crn portlet deployer always overwrites web.xml before it does its magic, afaik
[17:10:28 EST(-0500)] <awills> anyway the uP-1834 changes are in uP3
[17:11:03 EST(-0500)] <EricDalquist> can you verify the bookmarks portlet is broken in the trunk before the changes are comitted?
[17:11:42 EST(-0500)] <awills> i can look at the version of that portlet in source, which i think will clue us in greatly
[17:11:58 EST(-0500)] <EricDalquist> well it is getting it from the jasig maven repository
[17:12:05 EST(-0500)] <EricDalquist> the dependency is declared in uportal-ear
[17:12:13 EST(-0500)] <EricDalquist> I would check out a clean copy of the trunk
[17:12:18 EST(-0500)] <awills> but is it in the war target? is it in my local repo?
[17:12:19 EST(-0500)] <EricDalquist> start a new hsql and new tomcat
[17:12:27 EST(-0500)] <EricDalquist> and do initportal on it
[17:12:45 EST(-0500)] <EricDalquist> it would get pulled into your local repo like any other dependency
[17:15:28 EST(-0500)] <awills> the issue is in the web.xml in the BookmarksPortlet.war in the uPortal.ear that gets built in the uportal-ear/target/ dirrectory
[17:16:20 EST(-0500)] <awills> other portlets don't have the issue, at least none that i've looked at
[17:16:29 EST(-0500)] <awills> RSS & google
[17:16:58 EST(-0500)] <EricDalquist> the web.xml in the bookmarks portlet in the central repo looks fine
[17:17:04 EST(-0500)] <EricDalquist> do you have a bad version in your local repo?
[17:17:11 EST(-0500)] <awills> hmm... maybe
[17:17:44 EST(-0500)] <EricDalquist> rm ~/.m2/repository/org/jasig/
[17:17:49 EST(-0500)] <EricDalquist> and run ant deploy-ear again
[17:17:56 EST(-0500)] <awills> 1.0.7 is the version?
[17:18:01 EST(-0500)] <EricDalquist> yup
[17:21:44 EST(-0500)] <awills> running...
[17:21:49 EST(-0500)] <awills> takes a while
[17:27:13 EST(-0500)] * ajxn (n=Jxn@jazz.astrakan.hig.se) has joined ##uportal
[17:28:20 EST(-0500)] <awills> that cleaned it up... at least for now
[17:28:52 EST(-0500)] <EricDalquist> yeah, so some how you and a post-processed version of that .war in your local repository
[17:29:28 EST(-0500)] <awills> if it happens again, I'll investigate more
[17:30:07 EST(-0500)] <awills> i have to run soon... but let me know if you do an svn update
[17:30:39 EST(-0500)] <EricDalquist> ok
[17:30:43 EST(-0500)] <EricDalquist> I haven't touched trunk in a while
[17:30:48 EST(-0500)] <EricDalquist> I'm really just doing pluto work
[17:30:59 EST(-0500)] <awills> gotcha
[17:31:09 EST(-0500)] <awills> in your sndbox?
[17:31:13 EST(-0500)] <EricDalquist> nope
[17:31:15 EST(-0500)] <awills> sand*
[17:31:19 EST(-0500)] <EricDalquist> the working_pluto branch
[17:31:48 EST(-0500)] <EricDalquist> when I get near completion we'll need to talk about what needs to be updated in these scripts
[17:31:49 EST(-0500)] <awills> the one you wrote about a day or so ago?
[17:32:02 EST(-0500)] <awills> that's fine, i'll be all ears
[17:32:06 EST(-0500)] <EricDalquist> well that was sandbox code for getting the dao code flushed out
[17:32:21 EST(-0500)] <EricDalquist> I've been working in a branch for the past 6 weeks or so on upgrading to pluto 1.1
[17:33:09 EST(-0500)] <awills> if you change or add db tables, i believe it will be much nicer for you/us to adjust the starting data set w/ this approach
[17:33:42 EST(-0500)] <EricDalquist> well the portlet preferences tables are going to change
[17:33:46 EST(-0500)] <EricDalquist> and for migration
[17:34:05 EST(-0500)] <EricDalquist> we will have to update all CPortletAdapter channel definitions
[17:34:54 EST(-0500)] <awills> i believe we can handle this transition auto-magically
[17:35:13 EST(-0500)] <awills> as far as the data manipulation goes
[17:35:47 EST(-0500)] <awills> i'll catch you tomorrow... have to hit a store quick
[17:35:58 EST(-0500)] <EricDalquist> later
Unknown macro: {uportal-impl.artifact}
Unknown macro: {mvnExecutable}
Unknown macro: {dir}
Unknown macro: {mvnExecutable}
Unknown macro: {dir}
Unknown macro: {basedir}
Unknown macro: {dir}
General
Content
Integrations