Commit 4b60572b authored by 22管33's avatar 22管33

測試.gitegnore以及增加替换包名的脚本

parent c8e56290
......@@ -29,6 +29,11 @@ dep2.sh
web/src/main/filters/dev.properties
dao/src/main/java/com/haomostudio/SeekTruthBackend/
domain/src/main/java/com/haomostudio/SeekTruthBackend/
web/src/main/resources/mybatis/com/haomostudio/SeekTruthBackend/
service/src/main/java/com/haomostudio/SeekTruthBackend/service/*.java
dao/src/main/java/com/haomostudio/SpringMVCProjectTemplate/
domain/src/main/java/com/haomostudio/SpringMVCProjectTemplate/
web/src/main/resources/mybatis/com/haomostudio/SpringMVCProjectTemplate/
......
#!/bin/bash
read -p "请输入项目名:" -t 60 username #等待60秒
echo $username
perl -p -i -e "s/SeekTruthBackend.domain/$username.po/g" dao/src/main/java/com/haomostudio/SeekTruthBackend/dao/*.java
perl -p -i -e "s/SeekTruthBackend.dao/$username.dao/g" web/src/main/resources/mybatis/com/haomostudio/SeekTruthBackend/*Mapper.xml
perl -p -i -e "s/SeekTruthBackend.domain/$username.po/g" web/src/main/resources/mybatis/com/haomostudio/SeekTruthBackend/*Mapper.xml
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment