[Yanel-dev] [Bug 6898] (too much) duplicate Ant code for resource types (including `yanel.sh build -f...` support)

bugzilla at wyona.com bugzilla at wyona.com
Thu Feb 5 07:35:22 CET 2009


http://bugzilla.wyona.com/cgi-bin/bugzilla/show_bug.cgi?id=6898


guillaume.deflache at wyona.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[build] making `yanel.sh    |(too much) duplicate Ant
                   |build -f...` work requires  |code for resource types
                   |(too much) duplicate Ant    |(including `yanel.sh build -
                   |code                        |f...` support)




------- Comment #6 from guillaume.deflache at wyona.com  2009-02-05 07:37 -------
Almost all Ant code for resources is indeed duplicated in every one of them, so
we could even import the whole build file and override what needs to be
different.

Try
---8<---
find \( -wholename "*src/resources/*/build.xml" -or -wholename
"*src/contributions/resources/*/build.xml" \) -exec diff -u
--ignore-space-change src/contributions/resources/image/build.xml '{}' \;
---8<---
...and see there are (almost) always the same few differences that could be
removed without problems as they are generic features anyway (like "-f" support
which is not available everywhere ATM).


-- 
Configure bugmail: http://bugzilla.wyona.com/cgi-bin/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.


More information about the Yanel-development mailing list