sarmaşık önbellek konumunu nasıl değiştirileceği aşağıdaki hatayı alıyorumPlay Framework 1.x - oyun Deps verirken ben ~/ hiç yazma izinlerine sahip olduğu sunucudaki bir oyun uygulamayı dağıtmaya ediyorum
[playdemo-playdemo.rhcloud.com repo]\> ~/playdemo/data/play-1.2.4/play deps
~ _ _
~ _ __ | | __ _ _ _| |
~ | '_ \| |/ _' | || |_|
~ | __/|_|\____|\__ (_)
~ |_| |__/
~
~ play! 1.2.4, http://www.playframework.org
~
~ Resolving dependencies using /var/lib/libra/eadfb84dc0ac4b05baa584693f557e5e/playdemo/runtime/repo/conf/dependencies.yml,
~
Exception in thread "main" java.io.FileNotFoundException: /var/lib/libra/eadfb84dc0ac4b05baa584693f557e5e/.ivy2/cache/resolved-play-application-repo-1.0.xml (No such file or directory)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:209)
at java.io.FileOutputStream.<init>(FileOutputStream.java:160)
at org.apache.ivy.plugins.parser.xml.XmlModuleDescriptorWriter.write(XmlModuleDescriptorWriter.java:69)
at org.apache.ivy.plugins.parser.xml.XmlModuleDescriptorWriter.write(XmlModuleDescriptorWriter.java:61)
at org.apache.ivy.core.module.descriptor.DefaultModuleDescriptor.toIvyFile(DefaultModuleDescriptor.java:549)
at org.apache.ivy.core.resolve.ResolveEngine.resolve(ResolveEngine.java:248)
at org.apache.ivy.core.resolve.ResolveEngine.resolve(ResolveEngine.java:195)
at play.deps.DependenciesManager.resolve(DependenciesManager.java:327)
at play.deps.DependenciesManager.main(DependenciesManager.java:39)
bir -D-cache geçen aşağıdaki içeriği
<ivysettings>
<caches defaultCacheDir="/tmp/ivy"/>
</ivysettings>
ile app.conf bir ivysettings.xml oluşturma gibi, önbellek dir değiştirmek için birçok şeyleri denedik =/tmp/sarmaşık
bir parametre
play deps -Divy.default.ivy.user.dir=/tmp/ivy
ama işe yaramış görünmüyor olarak geçen
export JAVA_OPTS="$JAVA_OPTS -Divy.default.ivy.user.dir=/tmp/ivy"
değişken bir JAVA_OPTS ortamını ayarlama ...
ne yapabilirim bir fikrin ???
saludos
sas
-
düzenlemek
ps: How to override the location of Ivy's Cache?