apache扭矩项目的入口点 [英] entry point for apache torque project

查看:105
本文介绍了apache扭矩项目的入口点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个项目,其中包含webroot文件夹名称war并包含类似的结构

I've a project that contains webroot folder name war and contains a structure like

但它不像Web项目的其他常见入口点一样包含web.xml.我如何启动此扭矩项目?扭矩Web项目的入口点是什么? 我的另一个问题是结构中的xdoclet文件夹包含一个名为merge的文件夹,其中包含一些servlet mapping文件.那么xdoclect的连接和servlet的映射是什么.

but it doesn't contains a web.xml like other common entry point for web projects.How i start this torque project?What is the entry point for torques web project? my another question is here xdoclet folder in my structure contains a folder name merge that contains some servlet mapping files.so what is connection of xdoclect and mapping of servlet.

推荐答案

我想您会在build.xml中找到问题的答案.可能您需要构建项目(描述符和xdoclet工作都将由ANT完成).

I suppose you will find answers to your questions looking at build.xml. Probably you need to build your project (both descriptors and xdoclet work will be done by ANT).

为此,一个好的起点可能是:

In order to do that, a good starting point could be:

  • 您下载了此项目结构的位置
  • 打开一个外壳,进入build.xml所在的目录并键入

  • where you've downloaded this project structure
  • open a shell, go into the directory where there's build.xml and type

ant --projecthelp

ant --projecthelp

我认为蚂蚁在您的PATH中.否则,您可以在ant命令的前面加上ant命令的整个路径.

I assume ant is in your PATH. Otherwise you can prefix the ant command with the whole path of the ant command.

这篇关于apache扭矩项目的入口点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆