Project

General

Profile

Bug #4774

[build] compile.sh (being executed in any directory except bin) fails

Added by Alexander Kamkin over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
Andrei Tatarnikov
Category:
-
Target version:
Start date:
03/21/2014
Due date:
% Done:

100%

Estimated time:
Detected in build:
svn
Platform:
Windows x86
Published in build:
20140324

Description

Running

sh compile.sh ../arch/mips/model/newmips.nml

(as it is written in Installation Guide) leads to the following error message

Buildfile: build.xml doesn't exist!
Error: Unable to access jarfile ../libs/jars/microtesk.jar
Build failed

History

#1

Updated by Alexander Kamkin over 6 years ago

  • Subject changed from [build] compile.sh fails to [build] compile.sh (being executed in any directory except bin) fails

If the script is executed from the bin directory, everything is fine.

The script should be executable from any directory!

#2

Updated by Alexander Kamkin over 6 years ago

The same situation with generate.sh

Error: Unable to access jarfile ../libs/jars/jruby.jar
#3

Updated by Alexander Kamkin over 6 years ago

I suggest using a MICROTESK_HOME environment variable (the variable should be set by a user).

#4

Updated by Andrei Tatarnikov over 6 years ago

  • Status changed from New to Open
  • % Done changed from 0 to 30

Done for Linux and OS X...

#5

Updated by Andrei Tatarnikov over 6 years ago

  • % Done changed from 30 to 70
#6

Updated by Andrei Tatarnikov over 6 years ago

  • Status changed from Open to Resolved
  • % Done changed from 70 to 100

Done for Windows in r1852.

#7

Updated by Alexander Kamkin over 6 years ago

  • Status changed from Resolved to Closed
  • Published in build set to 20140324

Also available in: Atom PDF