- 浏览: 587206 次
- 性别:
- 来自: 上海
-
文章分类
- 全部博客 (174)
- JBPM (3)
- WWF (0)
- JavaScript (11)
- J2EE (40)
- OperationSystem (11)
- 数据库 (12)
- CSS (1)
- Ajax (2)
- J2SE (30)
- Tools (10)
- 服务器中间件 (3)
- 异常 (0)
- Flex (5)
- jQuery (11)
- html (9)
- Ejb (1)
- HTML5 Shiv–让该死的IE系列支持HTML5吧 (1)
- Spring (9)
- Quartz (3)
- log4j (1)
- maven (1)
- cpdetector (1)
- JSON (1)
- log4jdbc (1)
- asm (8)
- FusionCharts (1)
- jqplot (1)
- highcharts (1)
- excanvas (1)
- html5 (1)
- jpcap介绍 (1)
- weblogic (3)
- URLURLClassLoader (0)
- URLClassLoader (1)
- ant (2)
- ivy (2)
- nexus (1)
- IT (0)
- LoadRunner (1)
- SCSS (1)
- ruby (1)
- webstorm (1)
- typescript (1)
- Jboss7 (1)
- wildfly (1)
- oracle (5)
- esb (0)
- dubbo (2)
- zookeeper (3)
- eclipse (1)
- Android (2)
- Studio (1)
- Google (1)
- 微信 (1)
- 企业号 (1)
- Linux (13)
- Oracle12c (1)
- Hadoop (1)
- InletexEMC (1)
- Windows (1)
- Netty (3)
- Marshalling (2)
- Protobuf (1)
- gcc (1)
- Git (1)
- GitLab (1)
- shell (2)
- java (3)
- Spring4 (1)
- hibernate4 (1)
- postgresql (1)
- ApacheServer (2)
- Tomcat (2)
- ApacheHttpServer (2)
- realvnc (1)
- redhat (7)
- vncviewer (1)
- LVS (4)
- LVS-DR (1)
- RedHat6.5 (5)
- LVS-NAT (1)
- LVS-IPTUNNEL (2)
- LVS-TUN (1)
- keepalived (2)
- yum (1)
- iso (1)
- VMware (1)
- redhat5 (1)
- ha (1)
- nginx (2)
- proguard (1)
- Mat (1)
- DTFJ (1)
- axis2 (1)
- web service (1)
- centos (1)
- random (1)
- urandom (1)
- apache (1)
- IBM (1)
- cve (1)
- 漏洞 (1)
- JDBC (1)
- DataSource (1)
- jdk (1)
- tuxedo (2)
- wtc (1)
最新评论
-
skying007:
好资料,谢谢分享给啊
FusionCharts在服务器端导出图片(J2EE版) -
cgnnzg:
大神好 可以发一份源码给我学习么 多谢了 978241085 ...
springmvc+dubbo+zookeeper -
jifengjianhao:
求源码:854606899@qq.com
springmvc+dubbo+zookeeper -
wdloyeu:
shihuan8@163.com邮箱网盘在哪,没找到。能给份源 ...
Java Socket长连接示例代码 -
huangshangyuanji:
求代码:45613032@qq.com
springmvc+dubbo+zookeeper
javapro-用ivy编译版本.rar文件时示例代码。
ivysettings.xml文件代码如下:
ivy.xml文件代码如下:
build.xml文件内容如下:
ivysettings.xml文件代码如下:
<ivysettings> <settings defaultResolver="default"/> <include url="${ivy.default.settings.dir}/ivysettings-public.xml"/> <include url="${ivy.default.settings.dir}/ivysettings-shared.xml"/> <include url="${ivy.default.settings.dir}/ivysettings-local.xml"/> <include url="${ivy.default.settings.dir}/ivysettings-main-chain.xml"/> <include url="${ivy.default.settings.dir}/ivysettings-default-chain.xml"/> </ivysettings>
ivy.xml文件代码如下:
<?xml version="1.0" encoding="ISO-8859-1"?> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <ivy-module version="2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://ant.apache.org/ivy/schemas/ivy.xsd"> <info organisation="com.shihuan" module="shihuanjava" status="integration"> </info> <dependencies> <dependency org="log4j" name="log4j" rev="1.2.17" conf="default"></dependency> <dependency org="org.slf4j" name="slf4j-api" rev="1.6.4" conf="default" /> <dependency org="org.slf4j" name="slf4j-log4j12" rev="1.6.4" conf="default" /> <dependency org="commons-lang" name="commons-lang" rev="2.6" conf="default" /> <dependency org="com.cloudhopper.proxool" name="proxool" rev="0.9.1" conf="default"> <exclude org="javax.servlet" name="servlet-api" module="servlet-api" conf="default" /> <exclude org="avalon-framework" name="avalon-framework-api" module="avalon-framework-api" conf="default" /> <exclude org="avalon-logkit" name="avalon-logkit" module="avalon-logkit" matcher="exactOrRegexp" conf="default" /> <exclude org="geronimo-spec" name="geronimo-spec-jms" module="geronimo-spec-jms" matcher="exactOrRegexp" conf="default" /> <exclude org="geronimo-spec" name="geronimo-spec-javamail" module="geronimo-spec-javamail" matcher="exactOrRegexp" conf="default" /> <exclude org="com.cloudhopper.proxool" name="proxool-cglib" module="proxool-cglib" matcher="exactOrRegexp" conf="default"></exclude> </dependency> <dependency org="mysql" name="mysql-connector-java" rev="5.1.34" conf="default" /> </dependencies> </ivy-module>
build.xml文件内容如下:
<?xml version="1.0" encoding="UTF-8"?> <project xmlns:ivy="antlib:org.apache.ivy.ant" basedir="." name="TestJavaCl" default="genericjar"> <property name="publish.version" value="0.1" /> <property name="ivy.report.todir" value="build" /> <property name="repository.dir" value="F:/antlvy/ivycatchjars/cache" /> <target name="resolve"> <ivy:configure file="ivysettings.xml" /> <property name="ivy.default.ivy.user.dir" value="F:/antlvy/ivycatchjars/cache"/> <ivy:resolve file="ivy.xml" conf="default" /> <ivy:retrieve pattern="lib/[conf]/[artifact]-[revision].[ext]" /> <ivy:report /> </target> <path id="lib-classpath"> <fileset dir="${basedir}/lib/default"> <include name="**/*.jar"/> <exclude name="**/*.bak"/> </fileset> </path> <target name="clean"> <delete dir="${basedir}/bin" /> <delete dir="${basedir}/dist" /> </target> <target name="init" description="设置初始化打war包需要的路径变量"> <property name="name" value="TestJavaCl"/> <property name="src" value="${basedir}/src"/> <property name="resources" value="${basedir}/resources"/> <property name="packages" value="com.*"/> <property name="build.class" value="${basedir}/bin"/> <property name="build.javadocs" value="${basedir}/dist/doc"/> <property name="jar.dest" value="${basedir}/dist/jar"/> <property name="mainclass" value="com.shihuan.test.TestUrlClassLoader"/> <property name="build.encoding" value="utf-8"/> <property name="year" value="2014"/> <property name="version" value="1.0.0"/> <echo message="----------- ${name} ${version} [${year}] ------------" /> <echo message="----------- ${src} ------------" /> <echo message="----------- ${resources} ------------" /> <echo message="----------- ${build.class} ------------" /> <echo message="----------- ${build.javadocs} ------------" /> <echo message="----------- ${jar.dest} ------------" /> <patternset id="ignored.files"> <exclude name="**/.svn/**" /> </patternset> <filter token="year" value="${year}" /> <filter token="version" value="${version}" /> <filter token="date" value="${TODAY}" /> <filter token="log" value="true" /> <filter token="verbose" value="true" /> </target> <target name="prepare" depends="clean,init" description="创建打包需要的路径,拷贝源文件到打包路径下"> <tstamp/> <mkdir dir="${build.class}"/> <mkdir dir="${jar.dest}"/> </target> <target name="compile" depends="prepare,resolve"> <javac encoding="${build.encoding}" srcdir="${src}" destdir="${build.class}" includeantruntime="false" source="1.6" debug="yes" verbose="yes" failonerror="true" optimize="false"> <compilerarg line="-encoding UTF-8"/> <classpath refid="lib-classpath" /> </javac> <copy todir="${build.class}"> <fileset dir="${resources}"> <include name="**/*.properties"/> <include name="**/*.xml"/> <exclude name="**/*.bak"/> </fileset> </copy> </target> <target name="antjar" depends="compile"> <!--Create a property containing all .jar files, prefix lib/, and seperated with a space--> <pathconvert property="mf.classpath" pathsep=" "> <mapper> <chainedmapper> <!-- jar包文件只留文件名,去掉目录信息 --> <flattenmapper/> <!-- add lib/ prefix --> <globmapper from="*" to="lib/default/*"/> </chainedmapper> </mapper> <path refid="lib-classpath"/> </pathconvert> <jar destfile="${jar.dest}/myapp-${DSTAMP}.jar" basedir="${build.class}"> <manifest> <attribute name="Main-class" value="${mainclass}"/> <attribute name="Class-Path" value="${mf.classpath}"/> </manifest> </jar> </target> <target name="genericjar" depends="antjar"></target> </project>
- javapro-用ivy编译版本.rar (7.2 KB)
- 下载次数: 7
发表评论
-
JDK中的随机数机制探究
2017-05-31 21:25 1983今天有同事问起关于JDK1.8中默认是random问题 ... -
Netty5 AIO
2015-11-25 21:18 1711工程结构图: TimeServer.java文件内容如下: ... -
JDK1.7 AIO
2015-11-24 22:32 1081工程结构图: Helper.java文件内容如下: p ... -
java JAVA_OPTS javaagent
2015-11-23 15:48 1540附件里java JAVA_OPTS -javaagent的程序 ... -
dubbo源代码调试
2015-09-24 17:06 4229今天同事要调试zookeeper+dubbo源代码,所以做了以 ... -
ant+ivy+nexus的使用
2014-12-01 16:07 1642本文的大前提是先要搭建好nexus本地服务器。 工程目录结构 ... -
URLClassLoader初体验
2014-11-26 14:56 2237使用概要: File file = ... -
将输出流OutputStream转化为输入流InputStream的方法
2014-07-19 22:27 27700将输出流OutputStream转化为输入流InputSt ... -
JVM启动参数大全
2014-06-11 17:19 1022http://www.blogjava.net/midstr/ ... -
Java实现aop案例
2014-04-27 11:33 1374MyPersonService.java代码如下: pac ... -
Java Socket长连接示例代码
2014-04-07 13:42 21833SocketListenerPusher.java代码如下: ... -
Java多线程文档
2013-10-06 10:56 1252附件里是Java多线程的pdf文档,写的比较好,可参考。 ... -
利用jackson包进行json字符串与pojo类之间的转换源代码
2012-10-05 19:35 2002附件里是利用jackson包进行json字符串与pojo类之间 ... -
Java Swing开发的文件内容加密
2012-09-02 14:52 1241主要是javax.swing.JFrame和java.awt. ... -
mysql和Oracle在对clob和blob字段的处理
2012-08-25 18:50 30973一、MySQL与Oracle数据库如何处理Clob,Bl ... -
用JAVA Bean 反射得到set,get方法
2011-10-17 19:39 9128/** * java反射bean的get方法 ... -
Oracle自带连接池应用
2011-08-31 13:27 2083依赖ojdbc14.jar包 OraclePooled.ja ... -
利用commons-digester3-30.jar解析xml文件
2011-08-28 14:05 3992此方式解析需要commons-beanutils-1.8.3. ... -
非阻塞的HTTP服务器
2011-08-27 21:23 1367附件里为非阻塞HTTP服务器的相关Java代码。 HttpS ... -
Java.nio
2011-08-27 21:17 1434附件里为阻塞模式、非阻塞模式、阻塞和非阻塞的混合模式代码。 ...
相关推荐
本资源"ivy_cms_unused_scanner-0.0.5-py3-none-any.whl"正是一个在PyPI官网上可以下载的Python库,它专门用于扫描并识别CMS(内容管理系统)中未使用的组件或模块。 "ivy_cms_unused_scanner"是一个Python工具,它...
基于最新的多视图3D重建技术,它可以使用任意图像进行操作,并且在受控和非受控条件下均可高效运行。 可以从任何位置拍摄照片,只要在至少两张照片上可以看到要重建的对象。 图像对齐和3D模型重建都是完全自动化的...
But you can define some interceptors in a totally different class, and link them with any controller using the @With annotation.由于java不允许多继承,通过控制器继承特点来应用拦截器就受到极大的限制。...
从标题和描述来看,该笔记本配备了Intel Ivy Bridge处理器,并支持DDR III内存,同时采用了Panther Point PCH(平台控制器中枢)。这些配置表明ThinkPad E430具有较高的性能表现,适合处理各种复杂的业务场景。 ###...
- CPU: Quad-core Intel Core i7 CPU, Socket LGA 1150 or 1155 (Kaby Lake, Skylake, Broadwell, Haswell, Ivy Bridge or Sandy Bridge) - Motherboard: Any LGA 1150 or 1155 model with 4 DDR3 slots and at ...
5. **构建工具与集成**:Kotlin支持Gradle、Maven和Ivy等主流构建工具,方便项目管理。此外,IDE支持良好,如IntelliJ IDEA和Android Studio都提供了强大的Kotlin插件。 6. **函数式编程**:Kotlin支持高阶函数、...
- **Dependency Management:** Maven provides a built-in dependency management system, whereas Ant relies on external tools like Ivy for dependency management. - **Automation:** Maven automates many ...