- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
Eclipse Web 项目不是使用 ANT 构建的...我让 Eclipse 构建了我的 build.xml 文件,但是如果我转到注释行并运行 ANT,它不会在任何地方生成 WAR 文件。有人可以告诉我为什么吗?
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- WARNING: Eclipse auto-generated file.
Any modifications will be overwritten.
To include a user specific buildfile here, simply create one in the same
directory with the processing instruction <?eclipse.ant.import?>
as the first entry and export the buildfile again. -->
<project basedir="." default="build" name="MemberInquiry">
<property environment="env"/>
<property name="debuglevel" value="source,lines,vars"/>
<property name="target" value="1.6"/>
<property name="source" value="1.6"/>
<path id="Apache Tomcat v6.0 [Apache Tomcat v6.0].libraryclasspath">
<pathelement location="../../jboss-ews-1.0/tomcat6/lib/tomcat-i18n-ja.jar"/>
<pathelement location="../../jboss-ews-1.0/tomcat6/lib/catalina.jar"/>
<pathelement location="../../jboss-ews-1.0/tomcat6/lib/commons-pool.jar"/>
<pathelement location="../../jboss-ews-1.0/tomcat6/lib/jasper-el.jar"/>
<pathelement location="../../jboss-ews-1.0/tomcat6/lib/jasper-jdt.jar"/>
<pathelement location="../../jboss-ews-1.0/tomcat6/lib/jboss-logging-jdk.jar"/>
<pathelement location="../../jboss-ews-1.0/tomcat6/lib/mysql-connector-java-5.0.5.jar"/>
<pathelement location="../../jboss-ews-1.0/tomcat6/lib/catalina-ant.jar"/>
<pathelement location="../../jboss-ews-1.0/tomcat6/lib/tomcat-coyote.jar"/>
<pathelement location="../../jboss-ews-1.0/tomcat6/lib/jsp-api.jar"/>
<pathelement location="../../jboss-ews-1.0/tomcat6/lib/jasper.jar"/>
<pathelement location="../../jboss-ews-1.0/tomcat6/lib/tomcat-i18n-fr.jar"/>
<pathelement location="../../jboss-ews-1.0/tomcat6/lib/commons-dbcp.jar"/>
<pathelement location="../../jboss-ews-1.0/tomcat6/lib/tomcat-juli-adapters.jar"/>
<pathelement location="../../jboss-ews-1.0/tomcat6/lib/el-api.jar"/>
<pathelement location="../../jboss-ews-1.0/tomcat6/lib/catalina-ha.jar"/>
<pathelement location="../../jboss-ews-1.0/tomcat6/lib/tomcat-dbcp.jar"/>
<pathelement location="../../jboss-ews-1.0/tomcat6/lib/log4j.jar"/>
<pathelement location="../../jboss-ews-1.0/tomcat6/lib/annotations-api.jar"/>
<pathelement location="../../jboss-ews-1.0/tomcat6/lib/mod-cluster.jar"/>
<pathelement location="../../jboss-ews-1.0/tomcat6/lib/jboss-logging-spi.jar"/>
<pathelement location="../../jboss-ews-1.0/tomcat6/lib/servlet-api.jar"/>
<pathelement location="../../jboss-ews-1.0/tomcat6/lib/tomcat-i18n-es.jar"/>
</path>
<path id="Web App Libraries.libraryclasspath">
<pathelement location="WebContent/WEB-INF/lib/activation-1.0.2.jar"/>
<pathelement location="WebContent/WEB-INF/lib/antlr-2.7.6.jar"/>
<pathelement location="WebContent/WEB-INF/lib/aopalliance-1.0.jar"/>
<pathelement location="WebContent/WEB-INF/lib/asm-1.5.3.jar"/>
<pathelement location="WebContent/WEB-INF/lib/asm-attrs-1.5.3.jar"/>
<pathelement location="WebContent/WEB-INF/lib/cas-client-core-3.2.1.jar"/>
<pathelement location="WebContent/WEB-INF/lib/cglib-2.1_3.jar"/>
<pathelement location="WebContent/WEB-INF/lib/commons-beanutils-1.7.0.jar"/>
<pathelement location="WebContent/WEB-INF/lib/commons-codec-1.4.jar"/>
<pathelement location="WebContent/WEB-INF/lib/commons-collections-2.1.1.jar"/>
<pathelement location="WebContent/WEB-INF/lib/commons-dbcp.jar"/>
<pathelement location="WebContent/WEB-INF/lib/commons-digester-1.8.jar"/>
<pathelement location="WebContent/WEB-INF/lib/commons-email-1.0.jar"/>
<pathelement location="WebContent/WEB-INF/lib/commons-fileupload-1.1.1.jar"/>
<pathelement location="WebContent/WEB-INF/lib/commons-io-1.1.jar"/>
<pathelement location="WebContent/WEB-INF/lib/commons-lang-2.5.jar"/>
<pathelement location="WebContent/WEB-INF/lib/commons-logging-1.1.1.jar"/>
<pathelement location="WebContent/WEB-INF/lib/commons-pool.jar"/>
<pathelement location="WebContent/WEB-INF/lib/dom4j-1.6.1.jar"/>
<pathelement location="WebContent/WEB-INF/lib/dumbster-1.6.jar"/>
<pathelement location="WebContent/WEB-INF/lib/ehcache-1.2.3.jar"/>
<pathelement location="WebContent/WEB-INF/lib/hibernate-3.2.6.ga.jar"/>
<pathelement location="WebContent/WEB-INF/lib/hibernate-annotations-3.3.1.GA.jar"/>
<pathelement location="WebContent/WEB-INF/lib/hibernate-commons-annotations-3.0.0.ga.jar"/>
<pathelement location="WebContent/WEB-INF/lib/hibernate-entitymanager-3.3.2.GA.jar"/>
<pathelement location="WebContent/WEB-INF/lib/hibernate-search-3.0.0.GA.jar"/>
<pathelement location="WebContent/WEB-INF/lib/hibernate-validator-4.0.2.GA.jar"/>
<pathelement location="WebContent/WEB-INF/lib/httpclient-4.1.2.jar"/>
<pathelement location="WebContent/WEB-INF/lib/httpclient-cache-4.1.2.jar"/>
<pathelement location="WebContent/WEB-INF/lib/httpcore-4.1.2.jar"/>
<pathelement location="WebContent/WEB-INF/lib/httpmime-4.1.2.jar"/>
<pathelement location="WebContent/WEB-INF/lib/icu4j-2.6.1.jar"/>
<pathelement location="WebContent/WEB-INF/lib/javassist-3.4.GA.jar"/>
<pathelement location="WebContent/WEB-INF/lib/jaxb-api-2.1.jar"/>
<pathelement location="WebContent/WEB-INF/lib/jaxb-impl-2.1.3.jar"/>
<pathelement location="WebContent/WEB-INF/lib/jaxen-1.1.1.jar"/>
<pathelement location="WebContent/WEB-INF/lib/jdom-1.0.jar"/>
<pathelement location="WebContent/WEB-INF/lib/jstl-1.2.jar"/>
<pathelement location="WebContent/WEB-INF/lib/jta-1.1.jar"/>
<pathelement location="WebContent/WEB-INF/lib/log4j-1.2.14.jar"/>
<pathelement location="WebContent/WEB-INF/lib/lucene-core-2.3.2.jar"/>
<pathelement location="WebContent/WEB-INF/lib/lucene-highlighter-2.0.0.jar"/>
<pathelement location="WebContent/WEB-INF/lib/mail-1.4.jar"/>
<pathelement location="WebContent/WEB-INF/lib/mysql-connector-java-5.0.5.jar"/>
<pathelement location="WebContent/WEB-INF/lib/persistence-api-1.0.jar"/>
<pathelement location="WebContent/WEB-INF/lib/quartz-1.5.2.jar"/>
<pathelement location="WebContent/WEB-INF/lib/slf4j-api-1.5.6.jar"/>
<pathelement location="WebContent/WEB-INF/lib/slf4j-log4j12-1.5.6.jar"/>
<pathelement location="WebContent/WEB-INF/lib/spring-aop-3.0.1.RELEASE.jar"/>
<pathelement location="WebContent/WEB-INF/lib/spring-asm-3.0.1.RELEASE.jar"/>
<pathelement location="WebContent/WEB-INF/lib/spring-beans-3.0.1.RELEASE.jar"/>
<pathelement location="WebContent/WEB-INF/lib/spring-context-3.0.1.RELEASE.jar"/>
<pathelement location="WebContent/WEB-INF/lib/spring-core-3.0.1.RELEASE.jar"/>
<pathelement location="WebContent/WEB-INF/lib/spring-expression-3.0.1.RELEASE.jar"/>
<pathelement location="WebContent/WEB-INF/lib/spring-jdbc-3.0.1.RELEASE.jar"/>
<pathelement location="WebContent/WEB-INF/lib/spring-ldap-1.3.0.RELEASE-all.jar"/>
<pathelement location="WebContent/WEB-INF/lib/spring-orm-3.0.1.RELEASE.jar"/>
<pathelement location="WebContent/WEB-INF/lib/spring-security-acl-3.0.5.RELEASE-sources.jar"/>
<pathelement location="WebContent/WEB-INF/lib/spring-security-acl-3.0.5.RELEASE.jar"/>
<pathelement location="WebContent/WEB-INF/lib/spring-security-aspects-3.0.5.RELEASE-sources.jar"/>
<pathelement location="WebContent/WEB-INF/lib/spring-security-aspects-3.0.5.RELEASE.jar"/>
<pathelement location="WebContent/WEB-INF/lib/spring-security-cas-client-3.0.5.RELEASE-sources.jar"/>
<pathelement location="WebContent/WEB-INF/lib/spring-security-cas-client-3.0.5.RELEASE.jar"/>
<pathelement location="WebContent/WEB-INF/lib/spring-security-config-3.0.5.RELEASE-sources.jar"/>
<pathelement location="WebContent/WEB-INF/lib/spring-security-config-3.0.5.RELEASE.jar"/>
<pathelement location="WebContent/WEB-INF/lib/spring-security-core-3.0.5.RELEASE-sources.jar"/>
<pathelement location="WebContent/WEB-INF/lib/spring-security-core-3.0.5.RELEASE.jar"/>
<pathelement location="WebContent/WEB-INF/lib/spring-security-ldap-3.0.5.RELEASE-sources.jar"/>
<pathelement location="WebContent/WEB-INF/lib/spring-security-ldap-3.0.5.RELEASE.jar"/>
<pathelement location="WebContent/WEB-INF/lib/spring-security-openid-3.0.5.RELEASE-sources.jar"/>
<pathelement location="WebContent/WEB-INF/lib/spring-security-openid-3.0.5.RELEASE.jar"/>
<pathelement location="WebContent/WEB-INF/lib/spring-security-taglibs-3.0.5.RELEASE-sources.jar"/>
<pathelement location="WebContent/WEB-INF/lib/spring-security-taglibs-3.0.5.RELEASE.jar"/>
<pathelement location="WebContent/WEB-INF/lib/spring-security-web-3.0.5.RELEASE-sources.jar"/>
<pathelement location="WebContent/WEB-INF/lib/spring-security-web-3.0.5.RELEASE.jar"/>
<pathelement location="WebContent/WEB-INF/lib/spring-tx-3.0.1.RELEASE.jar"/>
<pathelement location="WebContent/WEB-INF/lib/spring-web-3.0.1.RELEASE.jar"/>
<pathelement location="WebContent/WEB-INF/lib/spring-webmvc-3.0.1.RELEASE.jar"/>
<pathelement location="WebContent/WEB-INF/lib/stax-api-1.0-2.jar"/>
<pathelement location="WebContent/WEB-INF/lib/validation-api-1.0.0.GA.jar"/>
<pathelement location="WebContent/WEB-INF/lib/xalan-2.6.0.jar"/>
<pathelement location="WebContent/WEB-INF/lib/xercesImpl-2.6.2.jar"/>
<pathelement location="WebContent/WEB-INF/lib/xml-apis-1.3.02.jar"/>
<pathelement location="WebContent/WEB-INF/lib/xmlParserAPIs-2.6.2.jar"/>
<pathelement location="WebContent/WEB-INF/lib/xom-1.0.jar"/>
<pathelement location="WebContent/WEB-INF/classes"/>
</path>
<path id="EAR Libraries.libraryclasspath"/>
<path id="MemberInquiry.classpath">
<pathelement location="build/classes"/>
<path refid="Apache Tomcat v6.0 [Apache Tomcat v6.0].libraryclasspath"/>
<path refid="Web App Libraries.libraryclasspath"/>
<path refid="EAR Libraries.libraryclasspath"/>
<pathelement location="WebContent/WEB-INF/lib/httpclient-4.1.2.jar"/>
<pathelement location="WebContent/WEB-INF/lib/httpclient-cache-4.1.2.jar"/>
<pathelement location="WebContent/WEB-INF/lib/httpcore-4.1.2.jar"/>
<pathelement location="WebContent/WEB-INF/lib/httpmime-4.1.2.jar"/>
<pathelement location="WebContent/WEB-INF/lib/commons-codec-1.4.jar"/>
<pathelement location="WebContent/WEB-INF/classes/log4j.xml"/>
</path>
<target name="init">
<mkdir dir="build/classes"/>
<copy includeemptydirs="false" todir="build/classes">
<fileset dir="src">
<exclude name="**/*.java"/>
</fileset>
</copy>
</target>
<target name="clean">
<delete dir="build/classes"/>
</target>
<target depends="clean" name="cleanall"/>
<target depends="build-subprojects,build-project" name="build"/>
<target name="build-subprojects"/>
<target depends="init" name="build-project">
<echo message="${ant.project.name}: ${ant.file}"/>
<javac debug="true" debuglevel="${debuglevel}" destdir="build/classes" source="${source}" target="${target}">
<src path="src"/>
<classpath refid="MemberInquiry.classpath"/>
</javac>
</target>
<target description="Build all projects which reference this project. Useful to propagate changes." name="build-refprojects"/>
</project>
这是屏幕的输出:
[jsmith@wcmisdlin07 成员(member)查询]$ ant构建文件:build.xml
构建子项目:
初始化: [复制] 将 1 个文件复制到/home/jsmith/uft-workspace/MemberInquiry/build/classes
构建项目: [echo]成员(member)查询:/home/jsmith/uft-workspace/MemberInquiry/build.xml
构建:
构建成功总时间:0秒
请让我知道要尝试什么
最佳答案
那个特定的 ant 脚本不会构建 war ,它所做的只是编译 java.util.Ant 脚本。除了简单地运行此 ant 脚本之外,您还必须在 eclipse 中采取其他一些操作来创建 war 文件。
关于java - Eclipse Web 项目不是使用 ANT 构建的吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10211034/
我想在文件系统上手动创建文件夹/文件,以便在 eclipse 的工作区中创建新项目,并在启动 eclipse 并选择工作区时显示在项目资源管理器中。 执行此操作需要创建哪些文件,它们需要位于何处? 请
我正在关注these instructions ,但在运行 mvn eclipse:eclipse 等命令时遇到问题。 我应该如何以及在哪里运行该命令? 我的设置: Windows 7 32 位 面向
是否有任何命令可以在不实际启动 eclipse 的情况下创建 eclipse 工作区?我希望该命令成为脚本的一部分。创建工作区后,将对其进行配置(例如文本编码),然后用于将项目导入到 RTC。我知道下
我想为 Eclipse 插件创建一个自动安装程序(即不通过“更新管理器”)。我的场景很简单:用户关闭 Eclipse,将下载的 JAR 放入 dropins 文件夹,启动 Eclipse,其余的过程是
每当我们想要使用现有源位置创建 Eclipse 项目时,我们将选择现有源位置(根)作为项目位置。 Eclipse 将在该源的根目录中创建所有项目特定文件。 现在,出于某种原因,如果我们想用不同的设置重
可能被问过多次; 有没有办法从控制台(Linux 或 Windows)刷新 Eclipse 工作区文件夹。 我知道有 Ant 任务可以做到这一点。但很想知道是否有命令行技巧。 最佳答案 不,您能做的最
我说的是工具栏上的小图标。 网络上似乎没有任何这样的问题,它们都指的是 android 或自定义应用程序,而不是与 eclipse 捆绑在一起的图标。 我想知道是否有人尝试过这个,或者可以告诉我它不值
如何使用 Eclipse 比较两个文件? (目前我正在使用 WinMerge 。) 最佳答案 要在 Eclipse 中比较两个文件,请首先在 Project Explorer/Package Expl
我正在尝试将我在一个带有数据库的 Eclipse JEE6 项目中所做的所有工作转移到另一个 Eclipse 程序。我知道我将不得不重新配置很多并重建很多库文件,但是尽可能多地传输的最简单方法是什么?
在 Eclipse 中加载我的工作台并启用 TFS 插件时,它挂起。与此类似: http://social.msdn.microsoft.com/Forums/vstudio/en-US/85c1d3
Eclipse 可以通过插件包含许多不同的功能集。您是否在一个 Eclipse 中安装所有插件?或者您是否从 spring 安装 STS,从 adobe 安装 Flex eclipse,甚至从 ecl
我错误地单击了“在 Eclipse 首选项中将目标运行标记为忽略在 Eclipse 构建中(实验)”: 在哪里/如何撤消此操作? 最佳答案 m2e 使用文件 YOUR_WORKSPACE/.metad
我是 Maven 新手。我尝试执行 >mvn eclipse:eclipse -Dwtpversion=2.0。但我收到以下错误: D:\test\CounterWebApp>mvn eclips
当我运行多个 Eclipse 实例时,操作系统不断请求上述权限。 我已经授予了该权限,并且我尝试了多次禁用和启用该权限。 我正在使用, macOS Catalina(版本:10.15.3 (19D76
我有一个 Maven 项目,其中我在项目构建期间使用 wsimport 作为目标来使用 Web 服务。 org.codehaus.mojo
当尝试使用 eclipse 新软件功能安装 eclipse 时,出现此错误: Cannot complete the install because one or more required item
我已经下载了整个 Eclipse Helios/Indigo 版本的源代码。现在我想对它进行一些修改等等。所以我导入了整个源代码,但现在我在编译时遇到了 n 个错误。此外,我正在尝试 RunAs> 插
我已经安装了 eclipse Oxygen 并且正在尝试连接到 Eclipse 市场,以安装插件,它给出了以下异常 - org.eclipse.equinox.p2.core.ProvisionExc
我的 IDE 中安装了来自 Sonatype 的 m2Eclipse 插件。它允许我通过右键单击 pom.xml 文件并导航到“运行方式”菜单来运行各种 Maven 命令(打包、安装等)。 但是,我还
我在 Windows7 64 位上运行 Maven 3 时遇到问题。当我执行maven eclipse:eclipse(我使用maven-eclipse-plugin 2.8)时,maven不会创建任
我是一名优秀的程序员,十分优秀!