获取码头和Maven 以 TextMate 形式工作
我经常在 Eclipse 中工作,但最近切换到 TextMate,在我看来,这是最好的文本编辑器,也许除了 VIM 或类似的东西(但我发现学习曲线太陡峭,还无法跳入其中)。
缺点是我不太知道如何运行 Maven 和 Maven。 Jetty 不使用 Eclipse。这里工作的工程师建立了包含 POM 文件等的 Java 项目。在 Eclipse 中一切都运行良好,但我想我听说 TextMate 实际上在某个地方有一个捆绑包可以使用 Maven,我想知道这样的事情是否可能也包括码头。
我是一名 UI 人员,所以请少用一些技术术语。 (换句话说,我不做Java,尽管我了解其中一些。)
I often work in Eclipse, but recently switched to TextMate, which is, in my opinion, the best text editor out there, barring perhaps VIM or something like that (but I find the learning curve too steep to jump into that quite yet).
The disadvantage is I don't really know how to run Maven & Jetty w/out using Eclipse. The engineers at work here set up Java projects that have POM files, etc. And it all runs fine in Eclipse, but I thought I heard somewhere that TextMate actually had a bundle somewhere to use Maven with, and I wondered if such a thing might include Jetty too.
I'm a UI guy, so please, keep the technical jargon down just a tad. (In other words, I don't do Java, though I understand some of it.)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您不需要任何花哨的东西就可以在 Jetty 上运行 Mavenized Web 应用程序。只需将以下代码片段添加到您的
pom.xml
中(假设您的项目有一个 war 类型的打包,如下所示):然后在控制台中运行以下命令:
以防万一,有一个 < a href="http://macromates.com/svn/Bundles/trunk/Bundles/Maven.tmbundle" rel="nofollow noreferrer">TextMate 的 Maven 包 允许从 TextMate 调用 Maven。您可以检查 此邮件了解详细信息。
You don't need anything fancy to run a Mavenized webapp on Jetty. Simply add the following snippet to your
pom.xml
(assuming your project has a packaging of type war as illustrated below):And just run the following command in a console:
Just in case, there is a Maven bundle for TextMate allowing to invoke Maven from TextMate. You can check this mail for details.