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

Load only project datasources #1050

Merged
merged 2 commits into from
Mar 24, 2017

Conversation

AW3i
Copy link
Contributor

@AW3i AW3i commented Mar 24, 2017

When loading the datasources for the applications, the glob function was recursively checking all the directories at the root of each application, and loading every datasource it was able to find.

With this commit the glob is limited to the META-INF directory.

@appserver-ci
Copy link
Contributor

Can one of the admins verify this patch?

2 similar comments
@appserver-ci
Copy link
Contributor

Can one of the admins verify this patch?

@appserver-ci
Copy link
Contributor

Can one of the admins verify this patch?

Copy link
Member

@wagnert wagnert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please replace the / with DIRECTORY_SEPARATOR constant to also support Windows.

@wagnert wagnert merged commit 037d583 into appserver-io:master Mar 24, 2017
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

Successfully merging this pull request may close these issues.

3 participants