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 8 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

  • No labels