cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremy Quinn <jer...@media.demon.co.uk>
Subject Re: New TagLib, votes please
Date Tue, 07 Nov 2000 18:06:35 GMT
>> > Option 4
>> > 	Install as in Option 1, without Sun's JARs, using Ant to conditionally
>> > compile.


Does anyone know if it is possible to set up a dual class dependency for
conditional compilation in the version of Ant used for Cocoon1?

I need to test for two separate packages

	javax.activation ...
	javax.mail ...

I can do something like this for one package dependency, but can't work out
how to handle two.


	<available property="mail.present" classname="javax.mail.Message"/>

  <target name="prepare-mailer" depends="init" if="mail.present">
    <copydir src="${src.dir}"
             dest="${build.src}"
             includes="**/mailer/**"
             filtering="on"/>
  </target>


thanks for any help

regards Jeremy
-- 
   ___________________________________________________________________

   Jeremy Quinn                                           Karma Divers
                                                       webSpace Design
                                            HyperMedia Research Centre

   <mailto:sharkbait@mac.com>     		 <http://www.media.demon.co.uk>
    <phone:+44.[0].20.7737.6831>        <pager:jermq@sms.genie.co.uk>

Mime
View raw message