Jump to content

KingofGamesYami

Members
  • Posts

    14
  • Joined

  • Last visited

Everything posted by KingofGamesYami

  1. Thank You! Thank you SO MUCH. I was so confused and you helped me figure it out -- and it wasn't easy either. Again, thank you. I will add you to the credit when I release the mod
  2. I do not know. The part of my code which is called by ccgit.init is here, perhaps it would be possible to modify in some way? Most of the Lua <> Java stuff is handled by CCTweaks, ComputerCraft, and LuaJ.
  3. Reproduction Steps: 1. Clone repo 2. gradlew build 3. Add ccgit-2.0-all to mods folder with CCTweaks and ComputerCraft. 4. Launch game using minecraft launcher 5. Place an advanced computer 6. Open Lua console. (type lua) 7. Attempt to create repository (type ccgit.init( 'test' )) 8. Observe Java Exception Thrown: java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory 9. Attempt to open repository (type ccgit.open( 'test')) 10. Observe Java Exception Thrown: java.lang.NoClassDefFoundError: Could not initialize class org.eclipse.jgit.internal.storage.file.FileRepository
  4. It will load fine, yes. But actually trying to use any of the methods I add to computercraft doesn't work (unless I'm using runClient. runClient always works).
  5. Ah, the custom build server is down. It was run by a member of the community, looks like he moved it or something. I'll PM some people about it. You can get it here for 1.11.2 (which my mod is compatible with), though you'll need a newer version of CCTweaks for the mods folder (not to compile against). moved to here.
  6. Done! Apologies if anything is missing, I tired to exclude anything which wouldn't be needed. Edit: Almost forgot, you're probably not familiar with ComputerCraft. Once you have the game running, get an advanced computer, place it, right click to open the GUI. Type in "lua" to enter the lua console. Type "ccgit.init( "/test" )" to try to create a git repo. It will show an error message. If it doesn't, I want to know why it works for you and not me XD.
  7. Ah, so also use compile. Tried that, it worked (well, compiled), but ended up with the same results as using "shade" : log4j crashes immediately, and nothing about my mod works. Attempting to use any method I add results in an error referring to log4j.
  8. What. If I don't have it in the dependencies, it won't work...
  9. Trying shadow out, gradlew build no longer functions. Repeated "error: package org.eclipse.jgit.api does not exist" for all imports. I have no idea what I'm doing wrong, as I followed the shadow introduction exactly and nothing seems to be wrong with my build.gradle...
  10. JGit is required to do what I'm doing, which is adding a git API to ComputerCraft.
  11. I've found several posts in various places about this, but the syntax in every case is outdated. I am shading JGit. It and it's dependencies end up in my jar, but slf4j crashes on launch causing general horribleness.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.