uPortal IRC Logs-2013-08-23
[10:30:03 CDT(-0500)] <jwennmacher> tlev: Is there a location I can put a portlet xsd file that is a stable, referenceable URL? I'm thinking we can do something like https://wiki.jasig.org/display/PLT/Announcements+Portlet/topic.xsd, but I'm wondering if there is something better.
[10:34:07 CDT(-0500)] <tlev> that is a valid question. Where have we put xsd's in other projects? what is it going to be referenced by?
[10:37:24 CDT(-0500)] <jwennmacher> This is to support data import for portlet data (and perhaps we can switch portal data to xsd-validated at some point). I'd like a schemaLocation that IDEs and related tools can find to aid with xml code completion and of course validation. Alternately I could try to find a way to reference a relative file system location, but that's not an approach I've really seen used.
[10:40:17 CDT(-0500)] <tlev> I guess the only problem i see with utilizing the wiki for that would be, what if the wiki was down when u tried to access it? It might be an unnecessary dependency if you could host it locally
[10:40:20 CDT(-0500)] <jwennmacher> For instance, right now the Announcement portlet generates xsd's from annotations in the java files and stores the xsd's in something like target/generated-schemas so the files are available locally post-build. I haven't tried to reference relative locations – I'd be more comfortable publishing the schema at an URL that's always accessible because it is more consistent and less confusing for users when they try to edit xml
[10:42:10 CDT(-0500)] <jwennmacher> yeah I thought of that. System down or URL changes get disruptive. It might also be a problem if you try to do a data-import and the xsd is not available. I think I've run into something like that in the past.
[10:44:19 CDT(-0500)] <tlev> If you are only using it for internal purposes, maybe host it on a tomcat instance on one of your machines?
[10:48:16 CDT(-0500)] <jwennmacher> Every installation, including the quickstart, will be using this approach for announcements and other data import (I'd like to eventually move away from the org.danann.cernunnos-based approach of processing XML to JAXB/xsd since it is a pretty common set of technologies).
[10:48:24 CDT(-0500)] <jwennmacher> You might not have an http server running locally.
[10:49:24 CDT(-0500)] <jwennmacher> I see on stack overflow I should be able to reference relative paths. I can try that to see how it works, maybe even check the xsd's into the source so they are versioned as well.
[10:50:19 CDT(-0500)] <jwennmacher> Do you know if uportal's data import use the cernunnos libraries or JAXB or something else?
[10:51:06 CDT(-0500)] <tlev> i believe you can use relative paths
[10:51:25 CDT(-0500)] <jwennmacher> yeah I see a few examples on stackoverflow (love that site)
[10:51:41 CDT(-0500)] <tlev> that might be a better option, then it would all be in the same place and version controlled
[10:52:23 CDT(-0500)] <jwennmacher> I'll give that a shot to see how it works. If we ever allow you to import the files from the uPortal admin UI it may be a problem, but we can deal with that later if so.
[10:55:03 CDT(-0500)] <tlev> sounds good
[10:57:50 CDT(-0500)] <jwennmacher> thanks for your input
[12:44:08 CDT(-0500)] <jwennmacher> tlev: Who is looking at Jasig Bamboo and can alter configuration on the server?
[12:44:42 CDT(-0500)] <tlev> I think drew took over that
[12:45:43 CDT(-0500)] <jwennmacher> OK thanks
[15:31:57 CDT(-0500)] <dmccallum54> anyone know where the source code for this artifact lives?:
[15:31:58 CDT(-0500)] <dmccallum54> <dependency>
[15:31:58 CDT(-0500)] <dmccallum54> <groupId>org.jasig.portal.tools</groupId>
[15:31:58 CDT(-0500)] <dmccallum54> <artifactId>uportal-ant-tasks</artifactId>
[15:31:58 CDT(-0500)] <dmccallum54> <version>1.0.1</version>
[15:31:58 CDT(-0500)] <dmccallum54> <scope>compile</scope>
[15:31:58 CDT(-0500)] <dmccallum54> </dependency>
[15:34:43 CDT(-0500)] <jwennmacher> It's part of the uportal project
[15:34:59 CDT(-0500)] <jwennmacher> See bootstrap/uportal-ant-tasks
[15:35:41 CDT(-0500)] <dmccallum54> far as i can see that's just a reference to the genuine article
[15:36:51 CDT(-0500)] <dmccallum54> i see that the code i need used to be in uP
[15:36:52 CDT(-0500)] <dmccallum54> https://source.jasig.org/uPortal/tags/rel-3-1-0-M2/uportal-ear-deployer/src/main/java/org/jasig/portal/tools/deployer/AbstractEarDeployer.java
[15:36:54 CDT(-0500)] <dmccallum54> but no more...
[15:39:52 CDT(-0500)] <jwennmacher> hmm... don't know. You may want to email Eric D about it if Drew doesn't know
[15:40:28 CDT(-0500)] <dmccallum54> did try checking svn logs… holy cow. it's like the stone age using that thing again
[15:40:42 CDT(-0500)] <jwennmacher>
[15:41:55 CDT(-0500)] <jwennmacher> I think it is here https://github.com/Jasig/uportal-maven-plugin
[15:42:06 CDT(-0500)] <jwennmacher> but not sure .. looks right
[15:43:20 CDT(-0500)] <dmccallum54> close