Filename too long sbt

前端 未结 5 1231
谎友^
谎友^ 2020-12-08 10:11

I am getting an error saying I have a file that is too long in sbt.

 [info] Compiling 29 Scala sources to /home/chris/dev/suredbits-core/target/scala-2.11         


        
5条回答
  •  轮回少年
    2020-12-08 10:54

    • Setting the file length limits might be unsafe, I could not find any official documentation that this solution is safe.
    • Using un-encrypted directory is not safe.

    I want to offer a different approach:

    • install veracrypt (in ubuntu with apt)
    • create a non-encrypted directory (outside the encrypted user home dir)
    • create a veracrypt file container in the new directory
    • mount the container in

    • sbt works fine even if the mount point is in the encrypted directory)
    • It is possible to create the container with a complex password and mount on login

      veracrypt -t --pim=0 --protect-hidden=no -k "" -p $PASSWORD $ENCRYPTED_CONTAINER $MOUNT_DIR

提交回复
热议问题