Java Mailing List Archive

http://www.junlu.com/

Subjects
Home
mod jk2 https
Donation of JAXP 1 3 Sources to Apache
R annoyances
RE: Finding out when the aspnet admin worker process has recycled
Favorite Linux Distribution
eigenvalues of a circulant matrix
Apache Install
Reachin apache from outside
Ant should have an ext directory
Warning: Documentroot doesn 't exist
Can this be Done?
RE: Multilanguage Application
RE: Simple Question On setting up Sub Domain site
Lack of independence in anova()
How to close connection instead of sending 403?
winning the case for ANT
Re: adding php
New Ant GUI 'Ant 's Nest '
Narrowing Down A Strange Problem
Ant Task: sshexec
R Graph Gallery : categorization of the graphs
I 've been hacked, I need some help please
RE: Anyone working with DotNetNuke?
RE: Exception Handling Opinion
hex format
RE: IIS stopped working :(
<for > Build Failed:problem
RE: Separation of Objects from Logic
RE: Tracking pages with long request execution time
sending email to multiple destination
Web Site
ant UI
Easy cut & paste from Excel to R?
Win32 Apache Restart
Improving Tasks
HELP! PLEASE!
RE: Adding Controls to a Page
read table
RE: ASPNET account doesn 't exist!
Best way to uninstall Apache2 on red hat
from win to linux how to web page
XMLParseException changes and creation of XMLLocator2
Re Post: rewrite backslash to forward slash
Target or macrodef?
Page display problem XPSP2
Authentication problems
Dynamic Dictionary Data Type?
Newbie unable access my www from outside
off topic question: Latex and R in industries
Conflict between xtable and Hmisc when using Sweave?
Very old problem without any new solution
mod rewrite help
Basic Authentication question
RE: Code Security
calling ant from java program
prevent double signing
Re: Controlling Copy/Paste/Print
Using R to illustrate the Central Limit Theorem
web server slow too much slow
access to user directories
Links
Home
Official R Project Site
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
<for > -Build Failed:problem

<for > -Build Failed:problem

2004-08-02       - By Inger, Matthew
Reply:     1     2     3     4     5     6     7     8     9     10     >>  

taskdef takes several different types of parameters.

Prior to ant 1.6, you could either specify a classname, or a
resource name.  The resource name indicated the name of a properties
file which could specify tasks.  The property name was the task name,
and the value was the class which defined the task.

Ant 1.6 added the ability to load an xml file with the task
definitions as well.  This is the preferred way to load multiple
tasks in Ant 1.6, though the .properties file is still supported,
and individual task definitions are still supported as well.

<taskdef resource="net/sf/antcontrib/antlib.xml" />


-----Original Message-----
From: Angeshwar Deepak [mailto:angeshwar@(protected)]
Sent: Monday, August 02, 2004 10:28 AM
To: Ant Users List
Subject: RE: <for> -Build Failed:problem


Hi,

I searched for the xml file u mentioned to. Its
available onliny in ant-contrib-1.0b1 (the latest
version). In the previous versions there is no such
xml file.

Also the taskdef task takes only a classfile as
attribute. I cannot understand how it takes a xml
file. Could u please give me an example of how u used
it.

bye,
with regards,
Deepak.


--- "Khehra, Sukh" <Sukh.Khehra@(protected)> wrote:

> properties file is needed in ant 1.5 versions i
> think. try it with the xml file. i have it running
> quite well.
>
>
> -----Original Message-----
> From: Angeshwar Deepak [mailto:angeshwar@(protected)]
> Sent: Monday, August 02, 2004 10:00 AM
> To: Ant Users List
> Subject: RE: <for> -Build Failed:problem
>
>
> Hi,
>
> In the site
>
> http://ant-contrib.sourceforge.net/
>
> Under installation its mentioned to include the line
>
> <taskdef
> resource="net/sf/antcontrib/antcontrib.properties"/>
>
> If u want to use ant-contrib tasks.
> kindly correct me if I am wrong.
>
>
> bye,
> with regards,
> Deepak.
>
>
> --- "Khehra, Sukh" <Sukh.Khehra@(protected)> wrote:
>
> > shouldn't you say <taskdef
> > resource="net/sf/antcontrib/antlib.xml"> ?
> >
> > -----Original Message-----
> > From: Angeshwar Deepak
> [mailto:angeshwar@(protected)]
> > Sent: Monday, August 02, 2004 6:14 AM
> > To: Ant Users List
> > Subject: RE: <for> -Build Failed:problem
> >
> >
> > Hi,
> >
> > I tried that too, but still it does'nt work. But
> > for-each task works, the problem is only with for
> > task.
> >
> > So I am still breaking my head.
> >
> > bye,
> > with regards,
> > Deepak.
> > --- Nanda Kishore MVS
> > <nandakishoremvs@(protected)> wrote:
> >
> > > Hi,
> > >   No, I meant the lib folder straight. In your
> case
> > > like:
> > > SET
> > >
> >
>
CLASSPATH=D:\deepak\buildProcess_2\_tools\ant-1.6.2\lib;%CLASSPATH%
> > > The lib folder itself should be in classpath,
> not
> > > the contrib jar alone.
> > > As for why it's so, I've not looked into that,
> but
> > > this is how the contrib tasks are working for me
> > > now.
> > >
> > > Regards,
> > > Nanda Kishore
> > >
> > >
> > > -----Original Message-----
> > > From: Angeshwar Deepak
> > [mailto:angeshwar@(protected)]
> > > Sent: Monday, August 02, 2004 3:12 PM
> > > To: Ant Users List
> > > Subject: RE: <for> -Build Failed:problem
> > >
> > >
> > > Hi,
> > >
> > > Do you mean to say this?-I have it I guess.
> > >
> > > SET
> > >
> >
>
CLASSPATH=D:\deepak\buildProcess_2\_tools\ant-1.6.2\lib\ant-contrib-0.6.jar;
> > >
> > > and my complete set of classpath is
> > >
> > > SET
> > >
> >
>
PATH=c:\j2sdk1.4.2_04\bin;D:\deepak\buildProcess_2\_tools\ant-1.6.2\bin;D:\d
eepak\buildProcess_2\_lib\build\apache-forrest-0.5.1-bin\bin
> > > set JAVA_HOME=c:\j2sdk1.4.2_04
> > > set
> > >
> ANT_HOME=D:\deepak\buildProcess_2\_tools\ant-1.6.2
> > > set
> > >
> >
> PATH=%PATH%;%ANT_HOME%\bin;%PATH%;%FORREST_HOME%\bin
> > >
> > > set
> > >
> >
>
FORREST_HOME=D:\deepak\buildProcess_2\_lib\build\apache-forrest-0.5.1-bin
> > > SET
> > >
> >
>
CLASSPATH=D:\deepak\buildProcess_2\_tools\ant-1.6.2\lib\ant-contrib-0.6.jar;
> > >
> > > bye,
> > > with regards,
> > > Deepak.
> > >
> > > --- Nanda Kishore MVS
> > > <nandakishoremvs@(protected)> wrote:
> > >
> > > > Hi,
> > > >   I think you will need the ant's lib folder
> > > > "${ANT_HOME}\lib" added to your classpath to
> run
> > > the
> > > > ant contrib tasks. And this lib folder needs
> to
> > be
> > > > in the classpath before your weblogic or other
> > > such
> > > > jars. Can you check that out?
> > > >
> > > > Regards,
> > > > Nanda Kishore.
> > > >
> > > >
> > > >
> > > > -----Original Message-----
> > > > From: Angeshwar Deepak
> > > [mailto:angeshwar@(protected)]
> > > > Sent: Monday, August 02, 2004 1:20 PM
> > > > To: user@(protected)
> > > > Subject: <for> -Build Failed:problem
> > > >
> > > >
> > > > Hi,
> > > >
> > > > I am using the <for> task under ant-contrib
> > task.
> > > > I am using Apache Ant version 1.6.2
> > > > I have placed ant-contrib-1.0b1.jar in the lib
> > > > folder
> > > > of Ant.
> > > >
> > > > I have also added the following line
> > > >
> > > > <taskdef
> > resource="net/sf/antcontrib/antlib.xml"/>
> > > >
> > > > to the build file. I simply copied the <for>
> > task
> > > > from
> > > > the web.
> > > > The code is
> > > >
> > > > <taskdef
> > > >
> > >
> >
> resource="net/sf/antcontrib/antcontrib.properties"/>
> > > >
> > > > <echo message="The first five letters of the
> > > > alphabet
> > > > are:"/>
> > > > <for list="a,b,c,d,e" param="letter">
> > > >   <sequential>
> > > >     <echo>Letter @{letter}</echo>
> > > >   </sequential>
> > > > </for>
> > > >
> > > > But I get the error
> > > >
> > > > Buildfile:
> > > >
> > >
> >
>
D:\deepak\buildProcess_2\_lib\build\apache-forrest-0.5.1-bin\forrest.build.x
ml
> > > >
> > > > init-props:
> > > > The first five letters of the alphabet are:
> > > > task
> CL=sun.misc.Launcher$AppClassLoader@(protected)
> > > >
> > > > BUILD FAILED
>
=== message truncated ===



   
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)


©2008 junlu.com - Jax Systems, LLC, U.S.A.