`

ant build.xml copy jar build jar

    博客分类:
  • java
阅读更多
<?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="lsbpm.editor.v7">
	<property environment="env" />
	<property name="ECLIPSE_HOME" value="C:/Program Files/Genuitec/MyEclipse 8.5" />
	<property name="debuglevel" value="source,lines,vars" />
	<property name="lsbpmClassDir" value="${basedir}/class4lsbpm" />
	<property name="target" value="1.6" />
	<property name="source" value="1.6" />
	<path id="Spring 3.0 Core Libraries.libraryclasspath">
		<pathelement location="${ECLIPSE_HOME}/configuration/org.eclipse.osgi/bundles/87/1/.cp/data/3.0/lib/core/org.springframework.core-3.0.1.RELEASE-A.jar" />
		<pathelement location="${ECLIPSE_HOME}/configuration/org.eclipse.osgi/bundles/87/1/.cp/data/3.0/lib/core/org.springframework.context-3.0.1.RELEASE-A.jar" />
		<pathelement location="${ECLIPSE_HOME}/configuration/org.eclipse.osgi/bundles/87/1/.cp/data/3.0/lib/core/org.springframework.beans-3.0.1.RELEASE-A.jar" />
		<pathelement location="${ECLIPSE_HOME}/configuration/org.eclipse.osgi/bundles/87/1/.cp/data/3.0/lib/core/org.springframework.asm-3.0.1.RELEASE-A.jar" />
		<pathelement location="${ECLIPSE_HOME}/configuration/org.eclipse.osgi/bundles/87/1/.cp/data/3.0/lib/core/com.springsource.org.apache.log4j-1.2.15.jar" />
		<pathelement location="${ECLIPSE_HOME}/configuration/org.eclipse.osgi/bundles/87/1/.cp/data/3.0/lib/core/com.springsource.org.apache.commons.logging-1.1.1.jar" />
		<pathelement location="${ECLIPSE_HOME}/configuration/org.eclipse.osgi/bundles/87/1/.cp/data/3.0/lib/core/org.springframework.expression-3.0.1.RELEASE-A.jar" />
	</path>
	<path id="Hibernate 3.3 Annotations &amp; Entity Manager.libraryclasspath">
		<pathelement location="C:/Program Files/Genuitec/Common/plugins/com.genuitec.org.hibernate.eclipse_3.2.4.CR1-me201003101716/myeclipse-data/3.3/lib/entitymanager/hibernate-annotations.jar" />
		<pathelement location="C:/Program Files/Genuitec/Common/plugins/com.genuitec.org.hibernate.eclipse_3.2.4.CR1-me201003101716/myeclipse-data/3.3/lib/entitymanager/hibernate-commons-annotations.jar" />
		<pathelement location="C:/Program Files/Genuitec/Common/plugins/com.genuitec.org.hibernate.eclipse_3.2.4.CR1-me201003101716/myeclipse-data/3.3/lib/entitymanager/hibernate-entitymanager.jar" />
		<pathelement location="C:/Program Files/Genuitec/Common/plugins/com.genuitec.org.hibernate.eclipse_3.2.4.CR1-me201003101716/myeclipse-data/3.3/lib/hibernate-validator.jar" />
		<pathelement location="C:/Program Files/Genuitec/Common/plugins/com.genuitec.org.hibernate.eclipse_3.2.4.CR1-me201003101716/myeclipse-data/3.3/lib/entitymanager/ejb3-persistence.jar" />
	</path>
	<path id="Hibernate 3.3 Core Libraries.libraryclasspath">
		<pathelement location="C:/Program Files/Genuitec/Common/plugins/com.genuitec.org.hibernate.eclipse_3.2.4.CR1-me201003101716/myeclipse-data/3.3/lib/bytecode/cglib/cglib-2.2.jar" />
		<pathelement location="C:/Program Files/Genuitec/Common/plugins/com.genuitec.org.hibernate.eclipse_3.2.4.CR1-me201003101716/myeclipse-data/3.3/lib/bytecode/javassist/javassist-3.9.0.GA.jar" />
		<pathelement location="C:/Program Files/Genuitec/Common/plugins/com.genuitec.org.hibernate.eclipse_3.2.4.CR1-me201003101716/myeclipse-data/3.2/lib/antlr-2.7.6.jar" />
		<pathelement location="C:/Program Files/Genuitec/Common/plugins/com.genuitec.org.hibernate.eclipse_3.2.4.CR1-me201003101716/myeclipse-data/3.3/lib/required/commons-collections-3.1.jar" />
		<pathelement location="C:/Program Files/Genuitec/Common/plugins/com.genuitec.org.hibernate.eclipse_3.2.4.CR1-me201003101716/myeclipse-data/3.3/lib/hibernate3.jar" />
		<pathelement location="C:/Program Files/Genuitec/Common/plugins/com.genuitec.org.hibernate.eclipse_3.2.4.CR1-me201003101716/myeclipse-data/3.3/lib/required/jta-1.1.jar" />
		<pathelement location="C:/Program Files/Genuitec/Common/plugins/com.genuitec.org.hibernate.eclipse_3.2.4.CR1-me201003101716/myeclipse-data/3.2/lib/ehcache-1.2.3.jar" />
		<pathelement location="C:/Program Files/Genuitec/Common/plugins/com.genuitec.org.hibernate.eclipse_3.2.4.CR1-me201003101716/myeclipse-data/3.3/lib/required/slf4j-api-1.5.8.jar" />
		<pathelement location="C:/Program Files/Genuitec/Common/plugins/com.genuitec.org.hibernate.eclipse_3.2.4.CR1-me201003101716/myeclipse-data/3.3/lib/required/slf4j-log4j12-1.5.8.jar" />
		<pathelement location="C:/Program Files/Genuitec/Common/plugins/com.genuitec.org.hibernate.eclipse_3.2.4.CR1-me201003101716/myeclipse-data/3.3/lib/required/log4j-1.2.14.jar" />
		<pathelement location="C:/Program Files/Genuitec/Common/plugins/com.genuitec.org.hibernate.eclipse_3.2.4.CR1-me201003101716/myeclipse-data/3.1/lib/dom4j-1.6.1.jar" />
	</path>
	<path id="Hibernate 3.3 Advanced Support Libraries.libraryclasspath">
		<pathelement location="C:/Program Files/Genuitec/Common/plugins/com.genuitec.org.hibernate.eclipse_3.2.4.CR1-me201003101716/myeclipse-data/3.3/lib/optional/c3p0/c3p0-0.9.1.jar" />
		<pathelement location="C:/Program Files/Genuitec/Common/plugins/com.genuitec.org.hibernate.eclipse_3.2.4.CR1-me201003101716/myeclipse-data/3.3/lib/optional/jbosscache/jboss-cache-1.4.1.GA.jar" />
		<pathelement location="C:/Program Files/Genuitec/Common/plugins/com.genuitec.org.hibernate.eclipse_3.2.4.CR1-me201003101716/myeclipse-data/3.3/lib/optional/jbosscache2/jbosscache-core-3.1.0.GA.jar" />
		<pathelement location="C:/Program Files/Genuitec/Common/plugins/com.genuitec.org.hibernate.eclipse_3.2.4.CR1-me201003101716/myeclipse-data/3.3/lib/optional/oscache/oscache-2.1.jar" />
		<pathelement location="C:/Program Files/Genuitec/Common/plugins/com.genuitec.org.hibernate.eclipse_3.2.4.CR1-me201003101716/myeclipse-data/3.3/lib/optional/proxool/proxool-0.8.3.jar" />
		<pathelement location="C:/Program Files/Genuitec/Common/plugins/com.genuitec.org.hibernate.eclipse_3.2.4.CR1-me201003101716/myeclipse-data/3.3/lib/optional/swarmcache/swarmcache-1.0RC2.jar" />
	</path>
	<path id="JUnit 4.libraryclasspath">
		<pathelement location="C:/Program Files/Genuitec/Common/plugins/org.junit4_4.5.0.v20090824/junit.jar" />
		<pathelement location="C:/Program Files/Genuitec/Common/plugins/org.hamcrest.core_1.1.0.v20090501071000.jar" />
	</path>
	<path id="lsbpm.editor.v7.classpath">
		<pathelement location="bin" />
		<path refid="Spring 3.0 Core Libraries.libraryclasspath" />
		<path refid="Hibernate 3.3 Annotations &amp; Entity Manager.libraryclasspath" />
		<path refid="Hibernate 3.3 Core Libraries.libraryclasspath" />
		<path refid="Hibernate 3.3 Advanced Support Libraries.libraryclasspath" />
		<pathelement location="lib/mysql-connector-java-5.1.10-bin.jar" />
		<pathelement location="lib/lucene-analyzers-2.4.0.jar" />
		<pathelement location="lib/lucene-core-2.9.1.jar" />
		<pathelement location="lib/lucene-highlighter-2.9.1.jar" />
		<pathelement location="lib/lucene-memory-2.4.0.jar" />
		<pathelement location="lib/lucene-smartcn-2.9.1.jar" />
		<pathelement location="lib/paoding-analysis.jar" />
		<pathelement location="lib/pdf-renderer.jar" />
		<pathelement location="lib/pdfbox-1.0.0.jar" />
		<pathelement location="lib/poi-3.6-20091214.jar" />
		<pathelement location="lib/poi-contrib-3.6-20091214.jar" />
		<pathelement location="lib/poi-scratchpad-3.6-20091214.jar" />
		<pathelement location="lib/commons-lang-2.4.jar" />
		<pathelement location="lib/commons-net-2.0.jar" />
		<pathelement location="lib/commons-beanutils-1.8.3.jar" />
		<pathelement location="lib/commons-collections-3.2.1.jar" />
		<pathelement location="lib/commons-dbutils-1.3.jar" />
		<pathelement location="lib/commons-digester-2.0.jar" />
		<pathelement location="lib/velocity-1.6.3.jar" />
		<pathelement location="lib/miglayout15-swing.jar" />
		<pathelement location="lib/beansbinding-1.2.1.jar" />
		<pathelement location="lib/json-lib-2.3-jdk15.jar" />
		<pathelement location="lib/ezmorph-1.0.6.jar" />
		<pathelement location="lib/fontbox-1.0.0.jar" />
		<pathelement location="lib/iText-2.1.5.jar" />
		<pathelement location="lib/iText-2.1.7.jar" />
		<pathelement location="lib/iText-rtf-2.1.7.jar" />
		<pathelement location="lib/iTextAsian.jar" />
		<pathelement location="lib/jdom-1.0.jar" />
		<pathelement location="lib/commons-configuration-1.6.jar" />
		<pathelement location="lib/icu4j-3.8.jar" />
		<pathelement location="lib/quartz-1.8.0.jar" />
		<pathelement location="lib/svnkit.jar" />
		<path refid="JUnit 4.libraryclasspath" />
	</path>

	<target name="init">
		<mkdir dir="${lsbpmClassDir}" />
	</target>

	<target  depends="clean,init" name="copyJar">
		<copy includeemptydirs="false" todir="${lsbpmClassDir}/lib">
			<path refid="lsbpm.editor.v7.classpath" />
			<flattenmapper />
		</copy>
	</target>


	<target name="clean">
		<delete dir="${lsbpmClassDir}" />
	</target>

	<target depends="init" name="build">
		<echo message="${ant.project.name}: ${ant.file}" />
		<javac debug="true" debuglevel="${debuglevel}" destdir="${lsbpmClassDir}" source="${source}" target="${target}">
			<src path="src" />
			<classpath refid="lsbpm.editor.v7.classpath" />
		</javac>
	</target>

	<target depends="build" name="build jar">
		<jar destfile="${basedir}/build2exe/lsbpm.jar" basedir="${lsbpmClassDir}" />
	</target>

</project>

分享到:
评论

相关推荐

    hadoop-eclipse-plugin-1.1.2.jar

    &lt;copy file="${hadoop.root}/build/hadoop-core-${version}.jar" tofile="${build.dir}/lib/hadoop-core.jar" verbose="true"/&gt; &lt;copy file="${hadoop.root}/build/ivy/lib/Hadoop/common/commons-cli-${commons-cli...

    ant1.9资源

    若文件名为hello.xml时,读者还需要对命令做少许改变,改为:ant –f hello.xml sayHelloWorld、ant –buildfile hello.xml sayHelloWorld或ant –file hello.xml sayHelloWorld。 接下来开始向读者讲解本节的重点...

    hadoop1.1.2 eclipse 插件

    &lt;copy file="${hadoop.root}/build/hadoop-core-${version}.jar" tofile="${build.dir}/lib/hadoop-core.jar" verbose="true"/&gt; &lt;copy file="${hadoop.root}/build/ivy/lib/Hadoop/common/commons-cli-${commons-...

    ant导出jar包例子

    用ant构建一个项目,copy一个build.xml仅做了一个打包的功能测试。

    Java打包插件(fatjar)

    选择后其它默认即可,Next后会列出你要打包的所有内容,这个插件的优势就是可以将你项目中的外部jar也打进来,有三个先项,其中Export ANT是生成build.xml脚本文件,方便用户以后修改脚本,其它两个按钮没用。...

    Ant 1.9.2 API (CHM格式)

    Ant功能强大的地方在于,程序员不仅能通过编写Ant的脚本(build.xml)来进行各种文件部署管理操作,还可以通过调用Ant的丰富的API,甚至扩展Ant的API进行编程。 1. 目录操作: 1) 创建目录 1. Project prj=new ...

    jbpm开发步骤

    这个构建文件${jbpm.home}/db/build.xml包含了脚本 用来创建和删除数据库结构的操作。 进入到这个目录下,运行ant -p 可以获得更多细节。 你的数据库中创建表结构: 首先,更新${jbpm.home}/db/jdbc中的数据库配置...

    jocky 混肴编译rar包(ant和插件俩个版本)

    事实上,在Eclipse中使用Jocky时,Jocky也是首先针对所选工程生成Ant的Build文件(默认名称jocky_build.xml),然后再通过Ant完成混淆编译。 以下是Jocky在Eclipse中自动生成的Ant Build 文件示例: 1 ...

    fckedit编辑器

    然后将FCKeditor-2.3.zip(java)压缩包中\web\WEB-INF\lib\目录下的两个jar文件拷到项目的\WEB-INF\ lib\目录下把其中的src目录下的FCKeditor.tld文件copy到TestFCKedit/WEB-INF/下 4.合并web.xml: 将FCKeditor-...

    java 混淆工具,不可逆 jocky 也许是最好的了

    事实上,在Eclipse中使用Jocky时,Jocky也是首先针对所选工程生成Ant的Build文件(默认名称jocky_build.xml),然后再通过Ant完成混淆编译。 以下是Jocky在Eclipse中自动生成的Ant Build 文件示例: ...

    joc eclipse plugin

    事实上,在Eclipse中使用Jocky时,Jocky也是首先针对所选工程生成Ant的Build文件(默认名称jocky_build.xml),然后再通过Ant完成混淆编译。 以下是Jocky在Eclipse中自动生成的Ant Build 文件示例: ...

    android-viewflow

    If you rather want a jar file instead of a including the project as an android library, run ant jar in the android-viewflow/viewflow folder, to build a jar file. Caveats The manifest states a min ...

Global site tag (gtag.js) - Google Analytics