Names of cached files too long
Eclipse: epp.package.java 188.8.131.5260218-0600
Spoofax: org.metaborg.spoofax.eclipse 2.0.0.beta1
System: Linux amd64 3.19.0-58-generic
I’m getting lots of errors like:
14:02 | INFO | stderr - [ strj | warning ] Unable to cache parse result to /home/oskar/repos/gm-spoofax/pgql-lang/target/stratego-cache/+home+oskar+spoofax-linux-x86_64+plugins+org.metaborg.meta.lib.analysis.eclipse_2.0.0.beta1+target+unpacked+latest+trans+runtime+editor+time.str.cache
This file name (without the directory path) is 151 characters, while eCryptfs (Ubuntu default file system encryption) only allows maximal 143 characters. Any chance the file names can be made shorter? Alternatively, there should be a notice on the website that Spoofax can’t be used in combination with file system encryption.Submitted by Oskar van Rest on 18 April 2016 at 23:27
It’s also possible to allow users to choose a directory that is used for caches, like in Maven or Gradle. Then, you can choose a different directory than your home directory.
Don’t use crappy file system encryption ;) Also, this is a Stratego compiler (strj) issue.
Log in to post comments