D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
bin
/
Filename :
build-classpath-directory
back
Copy
#!/bin/sh # # Small script to build a classpath from a directory # # JPackage Project <http://www.jpackage.org/> # # $Id: build-classpath-directory,v 1.1 2004/12/15 16:23:45 robert Exp $ for i in "$@"; do _JARS=$(find "$i" -name "*.jar" -xtype f -printf %p: 2>/dev/null) _CLASSPATH=$_CLASSPATH$_JARS done _CLASSPATH="$(echo $_CLASSPATH | sed 's+:$++g')" echo "$_CLASSPATH"