Groups > Weblogic > WebLogic Webserver > Re: Error while generating ear using ant script in weblogic workshop 10




Re: Error while generating ear using ant script in weblogic
workshop 10

Re: Error while generating ear using ant script in weblogic workshop 10
Fri, 18 Jan 2008 07:06:59 -080
I was getting a similar build error "assembly failed" with external
workshop 9.2 ant scripts. I found that the problem for us was with BEA script
WL_HOME\common\bin\commEnv.sh.  It had 3 variables WL_USE_X86DLL, 
WL_USE_IA64DLL,  WL_USE_AMD64DLL. None of these were set to true as we are
running the the build on a SPARC64 Solaris 10 box, and the script had no
variable for our platform. So I had to complete the script for our platform.

In your case make sure the following things are satisfied - 

1. WL_HOME and JAVa_HOME is correctly set.

2. Don't set ANT_HOME or ANT_OPTS as the commEnv should do tht for you.

3. After you execute the commEnv (cmd/sh) file make sure the PATH is getting set
correctly, if not add a like to manually set it. (In our case I added - export
PATH=/bea92/weblogic92/server/native/solaris/sparc64/:/bea92/weblogic92/server/b
in/:/bea92/jdk150_06/jre/bin/:/bea92/jdk150_06/bin/:$PATH)

4. Invoke ant from command line and check its version and location. (On Unix -
ant -version , which ant) You should now be using ant from the server dir path.


  I hope this helps. 

Post Reply
about | contact