Quantcast
Channel: MarsHut
Viewing all articles
Browse latest Browse all 6551

Build / distro in new build system

$
0
0
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

Viewing all articles
Browse latest Browse all 6551