• Hello Guest! Did you know that ProjectKorra has an official Discord server? A lot of discussion about the official server, development process, and community discussion happens over there. Feel free to join now by clicking the link below.

    Join the Discord Server

GitHub Contributing

StrangeOne101

Staff member
Plugin Developer
Moderator
Do I have to install something Maven related as an Eclipse plugin? I get the Java Application option but I didn't show it because it wasn't what you were listing. The Java Application is all that's listed.
Maybe you got the wrong version of eclipse, I don't know ¯\_(ツ)_/¯
 

xNuminousx

Member
Oh well, I probably shouldn't be contributing anyways. I had a fix for FireManipulation and wanted to test it and that's when I found the errors. I'll just PR and someone else can tell me if it doesn't work.
 

StrangeOne101

Staff member
Plugin Developer
Moderator
I'm not 100% sure why you don't have it but my guess is that you installed the other type of Java eclipse. There's two: one that supports Java, Maven, and a few other java related things and the other one, which supports other languages too.

Look on the eclipse marketplace as you may be able to get the stuff there. But I'm not sure. Sorry :p
 

xNuminousx

Member
I'm not 100% sure why you don't have it but my guess is that you installed the other type of Java eclipse. There's two: one that supports Java, Maven, and a few other java related things and the other one, which supports other languages too.

Look on the eclipse marketplace as you may be able to get the stuff there. But I'm not sure. Sorry :p
Thanks for your help!
 

Sobki

Staff member
Lead Developer
Plugin Developer
Are you sure you have converted your project to be a Maven project?

Right-click ProjectKorra > Configure > Convert to Maven Project
 

Sobki

Staff member
Lead Developer
Plugin Developer
ProjectKorra uses Maven so it needs to be set up as a Maven project. Do that and then try to Maven Install.
 

xNuminousx

Member
Okay so Sobki was right, the maven stuff showed up. I clicked Maven Install and a console appeared and is now spitting TONS of stuff. Now what? How does this solve the problem?

Jar exporting now fails so I don't assume it's business as usual.
 

StrangeOne101

Staff member
Plugin Developer
Moderator
@xNuminousx If Maven fails to export, it should give you an error. It's not a stracktrace like a Java runtime exception, but it's still an error. You might have what happened to me and have some Maven jars corrupted.
 

xNuminousx

Member
Well I checked the console that pops up when you do Maven Install and nothing new happens. And the same ol' error happens in the minecraft console for regular exporting.
 

xNuminousx

Member
Finally took time to get the warning log, here it is:
https://pastebin.com/8CQKf55Z

PS: Just to be clear, I click Maven Install, the console pops up, when it finishes it's task I export it like normal? I feel like there's a different way I'm supposed to be exporting that I'm not seeing. This is my first time dealing with Maven obviously.

Edit
By looking at the log, it reads as a directory error.... Would I have to add those build paths myself?
 

StrangeOne101

Staff member
Plugin Developer
Moderator
Finally took time to get the warning log, here it is:
https://pastebin.com/8CQKf55Z

PS: Just to be clear, I click Maven Install, the console pops up, when it finishes it's task I export it like normal? I feel like there's a different way I'm supposed to be exporting that I'm not seeing. This is my first time dealing with Maven obviously.
Those warnings are normal, but you are looking for the big
Code:
--------------------
 BUILD SUCCESS
-----------------------
or something. If it doesn't say that, does it say build fail? If so, there will be an error above that and that's what we need

If it does succeed, then the jar can be found in /target/ProjectKorra-1.8.X.jar
 
Top