On 25 Nov 07, at 1:37 PM 25 Nov 07, Shane Isbell wrote:
I'm tightening up the compiler interfaces and have been thinking
about the
NetCompilerContext methods:
List<File> getLinkedResources()
List<File> getEmbeddedResources(),
File getWin32Icon(),
and so on, using File. What do people think about using URI instead?
This
would allow the build to pull the resources from either a web server
or a
file system but it could break the build if any remote resources are
not
available. Thoughts?
In Maven we actually have a resources plugin and a remote resources
plugin for these different purposes. Deal with files where they are
files, URIs where they are remote resources. Not sure the abstraction
buys you much in practice.
Shane
Thanks,
Jason
----------------------------------------------------------
Jason van Zyl
Founder, Apache Maven
jason at sonatype dot com
----------------------------------------------------------