简体   繁体   English

Userdir无法按预期工作

[英]Userdir not working as expected

still following the Getting Started version 0.9. 仍遵循入门版本0.9。

When I run the sample application using the java -Duser.language... command I'm expecting to find the cache folder inside test-application/target/userdir . 当我使用java -Duser.language...命令运行示例应用程序时,我期望在test-application/target/userdir找到缓存文件夹。 Instead it is inside test-application/target/userdir/target/userdir . 相反,它位于test-application/target/userdir/target/userdir Is it the correct behaviour? 这是正确的行为吗?

When I run the sample application using the java -Duser.language... command without the --userdir target/userdir option, the following directory is created inside test-application': {user.home}/.foo/1.0.0-SNAPSHOT/{user.home}/.foo/1.0.0-SNAPSHOT`. 当我使用不带 --userdir target/userdir选项的java -Duser.language...命令运行示例应用程序时,将在test-application':内部创建以下目录test-application': {user.home} --userdir target/userdir / 1.0.0 -SNAPSHOT / {的user.home} /。富/ 1.0.0-SNAPSHOT`。 Inside it the cache folder can be found. 在其中可以找到缓存文件夹。 Is it the correct behaviour? 这是正确的行为吗?

When I run the application double-clicking foo.jar , inside test-application/target/deployment/standalone/bin the following directory is created: {user.home}/.foo/1.0.0-SNAPSHOT/{user.home}/.foo/1.0.0-SNAPSHOT . 当我运行应用程序时,双击foo.jar test-application/target/deployment/standalone/binfoo.jar ,将创建以下目录: {user.home}/.foo/1.0.0-SNAPSHOT/{user.home}/.foo/1.0.0-SNAPSHOT Inside it the cache folder can be found. 在其中可以找到缓存文件夹。 Is it the correct behaviour? 这是正确的行为吗?

Thank you in advance for your help. 预先感谢您的帮助。 Claudio 克劳迪奥

This is an issue in v0.9 这是v0.9中的问题

Please note that with "mvn exec:exec" the userdir gets created correctly. 请注意,使用“ mvn exec:exec”可以正确创建用户目录。

Please file the issue here . 请在这里提出问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM