gen-classpath.sh

来自「Network Administration Visualized 网络管理可」· Shell 代码 · 共 24 行

SH
24
字号
#!/bin/sh# This script will output a shell command to set a proper CLASSPATH for# building autodiscovery The classpath will include the existing classpath from# the shell environment, and the build directories of the dependencies within# the NAV source tree (which means you must build the NAV Java code first)## To use the script, eval its output, like so:##  eval `gen-classpath.sh`DEPS="SimpleSnmp Util ConfigParser Database NetboxInfo Eventi Logger"SRC=../../srcCP=$CLASSPATHSRC=`(cd $SRC;pwd)`for DEP in $DEPSdo	DEPPATH=$SRC/$DEP/build	CP=$CP:$DEPPATHdoneecho export CLASSPATH=$CP

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?