Problem with Robolectric Sample

45 views
Skip to first unread message

Fabian

unread,
Jun 8, 2011, 5:33:46 AM6/8/11
to Robolectric
Hi

I want to use Robolectric and started with the Sample.

What i have done is:

git clone git://github.com/pivotal/RobolectricSample.git
cd RobolectricSample
android update project -p .
ant maven-setup
mvn clean test

But then i got a lot of build error.

I get a lot of buildfailures like this one:
[ERROR] /Users/fabian/Documents/prog/Incubator/sourceFromOtherPeople/
RobolectricSample/src/main/java/com/pivotallabs/injected/
SampleRoboApplication.java:[4,28] cannot find symbol
symbol : class GuiceApplication
location: package roboguice.application

For me it seems like roboguice is missing. But in lib/main i have
guice....jar and roboguice...jar, in lib/test robuice....-sources.jar
and robolectroc...jar

Have somebody an idea what i have done wrong?

Fabian

Tyler Schultz

unread,
Jun 8, 2011, 10:18:19 AM6/8/11
to robol...@googlegroups.com
I may have buggered this up yesterday morning.  I'll take a closer look at it today.  I think I somehow may have a newer version of Roboguice in my workspace. 

--Tyler

Tyler Schultz

unread,
Jun 8, 2011, 10:16:11 PM6/8/11
to robol...@googlegroups.com
Hi Fabian, 

I reverted my changes. Would you please give it another shot? Let me know if it's still borked.

--Tyler

Fabian

unread,
Jun 10, 2011, 10:41:52 AM6/10/11
to Robolectric
Hi Tyler

The Samples work perfect now.

Thank you

On 9 Jun., 04:16, Tyler Schultz <tylerschu...@gmail.com> wrote:
> Hi Fabian,
>
> I reverted my changes. Would you please give it another shot? Let me know if
> it's still borked.
>
> --Tyler
>
> On Wed, Jun 8, 2011 at 7:18 AM, Tyler Schultz <tylerschu...@gmail.com>wrote:
>
>
>
>
>
>
>
> > I may have buggered this up yesterday morning.  I'll take a closer look at
> > it today.  I think I somehow may have a newer version of Roboguice in my
> > workspace.
>
> > --Tyler
>
Reply all
Reply to author
Forward
0 new messages