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

How to add all *.jar in a directory #18

Open
DavidPerezIngeniero opened this issue Aug 12, 2016 · 2 comments
Open

How to add all *.jar in a directory #18

DavidPerezIngeniero opened this issue Aug 12, 2016 · 2 comments

Comments

@DavidPerezIngeniero
Copy link

This only loads a .jar from a folder where there are many *.jar:

scalive.Classpath.findAndAddJar(cl, Array(myDir), "")

I'd like to load all of them at once.

@ngocdaothanh
Copy link
Member

Currently this feature is not supported.

But you can still very easily write a few lines of code to loop through the files in your directory, and call scalive.Classpath.findAndAddJar.

@DavidPerezIngeniero
Copy link
Author

DavidPerezIngeniero commented Aug 24, 2016

OK, thanks for answering. A typical app has dozens of .jar, and this feature would be useful.

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