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 16:35:22 GMT
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?

-Matt

--- Jan.Materne@rzf.fin-nrw.de wrote:
> I thought about that half a year ago. But I didnīt
> that of some reasons:
> 
> 1. The resulting "buildfile" is not easily be
> adapted
>    --> ok, I (for myself) like it open
> 
> 2. Seems to be hard to do
>    --> but much more important is nr. 3 :-)
> 
> 3. No time for that ...
> 
> 
> I started the project, called "Ant-Compiler".
> Letīs see what I had done ...
> 
> ... a text file with some thoughts ... a buildfile
> (seems to be a copy of
> Antīs own)
> ... a JBuilder project file ... and two really NOT
> helpful classes ...
> 
> Aha, the project ended in a very early stadium ...
> 
> 
> 
> Jan
> 
> 
> 
> > -----Original Message-----
> > From: Chappell, Simon P
> [mailto:Simon.Chappell@landsend.com]
> > Sent: Tuesday, November 25, 2003 4:49 PM
> > To: Ant Users List
> > Subject: RE: Could Ant build scripts be compiled?
> > 
> > 
> > With enough lines of code, you can do anything.
> This sounds 
> > like an interesting idea.
> > 
> > Simon
> > 
> > >-----Original Message-----
> > >From: Stirling, Scott
> [mailto:scott.stirling@workscape.com]
> > >Sent: Tuesday, November 25, 2003 9:37 AM
> > >To: user@ant.apache.org
> > >Subject: Could Ant build scripts be compiled?
> > >
> > >
> > >Hi,
> > >
> > >Just a thought I've been holding onto for a
> while.
> > >
> > >Could we benefit from compiling Ant build
> scripts?  They would 
> > >load faster if the XML didn't have to be parsed. 
> They would 
> > >be less open to unwanted modification (if you
> ship build 
> > >scripts with a product, for example).  They might
> run faster, 
> > >although I'm not as sure about that.
> > >
> > >What would they be compiled down to?  I guess the
> best answer 
> > >would be, a Java class.  Ant would have to be
> able to load a 
> > >class rather than a build script for this to
> work.
> > >
> > >Any thoughts?
> > >
> > >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
> > >
> > >
> > 
> >
>
---------------------------------------------------------------------
> > 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