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.
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?
On Thu, Dec 8, 2011 at 9:25 AM, Ethan Close <et...@inqmobile.com> wrote: > 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.
> 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
> On Thu, Dec 8, 2011 at 9:25 AM, Ethan Close <et...@inqmobile.com> wrote:
>> 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.
-- 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.
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)
On Thursday, December 8, 2011 10:31:11 PM UTC-5, Tyler Schultz wrote:
> 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
> On Thu, Dec 8, 2011 at 9:25 AM, Ethan Close <et...@inqmobile.com<javascript:> > > wrote:
>> 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 <logd...@gmail.com <javascript:>>wrote:
>>> Thanks. It works. But why is the json.jar not included in Robolectric? >>> hmm..
>> 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.
On Tue, Nov 13, 2012 at 2:49 PM, Tom Dignan <tom.dig...@gmail.com> wrote:
> 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)
> On Thursday, December 8, 2011 10:31:11 PM UTC-5, Tyler Schultz wrote:
>> 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
>> On Thu, Dec 8, 2011 at 9:25 AM, Ethan Close <et...@inqmobile.com> wrote:
>>> 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 <logd...@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.
On Tuesday, November 13, 2012 6:07:57 PM UTC-5, Phil Goodwin wrote:
> I think that including it would satisfy the principal of least surprise.
> On Tue, Nov 13, 2012 at 2:49 PM, Tom Dignan <tom.d...@gmail.com<javascript:> > > wrote:
>> 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)
>> On Thursday, December 8, 2011 10:31:11 PM UTC-5, Tyler Schultz wrote:
>>> 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
>>> On Thu, Dec 8, 2011 at 9:25 AM, Ethan Close <et...@inqmobile.com> wrote:
>>>> 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 <logd...@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.