Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 14 Next »

[15:42:38 CDT(-0500)] <athena> FYI apparently JAXB isn't practically usable from android project

[15:43:02 CDT(-0500)] <EricDalquist> well android doesn't run Java (wink)

[15:43:06 CDT(-0500)] <athena> indeed

[15:43:17 CDT(-0500)] <athena> you can of course add jars

[15:43:29 CDT(-0500)] <athena> but apparently that one would make the app like 9MB bigger, which is . . . bad :0

[15:43:55 CDT(-0500)] <EricDalquist> yeah

[15:44:43 CDT(-0500)] <athena> in the longer term need to figure out a good way to let js and java share a common config

[15:44:59 CDT(-0500)] <athena> maybe the thing to do will be to just have the configuration read by java, then exposed to js via a phonegap plugin

[15:45:00 CDT(-0500)] <athena> we'll see

[15:45:09 CDT(-0500)] <athena> not the end of the world for now though, i guess

[15:45:51 CDT(-0500)] <athena> i wish we could just use JSON

[15:45:57 CDT(-0500)] <athena> but JSOn doesn't allow comments :/

[15:45:59 CDT(-0500)] <EricDalquist> is this static config

[15:46:06 CDT(-0500)] <EricDalquist> or can it be grabbed from the portal at runtime?

[15:46:15 CDT(-0500)] <athena> this is for the native app, not the portal

[15:46:22 CDT(-0500)] <EricDalquist> ah

[15:46:27 CDT(-0500)] <EricDalquist> can you generate it at build time?

[15:46:36 CDT(-0500)] <EricDalquist> Jackson can generate JSON using JAXB annoations

[15:46:42 CDT(-0500)] <EricDalquist> why not config in XML

[15:46:46 CDT(-0500)] <EricDalquist> use JAXB for the java code

[15:46:56 CDT(-0500)] <athena> can't use JAXB

[15:47:02 CDT(-0500)] <EricDalquist> and write a little class that does XML -> Java -> JSON with Jackson

[15:47:04 CDT(-0500)] <EricDalquist> oh right

[15:47:08 CDT(-0500)] <EricDalquist> this is all within the phone

[15:47:11 CDT(-0500)] <EricDalquist> (tongue)

[15:47:13 CDT(-0500)] <athena> yeah (tongue)

[15:47:30 CDT(-0500)] <EricDalquist> well you could use JSOn in the Java code too

[15:47:34 CDT(-0500)] <athena> we could

[15:47:37 CDT(-0500)] <EricDalquist> and have the build process generate the JSON from the XML

[15:47:47 CDT(-0500)] <EricDalquist> so you get commented XML

[15:47:53 CDT(-0500)] <athena> yeah

[15:48:02 CDT(-0500)] <athena> i'd have to figure out how to hook into the android build process

[15:48:06 CDT(-0500)] <EricDalquist> just random ideas

[15:48:13 CDT(-0500)] <athena> for now just putting the config in the main java file

[15:48:17 CDT(-0500)] <athena> since you have to hand-edit that anyway

[15:56:16 CDT(-0500)] <EricDalquist> I just merged 77 commits from uw-master into uPortal master

[15:56:26 CDT(-0500)] <EricDalquist> 73 of those were working on event aggregation

[15:57:40 CDT(-0500)] <athena> ooo

[16:12:13 CDT(-0500)] <EricDalquist> every time I have to do something like that

[16:12:15 CDT(-0500)] <EricDalquist> git amazes me

[16:12:21 CDT(-0500)] <EricDalquist> it handles merging across branches so nicely

[16:19:45 CDT(-0500)] <athena> so cool (smile)

[16:30:28 CDT(-0500)] <EricDalquist> athena: will you be able to test the upgrade procedures against the conf db when I get this ready?

[16:30:43 CDT(-0500)] <EricDalquist> like do you have the ability to create a postgrest instance with that data

[16:30:45 CDT(-0500)] <EricDalquist> muck with it

[16:30:49 CDT(-0500)] <EricDalquist> and then start over if needed?

[16:37:22 CDT(-0500)] <EricDalquist> oh uhg

[16:37:30 CDT(-0500)] <EricDalquist> I need to figure out this postgres LOB issue too (sad)

[16:39:29 CDT(-0500)] <athena> yes, i can create some test postgres DBs

[16:39:51 CDT(-0500)] <EricDalquist> great

[16:39:56 CDT(-0500)] <EricDalquist> it will be another day or two

[16:40:05 CDT(-0500)] <EricDalquist> but I should have a upgrade script put together soon

  • No labels