Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Non IDE Requiring Build Instructions #5

Open
HeroCC opened this issue Mar 15, 2016 · 12 comments
Open

Non IDE Requiring Build Instructions #5

HeroCC opened this issue Mar 15, 2016 · 12 comments

Comments

@HeroCC
Copy link

HeroCC commented Mar 15, 2016

I want to script the build process to make it automatic, but you can't script the IDE to build it. Is there a way to build hose without using an IDE? I think the releases here aren't supposed to be distributed because of the DMCA a while back.

@HeroCC HeroCC changed the title Non IDE Requiring Instructions Non IDE Requiring Build Instructions Mar 15, 2016
@ajthemacboy
Copy link

This was one of my first thoughts as well: #3

Still looking for a way to do this.

@softpak
Copy link
Owner

softpak commented Mar 15, 2016

The way to build this project without IDE tool is to patch it then run "mvn build" in the Spigot-Server folder that has the pom.xml file. You need to install maven3 first. The reason I use the IDE tool is hoping you can read the code no matter how many code you can read but just reading it god damn it. :)

@ajthemacboy
Copy link

@softpak I think we know how to build the project without the IDE. We just don't know how to patch the source without the IDE.

I'm on Linux so I have the "patch" command available.

Edit: Or maybe we're supposed to put the src.patch file in a certain folder, and then build Spigot?

@softpak
Copy link
Owner

softpak commented Mar 15, 2016

OH I know where your problem is.

  1. Put the src.patch file in Spigot-Server folder.
    Something looks like:
    nms-patches
    target
    src
    src.patch
  2. ~> cd src .
  3. Use the command "patch -p1 < ../src.patch" .

Done.

@ajthemacboy
Copy link

Thanks I will try that. Do I need to use the spigot-app.patch as well?

Sent from my iPhone

On Mar 15, 2016, at 10:19 AM, softpak notifications@github.com wrote:

OH I know where your problem is.

Put the src.patch file in Spigot-Server folder.
Something looks like:
nms-patches
target
src
src.patch

~> cd src .

Use the command "patch -p1 < ../src.patch" .
Done.


You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
#5 (comment)

@HeroCC
Copy link
Author

HeroCC commented Mar 15, 2016

@ajthemacboy, I think you mean spigot-api.patch? Not spigot-app.patch? (Looks like iPhone Autocorrect)

@ajthemacboy
Copy link

@HeroCC That's what I meant yes.

@softpak
Copy link
Owner

softpak commented Mar 16, 2016

Yes, you need to patch and build spigot-api as well.

@ajthemacboy
Copy link

I successfully patched and built Spigot-API, but Spigot-Server fails to compile: https://gist.github.com/ajthemacboy/96e0f2e725c90fe17fd9

Thank you for all your help!

@softpak
Copy link
Owner

softpak commented Mar 16, 2016

Oh my god...
Let me figure it out.

@softpak
Copy link
Owner

softpak commented Mar 18, 2016

Please change
<signature>
<groupId>org.codehaus.mojo.signature</groupId>
<artifactId>java16</artifactId>
<version>1.0</version>
</signature>

to

<signature>
<groupId>org.codehaus.mojo.signature</groupId>
<artifactId>java18</artifactId>
<version>1.0</version>
</signature>

in pom.xml and try again.

@ajthemacboy
Copy link

It failed again. Here's the log: https://www.dropbox.com/s/7c2ujnm2u98ffq1/log.txt?dl=0 (So large Chrome froze when I tried to paste it..)

Here's the pom.xml: http://i.imgur.com/O5E79l3.png

I believe I changed pom.xml correctly, didn't I?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants