ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Zimmer <bzim...@ignitemedia.com>
Subject RE: Factory method needed for Javac taskdef?
Date Wed, 06 Sep 2000 14:16:35 GMT
You might want to look at the <style> tag as it allows the use of different
xslt engines depending on an attribute.

brian

-----Original Message-----
From: Michael Saunders [mailto:michael@amtec.com]
Sent: Wednesday, September 06, 2000 9:12 AM
To: ant-dev@jakarta.apache.org
Subject: Factory method needed for Javac taskdef?


To all:

I was noticing that the Javac taskdef is slowly expanding to include more
and
more popular compiler types. Is it possible that this indicates the need for
a
factory method responsible for fetching the compiler of choice and then
sending
messages to it through a simple interface containing a method like
doCompile()?

Does anyone have any ideas how one might load a factory for a taskdef such
as
Javac? I wonder if some kind of general Factory taskdef could be developed
to
install a factory for the Javac taskdef and possibly others that had similar
needs but different interfaces. Or maybe it should simply be a fully
qualified
class name given as an attribute to the Javac taskdef where Sun's
implementation
is the default if one is not specified.

Michael

Mime
View raw message