Created
February 3, 2010 22:01
-
-
Save fizx/294079 to your computer and use it in GitHub Desktop.
jcp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # Recursively generates a list of child jars for the folders provided | |
| # and puts them into a colon-delimited list for the -cp option | |
| # | |
| # Example: | |
| # java -cp `jcp lib dist` com.qf.SomeScript | |
| # | |
| find $@ -name "*.jar" | xargs | sed "s/ /:/g" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment