Hmm, looks like the reason for the separation is because of the use of
libraries.ent. Since that must be generated before the build script is loaded
it has to be generated by build.xml and then imported and used by build-dist.xml.
So I'll have to wait until I remove the dependency on the thirdparty
libraries.ent from the distribution build. Once that is done, then I can merge
the two together.
Brian Stansberry wrote:
I can't answer your question about reasons for having them
separate, but
I sure like the idea of combining. Every time I need to change the build
I flip a coin to decide which of the two to look at first. The coin is
wrong half the time. :)
Paul Gier wrote:
>
> The as build 5_x and trunk currently use two main ant build scripts
> for the distribution build. These are "build.xml" and
> "build-dist.xml". If I merge these two files I can remove ~300 lines
> of xml that just pass control from one file to the other. Since
> "build-dist.xml" cannot be used independently, I don't see a reason to
> keep them separate.
>
> Is there any reason to keep these two files separate? I plan to
> change this in trunk today or early next week, but for the 5_x branch,
> I will wait until after the release.
>
> Thanks!
> _______________________________________________
> jboss-development mailing list
> jboss-development(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/jboss-development