1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/jboss-as/jboss-as.conf
3 # Copyright (C) 2004 - 2023 The T2 SDE Project
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
8 # This program is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License version 2.
10 # --- T2-COPYRIGHT-NOTE-END ---
12 # Prevent executing normal make and install build steps.
13 # This package has custom make and install.
17 # Check if a java development kit was installed. Unfortunately
18 # JBoss seems to use special sun classes that are no available
19 # in the IBM jdk. So we are forced to check for the availability
21 pkgprefix -t sun-jdk-150
24 export JBOSS_HOME=$root/$prefix
26 # Custom package building and installation.
29 (cd build; sh build.sh)
31 # Something went wrong.
32 abort "Building $pkg failed."
36 # After building we have to copy the build results to
37 # the installation directory ($prefix). We also have
38 # to make sure to preserve any existing links.
39 buildoutput=$builddir/jboss-$ver-src/build/output/jboss-$ver/
40 (cd $buildoutput; tar -c * | tar -x -C $JBOSS_HOME)
43 hook_add postmake 5 jboss_postmake