MFF

    Minecraft Forge France
    • Récent
    • Mots-clés
    • Populaire
    • Utilisateurs
    • Groupes
    • Forge Events
      • Automatique
      • Foncé
      • Clair
    • S'inscrire
    • Se connecter

    Impossible de créer espace de travail

    Planifier Épinglé Verrouillé Déplacé Résolu 1.9.x et 1.10.x
    1.10.x
    22 Messages 7 Publieurs 3.7k Vues 1 Watching
    Charger plus de messages
    • Du plus ancien au plus récent
    • Du plus récent au plus ancien
    • Les plus votés
    Répondre
    • Répondre à l'aide d'un nouveau sujet
    Se connecter pour répondre
    Ce sujet a été supprimé. Seuls les utilisateurs avec les droits d'administration peuvent le voir.
    • xBlackOkingX Hors-ligne
      xBlackOking
      dernière édition par

      Toujours le même problème 😞

      Download https://jcenter.bintray.com/commons-logging/commons-logging/1.1.3/commons-logging-1.1.3.jar
      Download https://jcenter.bintray.com/commons-codec/commons-codec/1.6/commons-codec-1.6.jar
      
      FAILURE: Build failed with an exception.
      
      * Where:
      Build file 'C:\Users\Thomas\Desktop\Mods\MagicFood\build.gradle' line: 33
      
      * What went wrong:
      A problem occurred evaluating root project 'MagicFood'.
      > Invalid version notation, or version doesnt exist! The following are valid notations. Buildnumber, version, version-branch, mcversion-version-branch, and pomotion
      
      * Try:
      Run with –stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
      
      BUILD FAILED
      
      Total time: 59.76 secs
      
      C:\Users\Thomas\Desktop\Mods\MagicFood>
      
      1 réponse Dernière réponse Répondre Citer 0
      • BrokenSwingB Hors-ligne
        BrokenSwing Moddeurs confirmés Rédacteurs
        dernière édition par

        16 GB = 2GO et tu alloue 2048M (octets) ce qui équivaut à 2GO, mais tu ne peux cependant pas allouer toute ta RAM il me semble

        EDIT : Build file ‘C:\Users\Thomas\Desktop\Mods\MagicFood\build.gradle’ line: 33
        Donne la ligne 33 de ton build.gradle

        1 réponse Dernière réponse Répondre Citer 0
        • xBlackOkingX Hors-ligne
          xBlackOking
          dernière édition par

          Ah non pardon ce n’est pas le même problème :s

          1 réponse Dernière réponse Répondre Citer 0
          • xBlackOkingX Hors-ligne
            xBlackOking
            dernière édition par

            @‘BrokenSwing’:

            16 GB = 2GO et tu alloue 2048M (octets) ce qui équivaut à 2GO, mais tu ne peux cependant pas allouer toute ta RAM il me semble

            Il faut donc que je fasse quoi pour régler le soucis ? :s

            1 réponse Dernière réponse Répondre Citer 0
            • BrokenSwingB Hors-ligne
              BrokenSwing Moddeurs confirmés Rédacteurs
              dernière édition par

              Fait d’abord voir ton build.gradle

              1 réponse Dernière réponse Répondre Citer 0
              • xBlackOkingX Hors-ligne
                xBlackOking
                dernière édition par

                @‘BrokenSwing’:

                Fait d’abord voir ton build.gradle

                
                // For those who want the bleeding edge
                buildscript {
                   repositories {
                       jcenter()
                       maven {
                           name = "forge"
                           url = "http://files.minecraftforge.net/maven"
                       }
                   }
                   dependencies {
                       classpath 'net.minecraftforge.gradle:ForgeGradle:2.2-SNAPSHOT'
                   }
                }
                apply plugin: 'net.minecraftforge.gradle.forge'
                
                /*
                // for people who want stable - not yet functional for MC 1.8.8 - we require the forgegradle 2.1 snapshot
                plugins {
                   id "net.minecraftforge.gradle.forge" version "2.0.2"
                }
                */
                version = "1.0"
                group= "com.blackoking.magicfood" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
                archivesBaseName = "MagicFood"
                
                sourceCompatibility = targetCompatibility = "1.6" // Need this here so eclipse task generates correctly.
                compileJava {
                   sourceCompatibility = targetCompatibility = "1.6"
                }
                
                minecraft {
                   version = "snapshot_20160903"
                   runDir = "run"
                
                   // the mappings can be changed at any time, and must be in the following format.
                   // snapshot_YYYYMMDD   snapshot are built nightly.
                   // stable_#            stables are built at the discretion of the MCP team.
                   // Use non-default mappings at your own risk. they may not allways work.
                   // simply re-run your setup task after changing the mappings to update your workspace.
                   mappings = "snapshot_20160518"
                   // makeObfSourceJar = false // an Srg named sources jar is made by default. uncomment this to disable.
                }
                
                dependencies {
                   // you may put jars on which you depend on in ./libs
                   // or you may define them like so..
                   //compile "some.group:artifact:version:classifier"
                   //compile "some.group:artifact:version"
                
                   // real examples
                   //compile 'com.mod-buildcraft:buildcraft:6.0.8:dev'  // adds buildcraft to the dev env
                   //compile 'com.googlecode.efficient-java-matrix-library:ejml:0.24' // adds ejml to the dev env
                
                   // the 'provided' configuration is for optional dependencies that exist at compile-time but might not at runtime.
                   //provided 'com.mod-buildcraft:buildcraft:6.0.8:dev'
                
                   // the deobf configurations:  'deobfCompile' and 'deobfProvided' are the same as the normal compile and provided,
                   // except that these dependencies get remapped to your current MCP mappings
                   //deobfCompile 'com.mod-buildcraft:buildcraft:6.0.8:dev'
                   //deobfProvided 'com.mod-buildcraft:buildcraft:6.0.8:dev'
                
                   // for more info…
                   // http://www.gradle.org/docs/current/userguide/artifact_dependencies_tutorial.html
                   // http://www.gradle.org/docs/current/userguide/dependency_management.html
                
                }
                
                processResources
                {
                   // this will ensure that this task is redone when the versions change.
                   inputs.property "version", project.version
                   inputs.property "mcversion", project.minecraft.version
                
                   // replace stuff in mcmod.info, nothing else
                   from(sourceSets.main.resources.srcDirs) {
                       include 'mcmod.info'
                
                       // replace version and mcversion
                       expand 'version':project.version, 'mcversion':project.minecraft.version
                   }
                
                   // copy everything else, thats not the mcmod.info
                   from(sourceSets.main.resources.srcDirs) {
                       exclude 'mcmod.info'
                   }
                }
                
                
                1 réponse Dernière réponse Répondre Citer 0
                • ? Hors-ligne
                  Un Ancien Utilisateur
                  dernière édition par

                  dans le dossier ou tu a mis tes fichier donne le contenu du fichier build gradlew

                  1 réponse Dernière réponse Répondre Citer 0
                  • BrokenSwingB Hors-ligne
                    BrokenSwing Moddeurs confirmés Rédacteurs
                    dernière édition par

                    Quel est la ligne 33 ? Car personnellement je tombe sur runDir et je ne pense pas que ce soit ça

                    1 réponse Dernière réponse Répondre Citer 0
                    • xBlackOkingX Hors-ligne
                      xBlackOking
                      dernière édition par

                      @‘BrokenSwing’:

                      Quel est la ligne 33 ? Car personnellement je tombe sur runDir et je ne pense pas que ce soit ça

                      J’ai trouvé le problème ! En fait, j’ai confondu la ligne

                      minecraft {
                         version = "1.10.2-12.18.1.2076"
                      

                      avec la ligne

                       mappings = "snapshot_20160903"
                      

                      ce qui a donc créer une erreur.
                      Cependant, j’ai maintenant une nouvelle erreur que voici

                      Download https://libraries.minecraft.net/org/lwjgl/lwjgl/lwjgl-platform/2.9.4-nightly-20150209/lwjgl-platform-2.9.4-nightly-20150209-natives-linux.jar
                      Download https://libraries.minecraft.net/org/lwjgl/lwjgl/lwjgl-platform/2.9.4-nightly-20150209/lwjgl-platform-2.9.4-nightly-20150209-natives-osx.jar
                      :decompileMc FAILED
                      
                      FAILURE: Build failed with an exception.
                      
                      * What went wrong:
                      Execution failed for task ':decompileMc'.
                      > Java heap space
                      
                      * Try:
                      Run with –stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
                      
                      BUILD FAILED
                      
                      Total time: 3 mins 50.184 secs
                      
                      C:\Users\Thomas\Desktop\Mods\MagicFood>
                      
                      1 réponse Dernière réponse Répondre Citer 0
                      • RedRelayR Hors-ligne
                        RedRelay Moddeurs confirmés
                        dernière édition par

                        Tu n’aurais pas mit n’importe quoi dans minecraft.version par hasard ?
                        Parce que je ne connais aucune version de minecraft forge qui s’appel snapshot_20160903
                        Les commentaires s’appliquent de haut en bas, pas l’inverse.

                        –------------------------------------------------------------------------------------
                        Si tu trouves mon intervention pertinente, n'hésite pas a m…

                        1 réponse Dernière réponse Répondre Citer 0
                        • xBlackOkingX Hors-ligne
                          xBlackOking
                          dernière édition par

                          @‘RedRelay’:

                          Tu n’aurais pas mit n’importe quoi dans minecraft.version par hasard ?
                          Parce que je ne connais aucune version de minecraft forge qui s’appel snapshot_20160903
                          Les commentaires s’appliquent de haut en bas, pas l’inverse.

                          Si si, je me suis trompé et ai confondu avec le mapping 😉

                          1 réponse Dernière réponse Répondre Citer 0
                          • RedRelayR Hors-ligne
                            RedRelay Moddeurs confirmés
                            dernière édition par

                            Pour ton autre erreur, crée un fichier gradle.properties a coté de ton gradle.build et ajoutes-y : org.gradle.jvmargs=-Xmx2G

                            –------------------------------------------------------------------------------------
                            Si tu trouves mon intervention pertinente, n'hésite pas a m…

                            1 réponse Dernière réponse Répondre Citer 0
                            • xBlackOkingX Hors-ligne
                              xBlackOking
                              dernière édition par

                              @‘RedRelay’:

                              Pour ton autre erreur, crée un fichier gradle.properties a coté de ton gradle.build et ajoutes-y : org.gradle.jvmargs=-Xmx2G

                              Je mets seulement ceci dans le fichier ?

                              Car il me sort toujours cette erreur

                              C:\Users\Thomas\Desktop\Mods\MagicFood>gradlew setupDecompWorkspace
                              To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/2.14/userguide/gradle_daemon.html.
                              
                              FAILURE: Build failed with an exception.
                              
                              * What went wrong:
                              Unable to start the daemon process.
                              This problem might be caused by incorrect configuration of the daemon.
                              For example, an unrecognized jvm option is used.
                              Please refer to the user guide chapter on the daemon at https://docs.gradle.org/2.14/userguide/gradle_daemon.html
                              Please read the following process output to find out more:
                              –---------------------
                              Error occurred during initialization of VM
                              Could not reserve enough space for 2097152KB object heap
                              
                              * Try:
                              Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
                              
                              C:\Users\Thomas\Desktop\Mods\MagicFood>
                              ```___Up ? :(
                              1 réponse Dernière réponse Répondre Citer 0
                              • Benjamin LoisonB Hors-ligne
                                Benjamin Loison
                                dernière édition par

                                … Je viens de t’envoyer un MP d’aide, les doubles post en moins de 24h sont interdits sur ce forum…

                                >! Développeur de Altis-Life (Arma III) sur Minecraft !
                                >! Site web     : https://lemnoslife.com

                                1 réponse Dernière réponse Répondre Citer 0
                                • xBlackOkingX Hors-ligne
                                  xBlackOking
                                  dernière édition par

                                  @‘Benjamin Loison’:

                                  … Je viens de t’envoyer un MP d’aide, les doubles post en moins de 24h sont interdits sur ce forum…

                                  Excuse-moi je n’avais pas vu ton message 😉

                                  1 réponse Dernière réponse Répondre Citer 0
                                  • DiabolicaTrixD Hors-ligne
                                    DiabolicaTrix Correcteurs Moddeurs confirmés
                                    dernière édition par

                                    Évitez l’aide par MP, si quelqu’un a le même problème, la solution pourrait lui être utile.

                                    1 réponse Dernière réponse Répondre Citer 0
                                    • xBlackOkingX Hors-ligne
                                      xBlackOking
                                      dernière édition par

                                      Mon problème est résolu. Mon JAVA_HOME était mal configuré et redirigeait vers le mauvais Java.

                                      @'Benjamin:

                                      … Je viens de t’envoyer un MP d’aide, les doubles post en moins de 24h sont interdits sur ce forum…

                                      Merci beaucoup pour ton aide ! 😉

                                      1 réponse Dernière réponse Répondre Citer 0
                                      • robin4002R Hors-ligne
                                        robin4002 Moddeurs confirmés Rédacteurs Administrateurs
                                        dernière édition par

                                        Pour être plus précis, il était configuré sur Java 32 bits or le heap de Java 32 bits est limité à 1,5 Go.
                                        D’où l’impossibilité d’allouer 2 Go de ram.

                                        1 réponse Dernière réponse Répondre Citer 0
                                        • 1
                                        • 2
                                        • 1 / 2
                                        • Premier message
                                          Dernier message
                                        Design by Woryk
                                        ContactMentions Légales

                                        MINECRAFT FORGE FRANCE © 2024

                                        Powered by NodeBB