> >--> Question: It is possible to achieve the same degree of flexibility and > >reusability with Ant? If so, how are you doing this reuse in your projects? > > You can not achieve anywhere near that level of reuse with current ant. You > can use other tools to generate the build.xml files (In the past I used > XSLT to generate appropriate XML files). > > Techniques used include; > .. snip list of techniques .. ;) > > >--> If not, could we add a requirement for Ant2 to enforce the reusability > >and flexibility? > >This could of course perhaps be implemented as shown above or in a non-OO > >way. > > Well the OO way has been -1'ed so we won't end up with that ;)
OK thanks for the extensive answer. I will have to go back in the archives to find the reasons for why this -1 was given. I guess one of it is the complexity. I am not an expert, but I though that it was fitting well with what I read in the Ant2 requirements (e.g. having a well defined Project/Target/Task model, etc..) Anyway, I am not in favor of using the XML techniques for at least for these reasons: - first it requires the user to know about these techniques, i.e. to know more than just XML syntax. This is limitative. - second it is an external feature (from the Ant point of view) that is tighted to XML, and furthermore, if I remember well the Ant2 requirements, XML should just be one way to control Ant. Cheers Jerome
