commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rami Ojares" <rami.oja...@elisa.fi>
Subject Re: [vfs] VfsTask
Date Mon, 21 Jun 2004 18:42:20 GMT
> <vfs-manager id="default" class="StandardFileSystemManager">
> 	<vfs-option but this is to specify and implement later ../>
> </vfs-manager>
> 
> <vfs-manager id="special" class="MyHyperVFSFileSystemManager" />
> 
> <vfs-copy manager="default" toDir="path">
> 	<vfs-fileset dir="path">
> 		<include name="*.b?t"/>
> 	</vfs-fileset>
> </vfs-copy>
> 
> <vfs-copy manager="special" toDir="path">
> 	<vfs-fileset dir="pathXX">
> 		<include name="*.b?t"/>
> 	</vfs-fileset>
> </vfs-copy>

Yes, looks very good.
<vfs-manager> is here a data-type that sets a reference
to itself to project project.addReference(String name, Object value);
Then when vfs-copy sees manager attribute it asks an object from
project that is registered with the given refid.
And expects it to be vfs-manager datatype.

The same task can also accept that type nested inside, in which
case the type definition is local to the task.

- rami

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message