ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <dona...@apache.org>
Subject Re: Available classpath search
Date Fri, 09 Nov 2001 19:50:28 GMT
On Sat, 10 Nov 2001 02:34, SimonRichardson2@halifax.co.uk wrote:
> Could anyone shed some light on this?

none you like. Currently there is no way to do this. The Cocoon project at 
xml.apache.org have a tasks to do this I believe.

>
> > -----Original Message-----
> > From: SimonRichardson2@halifax.co.uk
> > [mailto:SimonRichardson2@halifax.co.uk]
> > Sent: 08 November 2001 12:54
> > To: ant-user@jakarta.apache.org
> > Subject: Available classpath search
> >
> >
> > I'm trying to use <available> to search for the presence of a
> > class in a
> > classpath specified as follows:
> >
> > 	<path id="ssab.class.path" >
> > 		<pathelement path="${ssab.home}/classes"/>
> > 	</path>
> >
> > 	<available	property	="task.found"
> > 		classname		="uk.co.halifax.ss.find"
> > 		classpathref	="ssab.class.path"
> > 	/>
> > 	<echo
> > message="[uk.co.halifax.ss.find]task.found=${task.found}"/>
> >
> > However, the search does not appear to be restricted to the path
> > (ssab.class.path) and I find the property (task.found) is
> > always set.  I
> > guess that's because the classname exists in the system
> > CLASSPATH?  Is there
> > anyway to restrict the search to just the paths in the classpathref?
> >
> > Simon
> >
> > > Simon Richardson
> > > Technology
> > > Tel: 020 7574 8838
> > > E Mail: simonrichardson2@halifax.co.uk
> > >
> > > Halifax Group Treasury & Wholesale Banking
> > > 33 Old Broad Street
> > > London
> > > EC2N 1HZ
> >
> > --------------------------------------------------------------
> > ----------------
> > Halifax plc, Registered in England No. 2367076.  Registered
> > Office: Trinity Road, Halifax, West Yorkshire HX1 2RG.
> > Represents only the Halifax Financial Services Marketing
> > Group for the purposes of advising on and selling life
> > assurance, pensions and unit trust business.  The Marketing
> > Group is regulated by the Personal Investment Authority.
> > Switchboard 01422 333333.
> >
> > ==============================================================
> > ================
> >
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:ant-user-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail:
> > <mailto:ant-user-help@jakarta.apache.org>
>
> ---------------------------------------------------------------------------
>--- Halifax plc, Registered in England No. 2367076.  Registered Office:
> Trinity Road, Halifax, West Yorkshire HX1 2RG. Represents only the Halifax
> Financial Services Marketing Group for the purposes of advising on and
> selling life assurance, pensions and unit trust business.  The Marketing
> Group is regulated by the Personal Investment Authority.  Switchboard 01422
> 333333.
>
> ===========================================================================
>===

-- 
Cheers,

Pete

-------------------------------------------------------
To fight and conquer in all your battles is not supreme 
excellence; supreme excellence consists in breaking the 
enemy's resistance without fighting. - Sun Tzu, 300 B.C.
-------------------------------------------------------

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message