Maybe Stefans 11 years old "JavaFront" could be helpful. https://svn.apache.org/viewvc/ant/sandbox/javafront/ The "taskexec.*" scripts shows how to use https://svn.apache.org/viewvc/ant/sandbox/javafront/taskexec.bat?view=markup https://svn.apache.org/viewvc/ant/sandbox/javafront/taskexec.sh?view=markup
-----Ursprüngliche Nachricht----- Von: Stefan Bodewig <bode...@apache.org> Gesendet: Freitag, 1. Januar 2021 14:37 An: user@ant.apache.org Betreff: Re: Can I load a project from a String / InputStream? On 2020-12-31, Eugen Stan wrote: > Thanks but I want/need to build the xml file dynamically and build the > project from that and then maybe customize it.I think this feature > should make it easier to test ant as well. Would this be ok for a > PR?Add a parse function in ProjectHelper similar to the file api? Note that ProjectHelper2 already supports Ant's own Resource abstraction in a limited way - it supports it if the Resource can provide a File or an URL. If you want to start supporting InputStreams in addition then I'd suggest you change the code in a way that works for arbitrary Resoures (as they all provide InputStreams). Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org