Can't Recompile (BUILD FAILED)

Started by SweetTea on Tue, 09/08/2015 - 05:52
Last seen on 01:23, 9. Feb 2016
Joined Sep 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Can't Recompile (BUILD FAILED)
Tue, 09/08/2015 - 05:52

===================================================================================================================================
Executing gradle command: clean build
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
C:\Pylo\MCreator158>cd forge
C:\Pylo\MCreator158\forge>SET "JAVA_HOME=C:\Pylo\MCreator158\jdk\"
C:\Pylo\MCreator158\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
C:\Pylo\MCreator158\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
C:\Pylo\MCreator158\forge>SET "JAVA_OPTS=-Xmx256m -Xms200m"
C:\Pylo\MCreator158\forge>gradlew clean build
FAILURE: Build failed with an exception.
* What went wrong:
BUILD FAILED
A problem occurred configuring root proj> Could not open buildscript class cache for build file 'C:\Pylo\MCreator158\forge\build.gradle' (C:\Users\Teresa\.gradle\caches\2.0\scripts\build_3o1nttsp2fijej5j0j3nn4o9sl\ProjectScript\buildscript).
ect 'forge'.
Total time: 1.592 secs
   > java.io.FileNotFoundException: C:\Users\Teresa\.gradle\caches\2.0\scripts\build_3o1nttsp2fijej5j0j3nn4o9sl\ProjectScript\buildscript\cache.properties (The system cannot find the file specified)
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
C:\Pylo\MCreator158\forge>
Task completed with return code 0 in 1766 milliseconds
Task return code check OK!

 

Last seen on 17:12, 17. Oct 2017
Joined Jan 2014
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
>Executing gradle command:
Tue, 09/08/2015 - 14:25

>Executing gradle command: runClient
>Microsoft Windows [Version 10.0.10240]
>(c) 2015 Microsoft Corporation. Alle Rechte vorbehalten.
>C:\Pylo\MCreator156>cd forge
>C:\Pylo\MCreator156\forge>SET "JAVA_HOME=C:\Pylo\MCreator156\jdk\"
>C:\Pylo\MCreator156\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
>C:\Pylo\MCreator156\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
>C:\Pylo\MCreator156\forge>gradlew runClient
>****************************
> Powered By MCP:            
> http://modcoderpack.com/   
> Searge, ProfMobius, Fesh0r,
> R4wk, ZeuX, IngisKahn, bspkrs
> MCP Data version : unknown
>****************************
>:downloadClient
>FAILURE: Build failed with an exception.
>* What went wrong:
>java.io.FileNotFoundException: C:\Pylo\MCreator156\forge\.gradle\2.0\taskArtifacts\cache.properties (Das System kann die angegebene Datei nicht finden)
>> C:\Pylo\MCreator156\forge\.gradle\2.0\taskArtifacts\cache.properties (Das System kann die angegebene Datei nicht finden)
>* 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: 7.274 secs
>C:\Pylo\MCreator156\forge>
>Task completed with return code 0 in 8718 milliseconds
>Task return code check OK!I got a kind of similiar problem:

 

Last seen on 23:14, 21. Nov 2017
Joined Feb 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
you know I am not going to
Tue, 09/08/2015 - 15:03

you know I am not going to read all of that.

Last seen on 01:23, 9. Feb 2016
Joined Sep 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
 
Tue, 09/08/2015 - 21:55

 

Basicly it said it canot find the forge files. I followed the paths it specified and the files ARE there and named properly. I installed it yesterday.

Last seen on 01:23, 9. Feb 2016
Joined Sep 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
I found a solution. Must run
Wed, 09/09/2015 - 02:00

I found a solution. Must run as Admin EVERY time.