ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@yahoo.com>
Subject RE: Could Ant build scripts be compiled?
Date Tue, 25 Nov 2003 17:12:17 GMT
And of course, I actually meant "UP" the hierarchy
rather than down it... looks like a good start to this
approach would be to serialize Project and
ProjectComponent.  I'm sure there will be lots of
gotchas, of course...

-Matt

--- "Stirling, Scott" <scott.stirling@workscape.com>
wrote:
> > From: Matt Benson [mailto:gudnabrsam@yahoo.com]
> > 
> > Wouldn't it be easiest to add "implements
> > Serializable" as far down the object hierarchy as
> > possible, then add a command-line option to Main
> to
> > serialize the Project to a specified file instead
> of
> > executing targets?  Or clone Main if you wanted to
> > keep it out of Ant proper?
> 
> Yes.  It sounds do-able.  It would be interesting to
> prototype.  Main would need to be modified to load a
> serialized Project too.
> 
> I liked Jan's email.  Very off-the-cuff and funny.
> 
> As Simon said, with enough lines of code you can do
> anything.  There could be some other ways to do
> this, but probably not without some more interesting
> changes to the Ant runtime.  A related but different
> question is: if build scripts were compiled classes,
> could the Ant execution engine take advantage of it
> in more ways than by-passing the XML parsing?  I'm
> thinking "no," but, maybe I need a cup of coffee.
> ;->
> 
> Scott Stirling
> Workscape, Inc.
> 
>
***********************************************************************
> This message is intended only for the use of the
> intended recipient and
> may contain information that is PRIVILEGED and/or
> CONFIDENTIAL.  If you
> are not the intended recipient, you are hereby
> notified that any use,
> dissemination, disclosure or copying of this
> communication is strictly
> prohibited.  If you have received this communication
> in error, please
> destroy all copies of this message and its
> attachments and notify us
> immediately.
>
***********************************************************************
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> user-unsubscribe@ant.apache.org
> For additional commands, e-mail:
> user-help@ant.apache.org
> 


__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/

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


Mime
View raw message