ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject RE: Generating build.xml
Date Fri, 22 Aug 2003 09:04:56 GMT
I know none easy way for creating the xml file.
There was a thread about that

- "is there an API to get a build file from an instance of Project"

Maybe you can write the Project object to a file?
(Be carefule with different Ant versions!)


> -----Original Message-----
> From: Keith Hatton []
> Sent: Thursday, August 21, 2003 12:29 PM
> To: Ant-User (E-mail 2)
> Subject: Generating build.xml
> Hi all,
> Is there any way to generate the build.xml file for a 
> corresponding Project object (other than by hand)?
> The specific thing I am trying to do is to use Ant as an 
> installer. The idea is, as I collect user responses, I can 
> build the Project and its Targets on the fly. And as I go, I 
> can also build the corresponding uninstall script by creating 
> another Project that contains all the undo-actions. Of 
> course, this uninstall Project has to be saved to disk for 
> later use, and the most obvious format to save it in would be 
> an uninstall.xml, which would be trivial for the uninstaller 
> to process.
> I'm open to any thoughts about this.
> Thanks
> Keith
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message