-
1. Re: Checkout / Compile of JBoss-head fails
dmlloyd Dec 21, 2009 2:24 PM (in response to lafr)I'd recommend building trunk using the "mvn install" command. Also, if you're going to run the build.sh script maybe try using bash instead of ksh? -
2. Re: Checkout / Compile of JBoss-head fails
lafr Dec 21, 2009 6:36 PM (in response to dmlloyd)From the head of the build script:
#!/bin/sh
### ====================================================================== ###
## ##
## This is the main entry point for the build system. ##
## ##
## Users should execute this file rather than 'mvn' to ensure ##
## the correct version is being used with the correct configuration. ##
## ##
### ====================================================================== ###So this is a bourne shell script. So using a ksh is OK and using a bash makes no difference.
And the comment says one should use this script.
-
3. Re: Checkout / Compile of JBoss-head fails
jaikiran Dec 22, 2009 12:44 AM (in response to lafr)1 of 1 people found this helpful -
4. Re: Checkout / Compile of JBoss-head fails
brian.stansberry Dec 22, 2009 10:38 AM (in response to jaikiran)I'm curious as to how many of the folks who regularly work on AS trunk still use build/build.sh. Like David, I always run maven commands directly from the root of the checkout, or from the root of a module if I'm just interested in the module.
Unless there's a strong case for it or a lot of folks are using it, I'd recommend getting rid of this script. If it's not actively used it's just code that will fall into disrepair and cause trouble; from this thread perhaps it already has. As a help to people accustomed to the old way, for the 6.x series turn it into something trivial that outputs a message telling people to use maven comands from the root of the checkout.
-
5. Re: Checkout / Compile of JBoss-head fails
brian.stansberry Dec 22, 2009 10:57 AM (in response to brian.stansberry)Frank,
From a clean checkout I just tried:
build]$ ./build.sh
and
build]$ ./build.sh clean install
and both worked fine. So not sure what the cause of your problem is.
-
6. Re: Checkout / Compile of JBoss-head fails
lafr Dec 22, 2009 11:14 AM (in response to brian.stansberry)The important difference could be found in the posted link http://community.jboss.org/wiki/jbossasbuild.
As of version 6 you have to exceute the build script directly located in the check out dir (jboss-head).
Using version 4.2.x for now I stepped into jboss-head/build to execute the script located there.
-
7. Re: Checkout / Compile of JBoss-head fails
brian.stansberry Dec 22, 2009 12:13 PM (in response to lafr)Ah, I see. Thanks.
Well, my opinion re: these scripts is even stronger then. Now we've got two scripts to maintain.
-
8. Re: Checkout / Compile of JBoss-head fails
jaikiran Dec 23, 2009 10:15 AM (in response to brian.stansberry)Paul had mentioned that he's going to remove the one from "build" folder http://community.jboss.org/thread/89942. It might be on Paul's TODO.