ObsidianBox / Obsidian

Obsidian is the implementation of Magma that extends Forge to deliver server-side content on demand.
http://obsidianbox.org
MIT License
12 stars 3 forks source link

Fix IDE not being able to run Obsidian #20

Closed Zidane closed 10 years ago

Zidane commented 10 years ago

One of the non-intended side effects of separating out the API from Obsidian was loosing the ability to run Obsidian from the IDE.

Need to investigate why and possible options to fix it

Grinch commented 10 years ago

I'm at a loss on how to resolve this issue as ForgeGradle isn't used during the IDE's run, and thus cannot deobfuscate anything. I'm welcome to suggestions from anyone.

Lunaphied commented 10 years ago

You can setup an IDE based multi-module project with your local copies of Obsidian and Magma and use the local project as the dependency for Magma. This has a useful (or annoying) side effect of making magma changes build into your client/server test launched from obsidian. Also allowing editing of both projects simultaneously while still enforcing their separation as two separate modules.

Grinch commented 10 years ago

Ideally I'd like to keep it more automated than that.

Lunaphied commented 10 years ago

It can be automated with a multi-project gradle build script. I just don't know gradle enough to do it myself so I use the IDE and don't have to worry about accidentally building both.

Grinch commented 10 years ago

This has been resolved as of this commit: 71132f63b0fb05b032e455763e8fbc3140c1abed