TEAM41CS2340 / BuzzFunds

Spring 2014 CS 2340 Team 41 Group Project
0 stars 1 forks source link

Eclipse project broken #5

Closed OzuYatamutsu closed 10 years ago

OzuYatamutsu commented 10 years ago

I'm not sure if anyone else uses Eclipse/ADK, but since we've moved to Gradle, the Eclipse project is broken, even with the most recent commit.

The problem seems to be that build paths for the project are broken:

[BuzzFunds] The project was not built since its build path is incomplete.

[BuzzFunds-Buzzfunds] Project 'BuzzFunds-BuzzFunds' is missing required source folder: 'build/res/rs/debug'

[BuzzFunds-Buzzfunds] Project 'BuzzFunds-BuzzFunds' is missing required source folder: 'build/source/buildConfig/debug'

[BuzzFunds-Buzzfunds] Project 'BuzzFunds-BuzzFunds' is missing required source folder: 'src/debug/assets'   

(etc. etc.)

I'm OK with using IntelliJ instead, but I'm having trouble running the project - there doesn't seem to be any build configuration:

untitled-1

OzuYatamutsu commented 10 years ago

New fork at last working Eclipse build:

https://github.com/TEAM41CS2340/BuzzFunds/tree/last-eclipse-build-fork

mischif commented 10 years ago

Okay, I just tried this from a fresh clone of my last commit, so I know you can get to a working build from here. I don't know about Eclipse, but this works from IntelliJ: 1) Clone the repo 2) Open IntellIJ, select Import Project 3) Navigate to the directory where you cloned the repo and click OK step3 4) Select "Import project from external module", then choose Gradle and hit next step4 5) IntelliJ should pick up the Gradle buildfile automatically, if it doesn't you select the one in BuzzFunds, not BuzzFunds/BuzzFunds. You need to install Gradle outside of IntelliJ and provide the location if IntelliJ doesn't pick it up automatically. Click Finish. step5

From here, IntelliJ should take over, and you should have a runnable default module (tried it myself, it builds/runs).

OzuYatamutsu commented 10 years ago

Agh, sorry, I guess you can probably tell I'm new to IntelliJ. Thanks for the help, it does indeed compile/run perfectly.