下载carrot2需要使用git,一种分布式的版本管理工具~~
介绍可以参见百度百科~
在linux下使用ant命令编译
如果出现
RE: No supported regular expression matcher found
的错误
添加
sudo apt-get install ant-optional
参考
https://bugs.launchpad.net/ubuntu/+source/ant/+bug/172789
http://download.carrot2.org/head/manual/index.html#section.advanced-topics.building-from-source-code
然后在temp/webapp的一个war包,那个包解压之后放在tomcat下就可以运行carrot2,不解压不行~~