[wildfly-dev] Build / distro in new build system

Tomaž Cerar tomaz.cerar at gmail.com
Mon Jul 28 07:46:00 EDT 2014


Hi guys,

there have been lots of questions about end results of new build, mostly
all related to missing "jar" files in build distribution.

New build plugin now enables us to produce "slim" distribution of WildFly
which does not include jar files in module directory
but rather user jboss-modules feature to load resources from maven.
This slim/full distribution can be controlled in server-build.xml, which is
config file for build plugin, by *copy-module-artifacts* flag.

By default in current build we have different settings for different
modules / builds
by directories:

- build - produces slim distribution of whole server, which is used for
integration testing
- web-build - produces "web" slim distribution
- dist - produces full inflated distribution with all jars in modules

and in wildfly-core, we have
- core-build - which produces inflated distribution, but will be switched
back to slim after MODULES-194 <https://issues.jboss.org/browse/MODULES-194>
is fixed


So in short, if you need full distribution with all jars or slim distro
doesn't work for you (WFLY-3596 <https://issues.jboss.org/browse/WFLY-3596>)

either use build that you can find in "dist/target" or change config flag
(just don't commit it back)

Also in similar spirit if you need zip/tar.gz distribution, then just run
build with -Drelease
and you will get zip/tar.gz  in dist/target


--
tomaz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/wildfly-dev/attachments/20140728/477abc18/attachment-0001.html 


More information about the wildfly-dev mailing list