RSSMicro.com Search - RSS Feed Search Engine - RSS Feed Directory
Dedicated RSS Feed Search Engine
 Search 4.3 million RSS feeds
The most comprehensive RSS feed search on the web
Top Stories  |  FeedRank Checker

Published

   Last Hour

   Last Day

   Past Week

   Past Month

 Anytime







Featured
RSS Feeds


CNN RSS Feeds

Reuters RSS Feeds

MSNBC RSS Feeds

New York Times RSS Feeds

Washington Post RSS Feeds

CNBC RSS Feeds

ABC News RSS Feeds

Fox News RSS Feeds

Sky News RSS Feeds

Forbes RSS Feeds

CNET RSS Feeds

Unicef RSS Feeds

PBS RSS Feeds

Wall Street Journal RSS Feeds

Financial Times RSS Feeds

Business Week RSS Feeds

Bloomberg RSS Feeds

TheStreet RSS Feeds

ESPN RSS Feeds

   




FeedRank - RSSMicro Search

FeedRank, a newly developed algorithm for ranking RSS feeds only on RSSMicro
Click here to learn more




FeedRank: 4/10  4/10  Good  ---  www.jroller.com
Javalobby Community Weblog Service ...

 

 
Sunday, July 06, 2008 --- 93 days ago
A lot of Ant user think that to create a new Ant task you need to write some Java code and to extend Task (or MatchingTask). Well, since Ant 1.6 you write what is called macros. 2 new tasks can be used to do it: macrodef presetdef I would say that Presetdef is a simplified version of macrodef. Here is an example of macrodef: <macrodef name="xins"> <attribute name="api" default="" /> <attribute name="target" /> <attribute name="projectdir" default="${basedir}" /> <sequential> <property environment="env" /> <available property="xins.home" value="${env.XINS_HOME}" file="${env.XINS_HOME}" type="dir" /> <fail message="Please set the XINS_HOME variable correctly." unless="xins.home" /> <ant antfile="${xins.home}/src/ant/make-build.xml"> <property name="xins_home" value="${xins.home}" /> <property name="user.dir" value="@{projectdir}" /> </ant> <condition property="xins.target.@{target}-@{api}" value="@{target}"> <equals arg1="@{api}" arg2="" /> </condition> <property name="xins.target.@{target}-@{api}" value="@{target}-@{api}" /> <ant antfile="@{projectdir}/build/build.xml" target="${xins.target.@{target}-@{api}}"> <property name="user.dir" value="@{projectdir}" /> </ant> </sequential> </macrodef> and to use it: <xins api="allinone" target="opendoc" projectdir="src/tests" /> ...




Recent Posts





 Facebook     Del.icio.us     Digg     StumbleUpon     Reddit     Google
Copyright © 2008 RSSMicro.com