irvingc/stringtemplate4 — comment on commit 7f6bb59859fea868343b8e410243ee7d8a4b1559
File:  line 0
By irvingc:

> ok. does the ant build work? looks like you changed that completely.

I tested that as well, and it works properly, but I could not get away
from the ugly dependency to the bnd jar. Basically the build now asks
bnd to read from the osgi.bnd file to populate some basic parameters
in MANIFEST.MF and scans the classpath to create the proper *-Package
entries in this file. Then it includes all the class files inside the
resulting jar. A better alternative, might be to use the same old ant
jar task and use a handwritten MANIFEST.MF. This would skip the ugly
dependency, but if there are new packages added to the source, or some
reorganization, or some new imports, the MANIFEST.MF would have to be
generated again by hand. Depending on how common these kind of changes
are, this could be a better approach, but I think you are in a better
position to make this call :-)

Irving Cordova
http://irvingc.com