Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

貌似发现个bug #51

Closed
wanglei1598 opened this issue Dec 28, 2015 · 3 comments
Closed

貌似发现个bug #51

wanglei1598 opened this issue Dec 28, 2015 · 3 comments

Comments

@wanglei1598
Copy link

设置disconf.enable_local_download_dir_in_class_path=false之后, @DisconfFile(filename = "")如果不设置已copy2TargetDirPath,仍会从classpath下面读取 配置。然后找不到。注入不了值,获取不到配置。

@knightliao
Copy link
Owner

你这样设置的目的是什么呢?这个配置文件就放着不读取是吗?

@wanglei1598
Copy link
Author

我不想从默认的classpath。我想从download配置文件的路径读。但我这样就必须要指定copy2TargetDirPath才可以。这样就造成了硬编码…… 还有一个问题。我已经暂时不考虑注解的形式了。使用XML的形式。如果使用非properties的配置文件。我的文件更新了,我如何获取新文件的内容。现在支持这种功能了吗?

@knightliao
Copy link
Owner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants