Installer l'espace de travail pour Eclipse
-
Aucune idée.
Certains tutoriels peuvent être utilisés dans les versions plus récentes en adaptant un peu. Et nous sommes là pour répondre aux questions en cas de problème avec les tutoriels récents -
bonjour j’en suis a l’étapes de rentrer les commandes dans windows powershell mais il me mets un message d’erreur :
FAILURE: Build failed with an exception.
- What went wrong:
Could not determine java version from ‘13.0.2’.
quelqu’un pourrais m’aider svp :beaming_face_with_smiling_eyes:
@ZelFight @robin4002 - What went wrong:
-
Bonjour, il faut installer java 8 et non java 13, comme expliqué dans les pré-requis.
-
@robin4002 d’accord merci
-
@robin4002 a dit dans Installer l'espace de travail pour Eclipse :
quand j’entre la commande ./gradelew SetupDecompWorkspace sous windows sa me met se message d’erreur je comprend pas :
FAILURE: Build failed with an exception. * What went wrong: A problem occurred configuring root project 'mod 1'. > Could not resolve all dependencies for configuration ':classpath'. > Could not resolve net.md-5:SpecialSource:1.7.3. Required by: :mod 1:unspecified > net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT > Could not GET 'http://repo1.maven.org/maven2/net/md-5/SpecialSource/1.7.3/SpecialSource-1.7.3.pom'. Received status code 501 from server: HTTPS Required > Could not resolve org.apache.httpcomponents:httpclient:4.3.3. Required by: :mod 1:unspecified > net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT > Could not GET 'http://repo1.maven.org/maven2/org/apache/httpcomponents/httpclient/4.3.3/httpclient-4.3.3.pom'. Received status code 501 from server: HTTPS Required > Could not resolve org.apache.httpcomponents:httpmime:4.3.3. Required by: :mod 1:unspecified > net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT > Could not GET 'http://repo1.maven.org/maven2/org/apache/httpcomponents/httpmime/4.3.3/httpmime-4.3.3.pom'. Received status code 501 from server: HTTPS Required > Could not resolve com.github.abrarsyed.jastyle:jAstyle:1.2. Required by: :mod 1:unspecified > net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT > Could not GET 'http://repo1.maven.org/maven2/com/github/abrarsyed/jastyle/jAstyle/1.2/jAstyle-1.2.pom'. Received status code 501 from server: HTTPS Required > Could not resolve net.sf.trove4j:trove4j:2.1.0. Required by: :mod 1:unspecified > net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT > Could not GET 'http://repo1.maven.org/maven2/net/sf/trove4j/trove4j/2.1.0/trove4j-2.1.0.pom'. Received status code 501 from server: HTTPS Required > Could not resolve com.google.code.gson:gson:2.2.4. Required by: :mod 1:unspecified > net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT :mod 1:unspecified > net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT > de.oceanlabs.mcp:RetroGuard:3.6.6 :mod 1:unspecified > net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT > de.oceanlabs.mcp:mcinjector:3.2-SNAPSHOT > Could not GET 'http://repo1.maven.org/maven2/com/google/code/gson/gson/2.2.4/gson-2.2.4.pom'. Received status code 501 from server: HTTPS Required > Could not resolve com.google.guava:guava:18.0. Required by: :mod 1:unspecified > net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT :mod 1:unspecified > net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT > net.minecraftforge.srg2source:Srg2Source:3.2-SNAPSHOT > Could not GET 'http://repo1.maven.org/maven2/com/google/guava/guava/18.0/guava-18.0.pom'. Received status code 501 from server: HTTPS Required > Could not resolve org.ow2.asm:asm-debug-all:5.0.3. Required by: :mod 1:unspecified > net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT :mod 1:unspecified > net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT > net.minecraftforge.srg2source:Srg2Source:3.2-SNAPSHOT > Could not GET 'http://repo1.maven.org/maven2/org/ow2/asm/asm-debug-all/5.0.3/asm-debug-all-5.0.3.pom'. Received status code 501 from server: HTTPS Required > Could not resolve com.github.tony19:named-regexp:0.2.3. Required by: :mod 1:unspecified > net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT > Could not GET 'http://repo1.maven.org/maven2/com/github/tony19/named-regexp/0.2.3/named-regexp-0.2.3.pom'. Received status code 501 from server: HTTPS Required > Could not resolve com.cloudbees:diff4j:1.1. Required by: :mod 1:unspecified > net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT > Could not GET 'http://repo1.maven.org/maven2/com/cloudbees/diff4j/1.1/diff4j-1.1.pom'. Received status code 501 from server: HTTPS Required > Could not resolve net.sf.jopt-simple:jopt-simple:4.6. Required by: :mod 1:unspecified > net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT > de.oceanlabs.mcp:RetroGuard:3.6.6 :mod 1:unspecified > net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT > de.oceanlabs.mcp:mcinjector:3.2-SNAPSHOT > Could not GET 'http://repo1.maven.org/maven2/net/sf/jopt-simple/jopt-simple/4.6/jopt-simple-4.6.pom'. Received status code 501 from server: HTTPS Required > Could not resolve org.eclipse.core:jobs:3.5.300-v20130429-1813. Required by: :mod 1:unspecified > net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT > net.minecraftforge.srg2source:Srg2Source:3.2-SNAPSHOT > Could not GET 'http://repo1.maven.org/maven2/org/eclipse/core/jobs/3.5.300-v20130429-1813/jobs-3.5.300-v20130429-1813.pom'. Received status code 501 from server: HTTPS Required > Could not resolve org.eclipse:osgi:3.9.1-v20130814-1242. Required by: :mod 1:unspecified > net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT > net.minecraftforge.srg2source:Srg2Source:3.2-SNAPSHOT > Could not GET 'http://repo1.maven.org/maven2/org/eclipse/osgi/3.9.1-v20130814-1242/osgi-3.9.1-v20130814-1242.pom'. Received status code 501 from server: HTTPS Required > Could not resolve org.eclipse.core:contenttype:3.4.200-v20130326-1255. Required by: :mod 1:unspecified > net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT > net.minecraftforge.srg2source:Srg2Source:3.2-SNAPSHOT > Could not GET 'http://repo1.maven.org/maven2/org/eclipse/core/contenttype/3.4.200-v20130326-1255/contenttype-3.4.200-v20130326-1255.pom'. Received status code 501 from server: HTTPS Required > Could not resolve org.eclipse.core:resources:3.2.1-R32x_v20060914. Required by: :mod 1:unspecified > net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT > net.minecraftforge.srg2source:Srg2Source:3.2-SNAPSHOT > Could not GET 'http://repo1.maven.org/maven2/org/eclipse/core/resources/3.2.1-R32x_v20060914/resources-3.2.1-R32x_v20060914.pom'. Received status code 501 from server: HTTPS Required > Could not resolve org.eclipse.equinox:common:3.6.200-v20130402-1505. Required by: :mod 1:unspecified > net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT > net.minecraftforge.srg2source:Srg2Source:3.2-SNAPSHOT > Could not GET 'http://repo1.maven.org/maven2/org/eclipse/equinox/common/3.6.200-v20130402-1505/common-3.6.200-v20130402-1505.pom'. Received status code 501 from server: HTTPS Required > Could not resolve org.eclipse.text:org.eclipse.text:3.5.101. Required by: :mod 1:unspecified > net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT > net.minecraftforge.srg2source:Srg2Source:3.2-SNAPSHOT > Could not GET 'http://repo1.maven.org/maven2/org/eclipse/text/org.eclipse.text/3.5.101/org.eclipse.text-3.5.101.pom'. Received status code 501 from server: HTTPS Required > Could not resolve org.eclipse.jgit:org.eclipse.jgit:3.2.0.201312181205-r. Required by: :mod 1:unspecified > net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT > net.minecraftforge.srg2source:Srg2Source:3.2-SNAPSHOT > Could not GET 'http://repo1.maven.org/maven2/org/eclipse/jgit/org.eclipse.jgit/3.2.0.201312181205-r/org.eclipse.jgit-3.2.0.201312181205-r.pom'. Received status code 501 from server: HTTPS Required > Could not resolve org.eclipse.equinox:preferences:3.5.100-v20130422-1538. Required by: :mod 1:unspecified > net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT > net.minecraftforge.srg2source:Srg2Source:3.2-SNAPSHOT > Could not GET 'http://repo1.maven.org/maven2/org/eclipse/equinox/preferences/3.5.100-v20130422-1538/preferences-3.5.100-v20130422-1538.pom'. Received status code 501 from server: HTTPS Required > Could not resolve net.sf.jopt-simple:jopt-simple:4.6. Required by: :mod 1:unspecified > net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT > net.minecraftforge.srg2source:Srg2Source:3.2-SNAPSHOT > Could not GET 'http://repo1.maven.org/maven2/net/sf/jopt-simple/jopt-simple/4.6/jopt-simple-4.6.pom'. Received status code 501 from server: HTTPS Required > Could not resolve org.eclipse.core:runtime:3.9.0-v20130326-1255. Required by: :mod 1:unspecified > net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT > net.minecraftforge.srg2source:Srg2Source:3.2-SNAPSHOT > Could not GET 'http://repo1.maven.org/maven2/org/eclipse/core/runtime/3.9.0-v20130326-1255/runtime-3.9.0-v20130326-1255.pom'. Received status code 501 from server: HTTPS Required > Could not resolve org.ow2.asm:asm-debug-all:5.0.3. Required by: :mod 1:unspecified > net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT > de.oceanlabs.mcp:mcinjector:3.2-SNAPSHOT > Could not GET 'http://repo1.maven.org/maven2/org/ow2/asm/asm-debug-all/5.0.3/asm-debug-all-5.0.3.pom'. Received status code 501 from server: HTTPS Required * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. BUILD FAILED
-
La 1.7.10 n’est plus supporté, le setup ne fonctionne plus.
Utilises une version non obsolète, à minima la version 1.12.2 de préférence la 1.15.2.
Aussi, merci de ne pas mentionner pleins de personnes.
-
Bonjour, voici ce que le terminal me renvoie quand je fait :
./gradelw setupDecompWorkspaceFAILURE: Build failed with an exception.
-
What went wrong:
Task ‘setupDecompWorkspace’ not found in root project ‘forge-1.12.2-14.23.5.2854-mdk’. -
Try:
Run gradlew tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. -
Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
Use ‘–warning-mode all’ to show the individual deprecation warnings.
See https://docs.gradle.org/4.9/userguide/command_line_interface.html#sec:command_line_warningsBUILD FAILED in 23s
Comme vous pouvez le voir je l’est fait en version 1.12 mais j’ai aussi essayé pour toutes les versions 1.8 et 1.7 et j’ai toujours le même résultat. J’ai aussi essayé de supprimé le dossier .gradle mais toujours la même erreur.
Merci pour votre aide !:folded_hands:
-
-
Les dernières versions de Forge 1.12.2 utilise forge gradle 3, la commande
setupDecompWorkspace
n’existe plus.
Il faut simplement importer le projet en tant que projet gradle, comme en 1.13 et + (tu peux donc suivre ce tutoriel pour le setup de la workspace : https://www.minecraftforgefrance.fr/topic/5289/préparer-son-environnement-de-développement-avec-le-mdk -
@robin4002
Merci pour votre réponse. Cependant j’aimerais créer mon mod en 1.8.X (je ne sait pas encor quel version est la mieux). J’ai essayé en toutes les versions 1.8.X et sa ne marche pas non plus. -
La 1.8 est une version obsolète, nous ne faisons plus de support pour cette version.
-
-
-
-
-
-
-
-
-
-