You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by Joe Pemberton <jp...@bea.com> on 2005/01/20 01:04:49 UTC

Small fix for testDistro.sh

Hello,

  There is an sh script at beehive/trunk/test/testDistro.sh that
contains what looks like windows syntax to invoke ant (using the "call"
command and windows backslashes).  This script fails on Linux.  I
removed "call" , changed the backslashes to forward slashes and ran
test.dist on Linux to verify my fix.  Below is the diff and attached is
the updated file.

 

I do not have commit access - can a committer please review this change,
and submit it?

 

Thank you!

 - Joe Pemberton

 

 

 

 

 

 

 

 

----------------------------- beehive/trunk/test/testDistro.sh
-------------------------------------------

 

 

 

[beehive@beehive01 test]$ svn diff testDistro.sh

Index: testDistro.sh

===================================================================

--- testDistro.sh       (revision 125683)

+++ testDistro.sh       (working copy)

@@ -6,7 +6,7 @@

 env

 

 # Populate the petstoreWeb with the Beehive/NetUI webapp runtime

-call ant -Dwebapp.dir=$CWD\samples\petstoreWeb -f
ant\webappRuntimeCore.xml deploy.beehive.webapp.runtime

+ant -Dwebapp.dir=$PWD/samples/petstoreWeb -f ant/webappRuntimeCore.xml
deploy.beehive.webapp.runtime

 

 # Build the petstoreWeb

-call ant -Dwebapp.dir=$CWD\samples\petstoreWeb -f ant\buildWebapp.xml
build

+ant -Dwebapp.dir=$PWD/samples/petstoreWeb -f ant/buildWebapp.xml build

 

 


Re: Small fix for testDistro.sh

Posted by Eddie O'Neil <ek...@bea.com>.
   I'll take care of it -- thanks, Joe.

Eddie



Joe Pemberton wrote:
> Hello,
> 
>   There is an sh script at beehive/trunk/test/testDistro.sh that 
> contains what looks like windows syntax to invoke ant (using the “call” 
> command and windows backslashes).  This script fails on Linux.  I 
> removed “call” , changed the backslashes to forward slashes and ran 
> test.dist on Linux to verify my fix.  Below is the diff and attached is 
> the updated file.
> 
>  
> 
> I do not have commit access – can a committer please review this change, 
> and submit it?
> 
>  
> 
> Thank you!
> 
>  - Joe Pemberton
> 
>  
> 
>  
> 
>  
> 
>  
> 
>  
> 
>  
> 
>  
> 
>  
> 
> ----------------------------- beehive/trunk/test/testDistro.sh 
> -------------------------------------------
> 
>  
> 
>  
> 
>  
> 
> [beehive@beehive01 test]$ svn diff testDistro.sh
> 
> Index: testDistro.sh
> 
> ===================================================================
> 
> --- testDistro.sh       (revision 125683)
> 
> +++ testDistro.sh       (working copy)
> 
> @@ -6,7 +6,7 @@
> 
>  env
> 
>  
> 
>  # Populate the petstoreWeb with the Beehive/NetUI webapp runtime
> 
> -call ant -Dwebapp.dir=$CWD\samples\petstoreWeb -f 
> ant\webappRuntimeCore.xml deploy.beehive.webapp.runtime
> 
> +ant -Dwebapp.dir=$PWD/samples/petstoreWeb -f ant/webappRuntimeCore.xml 
> deploy.beehive.webapp.runtime
> 
>  
> 
>  # Build the petstoreWeb
> 
> -call ant -Dwebapp.dir=$CWD\samples\petstoreWeb -f ant\buildWebapp.xml build
> 
> +ant -Dwebapp.dir=$PWD/samples/petstoreWeb -f ant/buildWebapp.xml build
> 
>  
> 
>  
>