- 浏览: 211927 次
- 性别:
- 来自: 广州
文章分类
最新评论
-
zzhyq:
有没有后台是ASHX 的呀
Ext.tree.TreePanel -
693593336:
谢谢作者分享,正好用上
Ext.tree.TreePanel -
greatwqs:
提供一个下载的demo不是更好
基于servlet的 Freemarker Demo
1【Java EE】【ANT专辑 一】ANT在Web项目中的应用--工具介绍
+官方HelloWorld
1.build.xml
<!-- 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. --> <project name="hello-ivy" default="run" xmlns:ivy="antlib:org.apache.ivy.ant"> <!-- some variables used --> <property name="lib.dir" value="lib" /> <property name="build.dir" value="build" /> <property name="src.dir" value="src" /> <!-- paths used for compilation and run --> <path id="lib.path.id"> <fileset dir="${lib.dir}" /> </path> <path id="run.path.id"> <!--引用jar包路径--> <path refid="lib.path.id" /> <!--引用二进制文件路径--> <path location="${build.dir}" /> </path> <!-- ================================= target: resolve ================================= --> <target name="resolve" description="--> retreive dependencies with ivy"> <ivy:retrieve/> </target> <!-- ================================= target: report ================================= --> <target name="report" depends="resolve" description="--> generates a report of dependencies"> <ivy:report todir="${build.dir}"/> </target> <!-- ================================= target: run ================================= --> <target name="run" depends="resolve" description="--> compile and run the project"> <!--创建文件夹--> <mkdir dir="${build.dir}" /> <!--编译的只需要引用jar包,classpathref=lib.path.id 下的jar包--> <javac srcdir="${src.dir}" destdir="${build.dir}" classpathref="lib.path.id" /> <property name="msg" value="hello ivy !"/> <!--跑java code , 这是时候引用的外部jar包是 class文件+ jar包--> <java classpathref="run.path.id" classname="example.Hello"> <arg value="-message"/> <arg value="${msg}"/> </java> </target> <!-- ================================= target: clean ================================= --> <target name="clean" description="--> clean the project"> <delete includeemptydirs="true"> <!-- fileSet 顾名思义就是file 集合。--> <fileset dir="${basedir}"> <exclude name="src/**" /> <exclude name="build.xml" /> <exclude name="ivy.xml" /> </fileset> </delete> </target> <!-- ================================= target: clean-cache ================================= --> <target name="clean-cache" description="--> clean the ivy cache"> <ivy:cleancache /> </target> </project>
因为加了中文,所以用UE保存为UTF-8就不会报:Invalid byte 2 of 2-byte UTF-8 sequence.异常
2.ivy.xml
<ivy-module version="2.0"> <info organisation="org.apache" module="hello-ivy"/> <dependencies> <dependency org="commons-lang" name="commons-lang" rev="2.0"/> <dependency org="commons-cli" name="commons-cli" rev="1.0"/> </dependencies> </ivy-module>
发表评论
-
eclipse_hot_keys
2011-09-26 09:33 829Alt+左右方向键 我们经常会遇到看代码 ... -
Ant_manual_links
2011-09-04 03:52 678ref:http://ant.apache.org/manua ... -
jetty_deploy_empty_project
2011-07-24 14:33 630pom.xml ==>jetty plugin ... -
free uml tools --Jude
2011-07-20 21:42 949做毕设时,Start-uml太让我蛋疼了,今天搜了下,其他 ... -
Maven Jetty Plugin Configuration Guide
2011-07-20 15:25 687en: http://docs.codehaus.o ... -
Eclipse快捷键(网上找的)
2010-03-12 00:35 6131. 【ALT+/】 此快捷键为用户编辑的好帮手,能为用 ... -
优化 myeclipse7.0 速度(尤其是building workspace)【转】
2010-04-09 16:02 995话说一个人的忍耐是有限度的,用MyEclipse差不多半年了 ... -
我的Myeclipse优化后
2010-04-09 20:07 880优化后,右击项目->Myeclipse->run ... -
MyEclipse 8.5 注册--取消MyEclipse Trial Expired解决办法(转)
2010-05-11 01:25 1892今天MyEclipse提示过期了,MyEclipse Tria ... -
Eclipse Java EE IDE for Web Developers安装使用【转载】
2010-10-30 17:47 2190环境:windows 7+Eclipse Java EE ID ... -
ant 学习笔记(整理版)
2010-11-24 00:48 586(略) -
MVN 总结【转】
2010-12-14 00:17 1950估计我是喜欢上转载东西了。这两天开始学习Maven。。。看了 ... -
如何去掉maven的[WARNING] Using platform encoding (UTF-8 actually) to copy filter
2010-12-14 09:25 839方法一: 再使用maven和jetty的时候,如果你不想看到 ... -
对看大坨的代码有用【Eclipse类图插件】
2011-04-25 16:30 1445Relo是一个帮助开发人员研究大型代码库的好工具,它能够一步步 ... -
eclipse快捷键大全
2011-05-08 20:30 742eclipse快捷键大全 (有重复,自己整理下) Ctrl+ ... -
Tomcat中DataSource的配置方法
2011-05-14 10:31 800study 1: http://tech.ccidnet.c ... -
eclipse下启动tomcat出现Setting property 'source' to 'org.eclipse.jst.jee.server:
2011-05-14 10:34 2337在eclipse中启动tomcat时出现Setting pro ...
相关推荐
maven-script-ant-2.2.0.jar
用UBUNTU10.04成功编译出Qt开发环境的基础上编写学习资料
Ant Download Manager v2.2.0.zip含下载地址可存云盘
官方能下到,如果闲速度慢可以在这里下载,改文档是英文文档,未发现被人翻译的对应版本。
最新nacos-server-2.2.0版本,windows安装包
nacos-2.2.0
amoeba-mysql-binary-2.2.0.tar.gz amoeba-mysql-binary-2.2.0.tar.gz amoeba-mysql-binary-2.2.0.tar.gz amoeba-mysql-binary-2.2.0.tar.gzamoeba-mysql-binary-2.2.0.tar.gz amoeba-mysql-binary-2.2.0.tar.gz ...
nacos 2.2.0版本
云音盒是一款以帮助大家制作电音特效的软件工具,需要的朋友快来下载吧。 云音盒功能 1、云音盒是一款属于大家的永久免费绿色K歌软件。 2、云音盒,一键电音、一键混响、一键K歌等功能。 ...
xbean-2.2.0.jar.
佳能ip100驱动是一款非常实用的打印机驱动程序,适合购买了该型号打印机的用户使用,它可以有效的解决打印机不能正常和电脑连接的问题,让打印机恢复正常的打印工作,欢迎有需要的朋友下载使用吧!...
启锐586b打印机驱动是一款配合对应电子免得打印机设备使用的驱动软件。安装完成后可以用于打印各大物流快递电子面单,支持批量打印操作,打印内容清晰,非常好用!欢迎用户下载使用。启锐586b产品特点1....
色彩故事试题库是一款专为一线教师开发的一款试题库软件,界面简单,易学,上手快.教师可以利用该题库软件挑选试题来辅助备课.给学生出练习题.课堂作业.课后作业.更有特色功能:以某道题为依据生成专项训练卷....
SpringBoot2.2.0英文官方帮助文档,从官方网站下载整理。
磊科随身wifi驱动是一款最新版的随身wifi网卡驱动软件,是面向磊科USB无线网卡用户提供的驱动安装程序。如果你在电脑上正常使用购买的网卡设备的话,就下载这款驱动程序吧!磊科随身wifi:netcore磊科随身wifi是一款...
seajs-2.2.0源码
MKVtoolnix2.2.0完美汉化版
nanohttpd-2.2.0.jar
opencv源码 OpenCV-2.2.0-win
systemc-2.2.0相关文件 systemc-2.2.0.tgz systemc_tests-2.2.0.tgz scv-1.0p2-sysc2.2.12jun06.tgz