#!/bin/sh
separator="-----------------------------------------------"
PWD=pwd;
CLASSES=classes
PROJECT_PATH=$(pwd)
SERVLET_PATH=$PROJECT_PATH/VoicePairServlet
JAR_PATH=$SERVLET_PATH/lib
WEBINF_PATH=$SERVLET_PATH/WEB-INF
SRC_PATH=$SERVLET_PATH/src
echo ;
echo ;
echo $separator;
echo compile running!
echo $separator;
echo ;
echo ;
echo $separator;
echo delete old output file;
echo ;
rm $PROJECT_PATH/output/* -fv;
echo $separator;
echo;
echo;
echo $separator;
cd $PROJECT_PATH/VoicePairAlgorithm;
pwd;
echo ;
echo making ...
make;
echo ;
echo output file:
ls -ls output/;
echo ;
echo move file ...
mv output/libVoicePair.so $PROJECT_PATH/output -fv
echo $separator;
echo ;
echo ;
echo $separator;
cd $PROJECT_PATH/VoicePairServlet;
pwd;
echo ;
echo ........compile Begin ..........
echo ;
echo a. generate sources.list
#First remove the source.list file if it exists and then create the source.list file
rm -f $SERVLET_PATH/sources.list
find $SRC_PATH -name *.java > $SERVLET_PATH/sources.list
echo ;
echo b. rm old classe file
rm -rf $WEBINF_PATH/$CLASSES
cd $WEBINF_PATH
mkdir $CLASSES
echo ;
echo c. compile java file and generate class file
javac -d $WEBINF_PATH/$CLASSES -classpath $JAR_PATH/servlet-api-2.5.jar @$SERVLET_PATH/sources.list
rm $SERVLET_PATH/sources.list -fv;
echo ;
echo .........compile End ...........
echo
echo making voicepairserver.war;
cd $SERVLET_PATH;
jar -cfM voicepairserver.war WEB-INF;
cd $PROJECT_PATH;
echo ;
echo output file:
#find $PWD -maxdepth 1|xargs ls -ld
ls $SERVLET_PATH/voicepairserver.war -la;
mv $SERVLET_PATH/voicepairserver.war $PROJECT_PATH/output -fv
echo $separator;
echo ;
echo ;
echo $separator;
echo compile end!
echo $separator;
分享到:
相关推荐
Anyshare-libudev.so病毒处理,包含处理步骤,相关命令等信息
AnyShare_Windows_All_x64_develop-5.0.32-20190703-release-518.exe
anyShare 是一款社会化网络分享小工具,能够将你正在浏览的网页快速通过各种 SNS 社交网站分享给你的朋友们,嘿等等,我知道目前网路上已经有很多这样的按钮分享工具 ^_^ 但很难找到真正适合我们中国网民的,绝大...
AnyShare托管云服务解决方案.pptx
爱数AnyShare易享云备份恢复最佳实践.pdf
爱数AnyShare易享云备份恢复最佳实践.docx
AnyShare 3.5是基于网盘体验的企业级文档共享平台。它基于私有云存储,致力于面向中大型机构提供面向移动访问、桌面虚拟化、BYOD客户的私有文档云解决方案,打造组织的统一文档平台。
Puppeteer端到端(E2E)测试DEMO基于puppeteer的AnyShare端到端(E2E)测试。项目结构使用无头模式$ yarn test调试模式默认slowMo为100ms,开启devtools$ yarn test-dev依赖库 Chrome团队推出的headless browser ...
NULL 博文链接:https://xiaxingwork.iteye.com/blog/1888854
。。。
爱数,云计算和大数时代提供数据管理基础设施,始终以客户价值最大化为愿景将数据作为产品研发及解决方案设计...除此之外,爱数凭借AnyShare成为唯一入选Gartner《2018内容协作平台魔力象限》挑战者象限的亚太区厂商。
在用户项目需求的背景下,爱数解决方案采用AnyShare文档云DX1200系列构建基于私有文档中心的解决方案,终端用户可以在电脑、手机上安装客户端软件,就可以实现文档的分享与协作。