Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
JSONObject throws RuntimeException -> Pivotal: Is this solution okay?)
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Ethan Close  
View profile  
 More options Dec 8 2011, 12:25 pm
From: Ethan Close <et...@inqmobile.com>
Date: Thu, 8 Dec 2011 09:25:42 -0800
Local: Thurs, Dec 8 2011 12:25 pm
Subject: Re: [robolectric] JSONObject throws RuntimeException -> Pivotal: Is this solution okay?)

I think that's a great question. I'm curious if it's even a valid solution
to the problem. Does anyone at Pivotal know if this is an acceptable
solution?

Ethan.

On 7 December 2011 23:50, Logdog82 <logdo...@gmail.com> wrote:

> Thanks. It works. But why is the json.jar not included in Robolectric?
> hmm..

--
Ethan Close
m: +1.415.913.0117 | skype: ethanclose | et...@inqmobile.com
INQ Mobile, 139 Townsend Street Suite 400, San Francisco, CA 94107

This e-mail is only intended for the person(s) to whom it is addressed and may contain CONFIDENTIAL information. Any opinions or views are personal to the writer and do not represent those of INQ Mobile Limited, Hutchison Whampoa Limited or its group companies.  If you  are not the intended recipient, you are hereby notified that any use, retention, disclosure, copying, printing, forwarding or dissemination of this communication is strictly prohibited. If you have received this  communication in error, please erase all copies of the message and its  attachments and notify the sender immediately. INQ Mobile Limited is  a company registered in the British Virgin Islands. www.inqmobile.com.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tyler Schultz  
View profile  
 More options Dec 8 2011, 10:31 pm
From: Tyler Schultz <tylerschu...@gmail.com>
Date: Thu, 8 Dec 2011 19:31:11 -0800
Local: Thurs, Dec 8 2011 10:31 pm
Subject: Re: [robolectric] JSONObject throws RuntimeException -> Pivotal: Is this solution okay?)

Here's the long story:
At one time we built the jars from an ant task - 'jar-all'.  All of the
jars that are in the lib/main directory were packaged into the jar, with
some exclusions. From reading the task now it appears the json-xxx.jar
would have been included. At the end of 2010 we switched over to building
the jars with maven. I'm looking at the pom file and there is no dependecy
on the org.json library. There is nothing in robolectric that requires the
json jar, so there's no dependency, and therefore the 'with dependencies'
jar does not include it.

The short story:
Robolectric used to include it, but now it doesn't.

While it seems the with dependencies jar should include org.json, it does
seem wrong to depend on the jar if its not required. I could be convinced
either way.
I'm sorry you've had to waste time wondering about it. If you're having
this issue, then others are probably too. I guess that means we should add
it to the pom. What do you think?

--Tyler


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ethan Close  
View profile  
 More options Dec 11 2011, 8:00 pm
From: Ethan Close <et...@inqmobile.com>
Date: Sun, 11 Dec 2011 17:00:42 -0800
Local: Sun, Dec 11 2011 8:00 pm
Subject: Re: [robolectric] JSONObject throws RuntimeException -> Pivotal: Is this solution okay?)

Since the org.json package is in android.jar, it seems like it should be
included in the robolectric jar.

Ethan.

On 8 December 2011 19:31, Tyler Schultz <tylerschu...@gmail.com> wrote:

--
Ethan Close
m: +1.415.913.0117 | skype: ethanclose | et...@inqmobile.com
INQ Mobile, 139 Townsend Street Suite 400, San Francisco, CA 94107

This e-mail is only intended for the person(s) to whom it is addressed and may contain CONFIDENTIAL information. Any opinions or views are personal to the writer and do not represent those of INQ Mobile Limited, Hutchison Whampoa Limited or its group companies.  If you  are not the intended recipient, you are hereby notified that any use, retention, disclosure, copying, printing, forwarding or dissemination of this communication is strictly prohibited. If you have received this  communication in error, please erase all copies of the message and its  attachments and notify the sender immediately. INQ Mobile Limited is  a company registered in the British Virgin Islands. www.inqmobile.com.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tom Dignan  
View profile  
 More options Nov 13 2012, 5:49 pm
From: Tom Dignan <tom.dig...@gmail.com>
Date: Tue, 13 Nov 2012 14:49:51 -0800 (PST)
Local: Tues, Nov 13 2012 5:49 pm
Subject: Re: [robolectric] JSONObject throws RuntimeException -> Pivotal: Is this solution okay?)

It would be excellent if the json lib was included in
robolectric-with-dependencies.jar. Currently wrestling with that issue now
(using ant, not maven here)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Phil Goodwin  
View profile  
 More options Nov 13 2012, 6:07 pm
From: Phil Goodwin <p...@pivotallabs.com>
Date: Tue, 13 Nov 2012 15:07:34 -0800
Local: Tues, Nov 13 2012 6:07 pm
Subject: Re: [robolectric] JSONObject throws RuntimeException -> Pivotal: Is this solution okay?)

I think that including it would satisfy the principal of least surprise.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tom Dignan  
View profile  
 More options Nov 13 2012, 11:09 pm
From: Tom Dignan <tom.dig...@gmail.com>
Date: Tue, 13 Nov 2012 20:09:09 -0800 (PST)
Local: Tues, Nov 13 2012 11:09 pm
Subject: Re: [robolectric] JSONObject throws RuntimeException -> Pivotal: Is this solution okay?)

I just compiled the latest robolectric from github and in there it seems
included :)!!!!


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »