Jump to content
  • Home
  • Files
  • Docs
Topics
  • All Content

  • This Topic
  • This Forum

  • Advanced Search
  • Existing user? Sign In  

    Sign In



    • Not recommended on shared computers


    • Forgot your password?

  • Sign Up
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • ForgeGradle
  • gradle setupDecompWorkspace not working on OSX
Currently Supported: 1.16.X (Latest) and 1.15.X (LTS)
Sign in to follow this  
Followers 0
libarclite

gradle setupDecompWorkspace not working on OSX

By libarclite, January 2, 2014 in ForgeGradle

  • Reply to this topic
  • Start new topic

Recommended Posts

libarclite    2

libarclite

libarclite    2

  • Tree Puncher
  • libarclite
  • Members
  • 2
  • 42 posts
Posted January 2, 2014

Attempting to build ExampleMod included with forge-1.7.2-10.12.0.982-src, following the tutorial instructions I tried:

 

gradle --info setupDevWorkspace

 

and got the following error messages:

 

Starting Build

Settings evaluated using empty settings script.

Projects loaded. Root project using build file '/private/var/tmp/forge-1.7.2-10.12.0.982-src/build.gradle'.

Included projects: [root project 'forge-1.7.2-10.12.0.982-src']

Evaluating root project 'forge-1.7.2-10.12.0.982-src' using build file '/private/var/tmp/forge-1.7.2-10.12.0.982-src/build.gradle'.

Compiling build file '/private/var/tmp/forge-1.7.2-10.12.0.982-src/build.gradle' using StatementExtractingScriptTransformer.

Compiling build file '/private/var/tmp/forge-1.7.2-10.12.0.982-src/build.gradle' using BuildScriptTransformer.

****************************

Powered By MCP:           

http://mcp.ocean-labs.de/ 

Searge, ProfMobius, Fesh0r,

R4wk, ZeuX, IngisKahn     

Resolving:  MCP Data version : {MCP_VERSION}

Resolved:  MCP Data version : unknown

MCP Data version : unknown

****************************

Resolving: {BUILD_DIR}/unpacked/dev.json

Resolved:  /private/var/tmp/forge-1.7.2-10.12.0.982-src/build/unpacked/dev.json

Failed to get resource: GET. [HTTP HTTP/1.1 403 Forbidden: https://libraries.minecraft.net/net/minecraftforge/forge/1.7.2-10.12.0.982/forge-1.7.2-10.12.0.982.pom]

Resolving: {CACHE_DIR}/minecraft/net/minecraftforge/forge/{API_VERSION}/forge-{API_VERSION}-fmlinjected.jar

Resolved:  /Volumes/Users/beard/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.2-10.12.0.982/forge-1.7.2-10.12.0.982-fmlinjected.jar

Resolving: {BUILD_DIR}/sources/java

Resolved:  /private/var/tmp/forge-1.7.2-10.12.0.982-src/build/sources/java

Resolving: {CACHE_DIR}/minecraft/net/minecraftforge/forge/{API_VERSION}/forge-{API_VERSION}-mcp.jar

Resolved:  /Volumes/Users/beard/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.2-10.12.0.982/forge-1.7.2-10.12.0.982-mcp.jar

All projects evaluated.

Resolving: {BUILD_DIR}/unpacked/conf/packaged.srg

Resolved:  /private/var/tmp/forge-1.7.2-10.12.0.982-src/build/unpacked/conf/packaged.srg

Resolving: {BUILD_DIR}/unpacked/mappings/methods.csv

Resolved:  /private/var/tmp/forge-1.7.2-10.12.0.982-src/build/unpacked/mappings/methods.csv

Resolving: {BUILD_DIR}/unpacked/mappings/fields.csv

Resolved:  /private/var/tmp/forge-1.7.2-10.12.0.982-src/build/unpacked/mappings/fields.csv

Resolving: /Volumes/Users/beard/.gradle/caches/modules-2/files-2.1/net.minecraftforge/forge/1.7.2-10.12.0.982/15bef93585b8a794365162090d6f5951814197cd/forge-1.7.2-10.12.0.982-userdev.jar

Resolved:  /Volumes/Users/beard/.gradle/caches/modules-2/files-2.1/net.minecraftforge/forge/1.7.2-10.12.0.982/15bef93585b8a794365162090d6f5951814197cd/forge-1.7.2-10.12.0.982-userdev.jar

Resolving: {CACHE_DIR}/minecraft/net/minecraftforge/forge/{API_VERSION}/forge-{API_VERSION}.jar

Resolved:  /Volumes/Users/beard/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.2-10.12.0.982/forge-1.7.2-10.12.0.982.jar

Resolving: {BUILD_DIR}/unpacked/conf/packaged.exc

Resolved:  /private/var/tmp/forge-1.7.2-10.12.0.982-src/build/unpacked/conf/packaged.exc

Resolving: {BUILD_DIR}/unpacked/conf/exceptor.json

Resolved:  /private/var/tmp/forge-1.7.2-10.12.0.982-src/build/unpacked/conf/exceptor.json

Resolving: {BUILD_DIR}/unpacked/conf/notch-mcp.srg

Resolved:  /private/var/tmp/forge-1.7.2-10.12.0.982-src/build/unpacked/conf/notch-mcp.srg

Resolving: {BUILD_DIR}/unpacked/src/main/resources/fml_at.cfg

Resolved:  /private/var/tmp/forge-1.7.2-10.12.0.982-src/build/unpacked/src/main/resources/fml_at.cfg

Resolving: {BUILD_DIR}/unpacked/src/main/resources/forge_at.cfg

Resolved:  /private/var/tmp/forge-1.7.2-10.12.0.982-src/build/unpacked/src/main/resources/forge_at.cfg

Resolving: {BUILD_DIR}/unpacked/src/main/resources

Resolved:  /private/var/tmp/forge-1.7.2-10.12.0.982-src/build/unpacked/src/main/resources

Resolving: {CACHE_DIR}/minecraft/net/minecraft/minecraft_merged/{MC_VERSION}/minecraft_merged-{MC_VERSION}.jar

Resolved:  /Volumes/Users/beard/.gradle/caches/minecraft/net/minecraft/minecraft_merged/1.7.2/minecraft_merged-1.7.2.jar

Resolving: {BUILD_DIR}/unpacked/devbinpatches.pack.lzma

Resolved:  /private/var/tmp/forge-1.7.2-10.12.0.982-src/build/unpacked/devbinpatches.pack.lzma

Resolving: {BUILD_DIR}/unpacked/binaries.jar

Resolved:  /private/var/tmp/forge-1.7.2-10.12.0.982-src/build/unpacked/binaries.jar

Resolving: {CACHE_DIR}/minecraft/net/minecraft/minecraft_server/{MC_VERSION}/minecraft_server-{MC_VERSION}.jar

Resolved:  /Volumes/Users/beard/.gradle/caches/minecraft/net/minecraft/minecraft_server/1.7.2/minecraft_server-1.7.2.jar

Resolving: {CACHE_DIR}/minecraft/net/minecraft/minecraft/{MC_VERSION}/minecraft-{MC_VERSION}.jar

Resolved:  /Volumes/Users/beard/.gradle/caches/minecraft/net/minecraft/minecraft/1.7.2/minecraft-1.7.2.jar

Resolving: {BUILD_DIR}/unpacked/conf/mcp_merge.cfg

Resolved:  /private/var/tmp/forge-1.7.2-10.12.0.982-src/build/unpacked/conf/mcp_merge.cfg

Selected primary task 'setupDevWorkspace'

Tasks to be executed: [task ':extractUserDev', task ':getAssetsIndex', task ':getAssets', task ':copyAssets', task ':downloadClient', task ':downloadServer', task ':mergeJars', task ':applyBinPatches', task ':downloadMcpTools', task ':genSrgs', task ':deobfBinJar', task ':extractNatives', task ':setupDevWorkspace']

:extractUserDev (Thread[main,5,main]) started.

:extractUserDev

Executing task ':extractUserDev' (up-to-date check took 0.0 secs) due to:

  Task has not declared any outputs.

Resolving: {BUILD_DIR}/unpacked

Resolved:  /private/var/tmp/forge-1.7.2-10.12.0.982-src/build/unpacked

Resolving: {BUILD_DIR}/unpacked/dev.json

Resolved:  /private/var/tmp/forge-1.7.2-10.12.0.982-src/build/unpacked/dev.json

Cached resource is up-to-date (lastModified: Tue Nov 26 08:00:19 PST 2013). [HTTP: https://libraries.minecraft.net/org/lwjgl/lwjgl/lwjgl-platform/2.9.1-nightly-20131017/lwjgl-platform-2.9.1-nightly-20131017.pom]'>https://libraries.minecraft.net/org/lwjgl/lwjgl/lwjgl-platform/2.9.1-nightly-20131017/lwjgl-platform-2.9.1-nightly-20131017.pom]

Failed to get resource: GET. [HTTP HTTP/1.1 403 Forbidden: https://libraries.minecraft.net/org/lwjgl/lwjgl/parent/2.9.1-SNAPSHOT/maven-metadata.xml]

Resource missing. [HTTP GET: http://files.minecraftforge.net/maven/org/lwjgl/lwjgl/parent/2.9.1-SNAPSHOT/maven-metadata.xml]

Resource missing. [HTTP GET: http://files.minecraftforge.net/maven/org/lwjgl/lwjgl/parent/2.9.1-SNAPSHOT/parent-2.9.1-SNAPSHOT.pom]

Resource missing. [HTTP HEAD: http://files.minecraftforge.net/maven/org/lwjgl/lwjgl/parent/2.9.1-SNAPSHOT/parent-2.9.1-SNAPSHOT.jar]

Resource missing. [HTTP GET: http://repo1.maven.org/maven2/org/lwjgl/lwjgl/parent/2.9.1-SNAPSHOT/maven-metadata.xml]

Resource missing. [HTTP GET: http://repo1.maven.org/maven2/org/lwjgl/lwjgl/parent/2.9.1-SNAPSHOT/parent-2.9.1-SNAPSHOT.pom]

Resource missing. [HTTP HEAD: http://repo1.maven.org/maven2/org/lwjgl/lwjgl/parent/2.9.1-SNAPSHOT/parent-2.9.1-SNAPSHOT.jar]

Resource missing. [HTTP HEAD: http://files.minecraftforge.net/maven/org/lwjgl/lwjgl/lwjgl-platform/2.9.1-nightly-20131017/lwjgl-platform-2.9.1-nightly-20131017.pom]

Resource missing. [HTTP HEAD: http://files.minecraftforge.net/maven/org/lwjgl/lwjgl/lwjgl-platform/2.9.1-nightly-20131017/lwjgl-platform-2.9.1-nightly-20131017-natives-osx.jar]

Resource missing. [HTTP HEAD: http://repo1.maven.org/maven2/org/lwjgl/lwjgl/lwjgl-platform/2.9.1-nightly-20131017/lwjgl-platform-2.9.1-nightly-20131017.pom]

Resource missing. [HTTP HEAD: http://repo1.maven.org/maven2/org/lwjgl/lwjgl/lwjgl-platform/2.9.1-nightly-20131017/lwjgl-platform-2.9.1-nightly-20131017-natives-osx.jar]

:extractUserDev FAILED

:extractUserDev (Thread[main,5,main]) completed. Took 3.071 secs.

 

FAILURE: Build failed with an exception.

 

* What went wrong:

Execution failed for task ':extractUserDev'.

> Could not resolve all dependencies for configuration ':minecraftNatives'.

  > Could not resolve org.lwjgl.lwjgl:lwjgl-platform:2.9.1-nightly-20131017.

    Required by:

        com.yourname.modid:forge-1.7.2-10.12.0.982-src:1.0

      > Could not parse POM https://libraries.minecraft.net/org/lwjgl/lwjgl/lwjgl-platform/2.9.1-nightly-20131017/lwjgl-platform-2.9.1-nightly-20131017.pom

        > Could not resolve org.lwjgl.lwjgl:parent:2.9.1-SNAPSHOT.

            > Unable to load Maven meta-data from https://libraries.minecraft.net/org/lwjgl/lwjgl/parent/2.9.1-SNAPSHOT/maven-metadata.xml.

              > Could not GET 'https://libraries.minecraft.net/org/lwjgl/lwjgl/parent/2.9.1-SNAPSHOT/maven-metadata.xml'. Received status code 403 from server: Forbidden

 

* Try:

Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output.

 

BUILD FAILED

 

Total time: 10.337 secs

Stopped 0 compiler daemon(s).

 

The tutorial did say this was untested on OSX. Any advice for how to proceed?

  • Quote

Share this post


Link to post
Share on other sites

libarclite    2

libarclite

libarclite    2

  • Tree Puncher
  • libarclite
  • Members
  • 2
  • 42 posts
Posted January 2, 2014

Attempted to import forge-1.7.2-10.12.0.982-src using the gradle eclipse plugin as well, and got exactly the same problem. The plugin popped up a dialog with the same error message:

 

Could not GET 'https://libraries.minecraft.net/org/lwjgl/lwjgl/parent/2.9.1-SNAPSHOT/maven-metadata.xml'. Received status code 403 from server: Forbidden

Could not execute build using Gradle distribution 'http://services.gradle.org/distributions/gradle-1.8-bin.zip'.

 

  • Quote

Share this post


Link to post
Share on other sites

luisc99    12

luisc99

luisc99    12

  • Creeper Killer
  • luisc99
  • Forge Modder
  • 12
  • 107 posts
Posted January 2, 2014

I too have been having some problems with Gradle for OS X, although not in the way above. For some reason, gradlew seems it can't find the task

setupDecompWorkspace

, and tells me to try

gradlew tasks

where it too does not show up. Not sure if I'm missing something obvious or not, or if it actually isn't working.

 

:/

 

Log:

 

 

Last login: Thu Jan  2 15:13:54 on console
Luiss-iMac:~ Luis$ /Volumes/LUIS/Development/MCP/gradlew setupDecompWorkspace

FAILURE: Could not determine which tasks to execute.

* What went wrong:
Task 'setupDecompWorkspace' not found in root project 'Luis'.

* Try:
Run gradlew tasks to get a list of available tasks.

BUILD FAILED

Total time: 3.328 secs
Luiss-iMac:~ Luis$ /Volumes/LUIS/Development/MCP/gradlew tasks
:tasks

------------------------------------------------------------
All tasks runnable from root project
------------------------------------------------------------

Build Setup tasks
-----------------
setupBuild - Initializes a new Gradle build. [incubating]
wrapper - Generates Gradle wrapper files. [incubating]

Help tasks
----------
dependencies - Displays all dependencies declared in root project 'Luis'.
dependencyInsight - Displays the insight into a specific dependency in root project 'Luis'.
help - Displays a help message
projects - Displays the sub-projects of root project 'Luis'.
properties - Displays the properties of root project 'Luis'.
tasks - Displays the tasks runnable from root project 'Luis'.

To see all tasks and more detail, run with --all.

BUILD SUCCESSFUL

Total time: 1.933 secs
Luiss-iMac:~ Luis$ /Volumes/LUIS/Development/MCP/gradlew setupDevWorkspace

FAILURE: Could not determine which tasks to execute.

* What went wrong:
Task 'setupDevWorkspace' not found in root project 'Luis'.

* Try:
Run gradlew tasks to get a list of available tasks.

BUILD FAILED

Total time: 1.733 secs
Luiss-iMac:~ Luis$

 

 

 

 

 


 

 

 

EDIT: I figured it out, it was a derp. I ran

cd /Volumes/LUIS/Development/MCP

then dragged the gradlew file into the terminal, and it worked. Just a little heads-up to anyone having the same problem, don't forget to direct the terminal to your folder first!

  • Quote

Share this post


Link to post
Share on other sites

mabrowning    2

mabrowning

mabrowning    2

  • Tree Puncher
  • mabrowning
  • Members
  • 2
  • 2 posts
Posted January 2, 2014

I had the same problem and was able to get around it by modifying the build/unpacked/dev.json to use 2.9.1 instead of 2.9.1-nightly... for the lwjgl libraries.

 

I then encountered another problem that cropped up with MCP earlier this year: we need more heap space than the default gradle script allows. I specified 1024m and was able to build to completion.

 

Hope that helps.

  • Quote

Share this post


Link to post
Share on other sites

libarclite    2

libarclite

libarclite    2

  • Tree Puncher
  • libarclite
  • Members
  • 2
  • 42 posts
Posted January 2, 2014

Thanks @mabrowning, I was able to kick it by editing the build/unpacked/dev.json file, changing "2.9.1-nightly-20131017" to "2.9.1". Strangely, after the build succeeded, the file reverted to those values, but I think the lwjgl libraries were downloaded from somewhere else.

 

Is there a cleaner way to fix this for OSX?

 

Many thanks.

  • Quote

Share this post


Link to post
Share on other sites

LexManos    1620

LexManos

LexManos    1620

  • Reality Controller
  • LexManos
  • Forge Code God
  • 1620
  • 8954 posts
Posted January 2, 2014

The issue is on the Mojang servers' end, not much we can do about it, the launcher is having the same issue so they should be addressing it, and once they do we will update on our end.

This is why we cache things if you get the files once you wont need to download them ever again. So kep trying

 

  • Quote

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Patreon: http://www.patreon.com/lexmanos
Paypal: http://paypal.me/LexManos

BitCoin: 1Q8rWvUNMM2T1ZfDaFeeYQyVXtYoeT6tTn

Share this post


Link to post
Share on other sites

mabrowning    2

mabrowning

mabrowning    2

  • Tree Puncher
  • mabrowning
  • Members
  • 2
  • 2 posts
Posted January 2, 2014

Lex, is there an easy way to increase the default heap size when running on OSX? Perhaps just in the gradle wrapper? Admittedly, not a hard problem to solve, but you have to run it with --debug to see why it fails.

  • Quote

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

    • Insert image from URL
×
  • Desktop
  • Tablet
  • Phone
Sign in to follow this  
Followers 0
Go To Topic Listing



  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • PtownCoderSchool
      [HIRING] Minecraft Modders

      By PtownCoderSchool · Posted 1 hour ago

      Hey all! I run a coding school with a lot of our students coming in looking to get introduced to coding through Minecraft and building their own mods! Whether you're using redstone and some simpler tools, or more advanced and working with Java, please don't hesitate to reach out with your experience!   This is a PAID role. Our students sign up for weekly sessions where you will assist them in making their ideas come to life and teaching them to code along the way.    Due to the pandemic, we are capable of hiring remotely, though you must be located in California.    Interested? Please message me so we can set-up an interview.    Must be be 15+ years old. 
    • brok4d
      [1.16.4] New particle texture for biome.

      By brok4d · Posted 1 hour ago

      I do not know if I explained well, what I try is to change the color of the water particles since my biome is all reddish, I have been looking at the classes of the forge particles and I do not see that it can be modified as I am doing, any Subjection, because you told me to update the forge version to give support, but so if I see that each time the private class is forge, and they cannot be accessed, and also the setParticleTextureIndex method with which it could be select the index of the texture of the particle, in the end I think it will get worse instead of better, if someone thinks otherwise than say it.
    • ryanmanrules
      Delete

      By ryanmanrules · Posted 1 hour ago

      Fixed
    • AdminCat
      The game crashed whilst rendering overlay Error: java.lang.NullPointerException: Rendering overlay Exit Code: -1

      By AdminCat · Posted 2 hours ago

      hhhhhhhhhhhhh  
    • AdminCat
      The game crashed whilst rendering overlay Error: java.lang.NullPointerException: Rendering overlay Exit Code: -1

      By AdminCat · Posted 2 hours ago

      How would I backdate I'm having the same issue here  
  • Topics

    • PtownCoderSchool
      0
      [HIRING] Minecraft Modders

      By PtownCoderSchool
      Started 1 hour ago

    • brok4d
      1
      [1.16.4] New particle texture for biome.

      By brok4d
      Started 11 hours ago

    • ryanmanrules
      0
      Delete

      By ryanmanrules
      Started 1 hour ago

    • Blake.bill
      12
      The game crashed whilst rendering overlay Error: java.lang.NullPointerException: Rendering overlay Exit Code: -1

      By Blake.bill
      Started September 9, 2020

    • sc0rich
      8
      how do I config mods in 1.16.4?

      By sc0rich
      Started Friday at 02:11 AM

  • Who's Online (See full list)

    • <Gl33p_0r4nge>
    • brok4d
    • Eksity
    • DimKar3000
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • ForgeGradle
  • gradle setupDecompWorkspace not working on OSX
  • Theme

Copyright © 2019 ForgeDevelopment LLC · Ads by Longitude Ads LLC Powered by Invision Community