The script runs from the command line.  Attached is copy of the build.sh scirpt i am running.  It basically passes the "cruise" property file to ant.  Please take a look at the script.
 
Thanks

Emmanuel Venisse <emmanuel@venisse.net> wrote:
It seems that it's a problem with your script. I don't know it, so i can't help you.

Are you sure this command works from command line in this working directory
(/export/home/cruise/workspace/working-directory/6/vmu/build/build.sh cruise clean package_web_ear)?

Emmanuel

Doug Johnson a écrit :
> 2387580 [Thread-1] WARN org.apache.maven.continuum.execution.ContinuumBuildExecutor:shell - Executable '/export/ho
> me/cruise/workspace/working-directory/6/vmu/build/build.sh'.
> 2387580 [Thread-1] INFO org.apache.maven.continuum.execution.ContinuumBuildExecutor:shell - Arguments: cruise clea
> n package_web_ear
> 2387580 [Thread-1] INFO org.apache.maven.continuum.execution.ContinuumBuildExecutor:shell - Working directory: /ex
> port/home/cruise/workspace/working-directory/6
> 2387924 [Thread-1] INFO org.apache.maven.continuum.execution.ContinuumBuildExecutor:shell - Exit code: 1
> 2412021 [Thread-1] ERROR org.codehaus.plexus.velocity.VelocityComponent - Left side of '>' operation is not a valid
> type. It is a class java.lang.Long. Currently only integers (1,2,3...) and Integer type is supported. /org/apache/
> maven/continuum/notification/mail/templates/shell/BuildComplete.vm [line 25, column 27]
>
> Output:
> ****************************************************************************
> Using default shell environment
> using LINUX. good!
> java version "1.4.2_05"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_05-b04)
> Java HotSpot(TM) Client VM (build 1.4.2_05-b04, mixed mode)
> using A build property file with extension cruise does not exist
> Usage: build.sh env_extension [target]
> The available property files are:
> build.properties.*
>
>
>
> ---------------------------------
> Yahoo! Shopping
> Find Great Deals on Holiday Gifts at Yahoo! Shopping



Yahoo! Shopping
Find Great Deals on Holiday Gifts at Yahoo! Shopping