You are viewing a plain text version of this content. The canonical link for it is here.
Posted to stonehenge-commits@incubator.apache.org by sh...@apache.org on 2009/05/27 14:31:10 UTC

svn commit: r779186 - in /incubator/stonehenge/branches/m1: bindist.sh build.sh

Author: shankar
Date: Wed May 27 14:31:10 2009
New Revision: 779186

URL: http://svn.apache.org/viewvc?rev=779186&view=rev
Log:
converting file from dos format to unix format

Modified:
    incubator/stonehenge/branches/m1/bindist.sh
    incubator/stonehenge/branches/m1/build.sh

Modified: incubator/stonehenge/branches/m1/bindist.sh
URL: http://svn.apache.org/viewvc/incubator/stonehenge/branches/m1/bindist.sh?rev=779186&r1=779185&r2=779186&view=diff
==============================================================================
--- incubator/stonehenge/branches/m1/bindist.sh (original)
+++ incubator/stonehenge/branches/m1/bindist.sh Wed May 27 14:31:10 2009
@@ -1,35 +1,35 @@
-#!/bin/bash
-#Licensed to the Apache Software Foundation (ASF) under one or more
-#contributor license agreements.  See the NOTICE file distributed with
-#this work for additional information regarding copyright ownership.
-#The ASF licenses this file to You under the Apache License, Version 2.0
-#(the "License"); you may not use this file except in compliance with
-#the License.  You may obtain a copy of the License at
-#
-#  http://www.apache.org/licenses/LICENSE-2.0
-#
-#Unless required by applicable law or agreed to in writing, software
-#distributed under the License is distributed on an "AS IS" BASIS,
-#WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-#See the License for the specific language governing permissions and
-#limitations under the License.
-
-BIN_DIR=target
-
-#=====================================
-#Building the binary pack
-#=====================================
-sh build.sh
-
-#=====================================
-#Building the documents
-#=====================================
-cd documentation
-mvn clean site
-echo "please edit the generated documents and include the header licence comments."
-echo "Press enter to continue..."
-read line
-
-cp -r target/site ../$BIN_DIR/documentation/site
-cp -r installation_guides ../$BIN_DIR/documentation/installation_guides
-
+#!/bin/bash
+#Licensed to the Apache Software Foundation (ASF) under one or more
+#contributor license agreements.  See the NOTICE file distributed with
+#this work for additional information regarding copyright ownership.
+#The ASF licenses this file to You under the Apache License, Version 2.0
+#(the "License"); you may not use this file except in compliance with
+#the License.  You may obtain a copy of the License at
+#
+#  http://www.apache.org/licenses/LICENSE-2.0
+#
+#Unless required by applicable law or agreed to in writing, software
+#distributed under the License is distributed on an "AS IS" BASIS,
+#WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+#See the License for the specific language governing permissions and
+#limitations under the License.
+
+BIN_DIR=target
+
+#=====================================
+#Building the binary pack
+#=====================================
+sh build.sh
+
+#=====================================
+#Building the documents
+#=====================================
+cd documentation
+mvn clean site
+echo "please edit the generated documents and include the header licence comments."
+echo "Press enter to continue..."
+read line
+
+cp -r target/site ../$BIN_DIR/documentation/site
+cp -r installation_guides ../$BIN_DIR/documentation/installation_guides
+

Modified: incubator/stonehenge/branches/m1/build.sh
URL: http://svn.apache.org/viewvc/incubator/stonehenge/branches/m1/build.sh?rev=779186&r1=779185&r2=779186&view=diff
==============================================================================
--- incubator/stonehenge/branches/m1/build.sh (original)
+++ incubator/stonehenge/branches/m1/build.sh Wed May 27 14:31:10 2009
@@ -1,51 +1,51 @@
-#!/bin/bash
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements.  See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License.  You may obtain a copy of the License at
-# 
-#   http://www.apache.org/licenses/LICENSE-2.0
-# 
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-BIN_DIR=target
-
-#=====================================
-#Building the release
-#=====================================
-if [ -d $BIN_DIR ];
-then 
-	rm -rf $BIN_DIR
-fi
-mkdir $BIN_DIR
-cd stocktrader/wsas
-mvn clean install
-cd ../php
-sh build.sh
-cd ..
-
-#=====================================
-#binary pack
-#=====================================
-cp -r php/php_stocktrader ../$BIN_DIR/php_stocktrader/
-cp -r wsas/target/wsas_stocktrader ../$BIN_DIR/wsas_stocktrader/
-cd ../
-cp DISCLAIMER ./$BIN_DIR/
-cp LICENSE ./$BIN_DIR/
-cp NOTICE ./$BIN_DIR/
-cp README ./$BIN_DIR/
-cp ChangeLog ./$BIN_DIR/
-cp BUILDING ./$BIN_DIR/
-
-#=====================================
-#remove svn folders, if any
-#=====================================
-cd $BIN_DIR
-rm -rf `find . -type d -name .svn`
-cd ..
+#!/bin/bash
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+BIN_DIR=target
+
+#=====================================
+#Building the release
+#=====================================
+if [ -d $BIN_DIR ];
+then 
+	rm -rf $BIN_DIR
+fi
+mkdir $BIN_DIR
+cd stocktrader/wsas
+mvn clean install
+cd ../php
+sh build.sh
+cd ..
+
+#=====================================
+#binary pack
+#=====================================
+cp -r php/php_stocktrader ../$BIN_DIR/php_stocktrader/
+cp -r wsas/target/wsas_stocktrader ../$BIN_DIR/wsas_stocktrader/
+cd ../
+cp DISCLAIMER ./$BIN_DIR/
+cp LICENSE ./$BIN_DIR/
+cp NOTICE ./$BIN_DIR/
+cp README ./$BIN_DIR/
+cp ChangeLog ./$BIN_DIR/
+cp BUILDING ./$BIN_DIR/
+
+#=====================================
+#remove svn folders, if any
+#=====================================
+cd $BIN_DIR
+rm -rf `find . -type d -name .svn`
+cd ..



Re: svn commit: r779186 - in /incubator/stonehenge/branches/m1: bindist.sh build.sh

Posted by Selvaratnam Uthaiyashankar <ut...@gmail.com>.
Great!!

I modified and committed.

I included some new .bat and .sh files. Also I modified README as
well. Can you check if there are any obvious errors? If all are ok, I
can do another pack and vote tomorrow.

I modified the src pack folder structure as well. Now it looks same as
svn structure. This way, same build files can be used in svn as well
as in release.

Regards,
Shankar

On Wed, May 27, 2009 at 8:39 PM, Drew Baird (Volt)
<a-...@microsoft.com> wrote:
> "e) MSSQL Server 2008 OR MSSQLExpress (MSSQLExpress is included in Visual Studio 2008 and Visual Web Developer Express 2008)"
>
> minor edit on #2
>
> Cool
> ________________________________________
> From: Selvaratnam Uthaiyashankar [uthaiyashankar@gmail.com]
> Sent: Wednesday, May 27, 2009 7:52 AM
> To: stonehenge-dev@incubator.apache.org
> Subject: Re: svn commit: r779186 - in /incubator/stonehenge/branches/m1:        bindist.sh build.sh
>
> Here, only MSSQLExpress is included in Visual studio ?? Or even MSSQL
> Server 2008 is included in visual studio??
>
> I assume the first one? In that case, "e) MSSQL Server 2008 OR
> MSSQLExpress (MSSQLExpress is included in Visual Studio 2008 or Visual
> Web Developer Express 2008)"
>
> WDYT?
>
> Regards,
> Shankar
>
> On Wed, May 27, 2009 at 8:12 PM, Drew Baird (Volt)
> <a-...@microsoft.com> wrote:
>> One thing that might be important to voters is the "Building" file says: " e) MSSQL Server 2008"  is a prereq.
>>
>> We might replace that with  "e) MSSQL Server 2008 OR MSSQLExpress which is included in Visual Studio 2008 or Visual Web Developer Express 2008"
>>
>> Thanks
>> Drew
>>
>> ________________________________________
>> From: shankar@apache.org [shankar@apache.org]
>> Sent: Wednesday, May 27, 2009 7:31 AM
>> To: stonehenge-commits@incubator.apache.org
>> Subject: svn commit: r779186 - in /incubator/stonehenge/branches/m1: bindist.sh build.sh
>>
>> Author: shankar
>> Date: Wed May 27 14:31:10 2009
>> New Revision: 779186
>>
>> URL: http://svn.apache.org/viewvc?rev=779186&view=rev
>> Log:
>> converting file from dos format to unix format
>>
>> Modified:
>>    incubator/stonehenge/branches/m1/bindist.sh
>>    incubator/stonehenge/branches/m1/build.sh
>>
>> Modified: incubator/stonehenge/branches/m1/bindist.sh
>> URL: http://svn.apache.org/viewvc/incubator/stonehenge/branches/m1/bindist.sh?rev=779186&r1=779185&r2=779186&view=diff
>> ==============================================================================
>> --- incubator/stonehenge/branches/m1/bindist.sh (original)
>> +++ incubator/stonehenge/branches/m1/bindist.sh Wed May 27 14:31:10 2009
>> @@ -1,35 +1,35 @@
>> -#!/bin/bash
>> -#Licensed to the Apache Software Foundation (ASF) under one or more
>> -#contributor license agreements.  See the NOTICE file distributed with
>> -#this work for additional information regarding copyright ownership.
>> -#The ASF licenses this file to You under the Apache License, Version 2.0
>> -#(the "License"); you may not use this file except in compliance with
>> -#the License.  You may obtain a copy of the License at
>> -#
>> -#  http://www.apache.org/licenses/LICENSE-2.0
>> -#
>> -#Unless required by applicable law or agreed to in writing, software
>> -#distributed under the License is distributed on an "AS IS" BASIS,
>> -#WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>> -#See the License for the specific language governing permissions and
>> -#limitations under the License.
>> -
>> -BIN_DIR=target
>> -
>> -#=====================================
>> -#Building the binary pack
>> -#=====================================
>> -sh build.sh
>> -
>> -#=====================================
>> -#Building the documents
>> -#=====================================
>> -cd documentation
>> -mvn clean site
>> -echo "please edit the generated documents and include the header licence comments."
>> -echo "Press enter to continue..."
>> -read line
>> -
>> -cp -r target/site ../$BIN_DIR/documentation/site
>> -cp -r installation_guides ../$BIN_DIR/documentation/installation_guides
>> -
>> +#!/bin/bash
>> +#Licensed to the Apache Software Foundation (ASF) under one or more
>> +#contributor license agreements.  See the NOTICE file distributed with
>> +#this work for additional information regarding copyright ownership.
>> +#The ASF licenses this file to You under the Apache License, Version 2.0
>> +#(the "License"); you may not use this file except in compliance with
>> +#the License.  You may obtain a copy of the License at
>> +#
>> +#  http://www.apache.org/licenses/LICENSE-2.0
>> +#
>> +#Unless required by applicable law or agreed to in writing, software
>> +#distributed under the License is distributed on an "AS IS" BASIS,
>> +#WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>> +#See the License for the specific language governing permissions and
>> +#limitations under the License.
>> +
>> +BIN_DIR=target
>> +
>> +#=====================================
>> +#Building the binary pack
>> +#=====================================
>> +sh build.sh
>> +
>> +#=====================================
>> +#Building the documents
>> +#=====================================
>> +cd documentation
>> +mvn clean site
>> +echo "please edit the generated documents and include the header licence comments."
>> +echo "Press enter to continue..."
>> +read line
>> +
>> +cp -r target/site ../$BIN_DIR/documentation/site
>> +cp -r installation_guides ../$BIN_DIR/documentation/installation_guides
>> +
>>
>> Modified: incubator/stonehenge/branches/m1/build.sh
>> URL: http://svn.apache.org/viewvc/incubator/stonehenge/branches/m1/build.sh?rev=779186&r1=779185&r2=779186&view=diff
>> ==============================================================================
>> --- incubator/stonehenge/branches/m1/build.sh (original)
>> +++ incubator/stonehenge/branches/m1/build.sh Wed May 27 14:31:10 2009
>> @@ -1,51 +1,51 @@
>> -#!/bin/bash
>> -# Licensed to the Apache Software Foundation (ASF) under one or more
>> -# contributor license agreements.  See the NOTICE file distributed with
>> -# this work for additional information regarding copyright ownership.
>> -# The ASF licenses this file to You under the Apache License, Version 2.0
>> -# (the "License"); you may not use this file except in compliance with
>> -# the License.  You may obtain a copy of the License at
>> -#
>> -#   http://www.apache.org/licenses/LICENSE-2.0
>> -#
>> -# Unless required by applicable law or agreed to in writing, software
>> -# distributed under the License is distributed on an "AS IS" BASIS,
>> -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>> -# See the License for the specific language governing permissions and
>> -# limitations under the License.
>> -
>> -BIN_DIR=target
>> -
>> -#=====================================
>> -#Building the release
>> -#=====================================
>> -if [ -d $BIN_DIR ];
>> -then
>> -       rm -rf $BIN_DIR
>> -fi
>> -mkdir $BIN_DIR
>> -cd stocktrader/wsas
>> -mvn clean install
>> -cd ../php
>> -sh build.sh
>> -cd ..
>> -
>> -#=====================================
>> -#binary pack
>> -#=====================================
>> -cp -r php/php_stocktrader ../$BIN_DIR/php_stocktrader/
>> -cp -r wsas/target/wsas_stocktrader ../$BIN_DIR/wsas_stocktrader/
>> -cd ../
>> -cp DISCLAIMER ./$BIN_DIR/
>> -cp LICENSE ./$BIN_DIR/
>> -cp NOTICE ./$BIN_DIR/
>> -cp README ./$BIN_DIR/
>> -cp ChangeLog ./$BIN_DIR/
>> -cp BUILDING ./$BIN_DIR/
>> -
>> -#=====================================
>> -#remove svn folders, if any
>> -#=====================================
>> -cd $BIN_DIR
>> -rm -rf `find . -type d -name .svn`
>> -cd ..
>> +#!/bin/bash
>> +# Licensed to the Apache Software Foundation (ASF) under one or more
>> +# contributor license agreements.  See the NOTICE file distributed with
>> +# this work for additional information regarding copyright ownership.
>> +# The ASF licenses this file to You under the Apache License, Version 2.0
>> +# (the "License"); you may not use this file except in compliance with
>> +# the License.  You may obtain a copy of the License at
>> +#
>> +#   http://www.apache.org/licenses/LICENSE-2.0
>> +#
>> +# Unless required by applicable law or agreed to in writing, software
>> +# distributed under the License is distributed on an "AS IS" BASIS,
>> +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>> +# See the License for the specific language governing permissions and
>> +# limitations under the License.
>> +
>> +BIN_DIR=target
>> +
>> +#=====================================
>> +#Building the release
>> +#=====================================
>> +if [ -d $BIN_DIR ];
>> +then
>> +       rm -rf $BIN_DIR
>> +fi
>> +mkdir $BIN_DIR
>> +cd stocktrader/wsas
>> +mvn clean install
>> +cd ../php
>> +sh build.sh
>> +cd ..
>> +
>> +#=====================================
>> +#binary pack
>> +#=====================================
>> +cp -r php/php_stocktrader ../$BIN_DIR/php_stocktrader/
>> +cp -r wsas/target/wsas_stocktrader ../$BIN_DIR/wsas_stocktrader/
>> +cd ../
>> +cp DISCLAIMER ./$BIN_DIR/
>> +cp LICENSE ./$BIN_DIR/
>> +cp NOTICE ./$BIN_DIR/
>> +cp README ./$BIN_DIR/
>> +cp ChangeLog ./$BIN_DIR/
>> +cp BUILDING ./$BIN_DIR/
>> +
>> +#=====================================
>> +#remove svn folders, if any
>> +#=====================================
>> +cd $BIN_DIR
>> +rm -rf `find . -type d -name .svn`
>> +cd ..
>
>
>
> --
> S.Uthaiyashankar
> Software Architect
> WSO2 Inc.
> http://wso2.com/ - "The Open Source SOA Company"



-- 
S.Uthaiyashankar
Software Architect
WSO2 Inc.
http://wso2.com/ - "The Open Source SOA Company"

RE: svn commit: r779186 - in /incubator/stonehenge/branches/m1: bindist.sh build.sh

Posted by "Drew Baird (Volt)" <a-...@microsoft.com>.
"e) MSSQL Server 2008 OR MSSQLExpress (MSSQLExpress is included in Visual Studio 2008 and Visual Web Developer Express 2008)"

minor edit on #2

Cool
________________________________________
From: Selvaratnam Uthaiyashankar [uthaiyashankar@gmail.com]
Sent: Wednesday, May 27, 2009 7:52 AM
To: stonehenge-dev@incubator.apache.org
Subject: Re: svn commit: r779186 - in /incubator/stonehenge/branches/m1:        bindist.sh build.sh

Here, only MSSQLExpress is included in Visual studio ?? Or even MSSQL
Server 2008 is included in visual studio??

I assume the first one? In that case, "e) MSSQL Server 2008 OR
MSSQLExpress (MSSQLExpress is included in Visual Studio 2008 or Visual
Web Developer Express 2008)"

WDYT?

Regards,
Shankar

On Wed, May 27, 2009 at 8:12 PM, Drew Baird (Volt)
<a-...@microsoft.com> wrote:
> One thing that might be important to voters is the "Building" file says: " e) MSSQL Server 2008"  is a prereq.
>
> We might replace that with  "e) MSSQL Server 2008 OR MSSQLExpress which is included in Visual Studio 2008 or Visual Web Developer Express 2008"
>
> Thanks
> Drew
>
> ________________________________________
> From: shankar@apache.org [shankar@apache.org]
> Sent: Wednesday, May 27, 2009 7:31 AM
> To: stonehenge-commits@incubator.apache.org
> Subject: svn commit: r779186 - in /incubator/stonehenge/branches/m1: bindist.sh build.sh
>
> Author: shankar
> Date: Wed May 27 14:31:10 2009
> New Revision: 779186
>
> URL: http://svn.apache.org/viewvc?rev=779186&view=rev
> Log:
> converting file from dos format to unix format
>
> Modified:
>    incubator/stonehenge/branches/m1/bindist.sh
>    incubator/stonehenge/branches/m1/build.sh
>
> Modified: incubator/stonehenge/branches/m1/bindist.sh
> URL: http://svn.apache.org/viewvc/incubator/stonehenge/branches/m1/bindist.sh?rev=779186&r1=779185&r2=779186&view=diff
> ==============================================================================
> --- incubator/stonehenge/branches/m1/bindist.sh (original)
> +++ incubator/stonehenge/branches/m1/bindist.sh Wed May 27 14:31:10 2009
> @@ -1,35 +1,35 @@
> -#!/bin/bash
> -#Licensed to the Apache Software Foundation (ASF) under one or more
> -#contributor license agreements.  See the NOTICE file distributed with
> -#this work for additional information regarding copyright ownership.
> -#The ASF licenses this file to You under the Apache License, Version 2.0
> -#(the "License"); you may not use this file except in compliance with
> -#the License.  You may obtain a copy of the License at
> -#
> -#  http://www.apache.org/licenses/LICENSE-2.0
> -#
> -#Unless required by applicable law or agreed to in writing, software
> -#distributed under the License is distributed on an "AS IS" BASIS,
> -#WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
> -#See the License for the specific language governing permissions and
> -#limitations under the License.
> -
> -BIN_DIR=target
> -
> -#=====================================
> -#Building the binary pack
> -#=====================================
> -sh build.sh
> -
> -#=====================================
> -#Building the documents
> -#=====================================
> -cd documentation
> -mvn clean site
> -echo "please edit the generated documents and include the header licence comments."
> -echo "Press enter to continue..."
> -read line
> -
> -cp -r target/site ../$BIN_DIR/documentation/site
> -cp -r installation_guides ../$BIN_DIR/documentation/installation_guides
> -
> +#!/bin/bash
> +#Licensed to the Apache Software Foundation (ASF) under one or more
> +#contributor license agreements.  See the NOTICE file distributed with
> +#this work for additional information regarding copyright ownership.
> +#The ASF licenses this file to You under the Apache License, Version 2.0
> +#(the "License"); you may not use this file except in compliance with
> +#the License.  You may obtain a copy of the License at
> +#
> +#  http://www.apache.org/licenses/LICENSE-2.0
> +#
> +#Unless required by applicable law or agreed to in writing, software
> +#distributed under the License is distributed on an "AS IS" BASIS,
> +#WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
> +#See the License for the specific language governing permissions and
> +#limitations under the License.
> +
> +BIN_DIR=target
> +
> +#=====================================
> +#Building the binary pack
> +#=====================================
> +sh build.sh
> +
> +#=====================================
> +#Building the documents
> +#=====================================
> +cd documentation
> +mvn clean site
> +echo "please edit the generated documents and include the header licence comments."
> +echo "Press enter to continue..."
> +read line
> +
> +cp -r target/site ../$BIN_DIR/documentation/site
> +cp -r installation_guides ../$BIN_DIR/documentation/installation_guides
> +
>
> Modified: incubator/stonehenge/branches/m1/build.sh
> URL: http://svn.apache.org/viewvc/incubator/stonehenge/branches/m1/build.sh?rev=779186&r1=779185&r2=779186&view=diff
> ==============================================================================
> --- incubator/stonehenge/branches/m1/build.sh (original)
> +++ incubator/stonehenge/branches/m1/build.sh Wed May 27 14:31:10 2009
> @@ -1,51 +1,51 @@
> -#!/bin/bash
> -# Licensed to the Apache Software Foundation (ASF) under one or more
> -# contributor license agreements.  See the NOTICE file distributed with
> -# this work for additional information regarding copyright ownership.
> -# The ASF licenses this file to You under the Apache License, Version 2.0
> -# (the "License"); you may not use this file except in compliance with
> -# the License.  You may obtain a copy of the License at
> -#
> -#   http://www.apache.org/licenses/LICENSE-2.0
> -#
> -# Unless required by applicable law or agreed to in writing, software
> -# distributed under the License is distributed on an "AS IS" BASIS,
> -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
> -# See the License for the specific language governing permissions and
> -# limitations under the License.
> -
> -BIN_DIR=target
> -
> -#=====================================
> -#Building the release
> -#=====================================
> -if [ -d $BIN_DIR ];
> -then
> -       rm -rf $BIN_DIR
> -fi
> -mkdir $BIN_DIR
> -cd stocktrader/wsas
> -mvn clean install
> -cd ../php
> -sh build.sh
> -cd ..
> -
> -#=====================================
> -#binary pack
> -#=====================================
> -cp -r php/php_stocktrader ../$BIN_DIR/php_stocktrader/
> -cp -r wsas/target/wsas_stocktrader ../$BIN_DIR/wsas_stocktrader/
> -cd ../
> -cp DISCLAIMER ./$BIN_DIR/
> -cp LICENSE ./$BIN_DIR/
> -cp NOTICE ./$BIN_DIR/
> -cp README ./$BIN_DIR/
> -cp ChangeLog ./$BIN_DIR/
> -cp BUILDING ./$BIN_DIR/
> -
> -#=====================================
> -#remove svn folders, if any
> -#=====================================
> -cd $BIN_DIR
> -rm -rf `find . -type d -name .svn`
> -cd ..
> +#!/bin/bash
> +# Licensed to the Apache Software Foundation (ASF) under one or more
> +# contributor license agreements.  See the NOTICE file distributed with
> +# this work for additional information regarding copyright ownership.
> +# The ASF licenses this file to You under the Apache License, Version 2.0
> +# (the "License"); you may not use this file except in compliance with
> +# the License.  You may obtain a copy of the License at
> +#
> +#   http://www.apache.org/licenses/LICENSE-2.0
> +#
> +# Unless required by applicable law or agreed to in writing, software
> +# distributed under the License is distributed on an "AS IS" BASIS,
> +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
> +# See the License for the specific language governing permissions and
> +# limitations under the License.
> +
> +BIN_DIR=target
> +
> +#=====================================
> +#Building the release
> +#=====================================
> +if [ -d $BIN_DIR ];
> +then
> +       rm -rf $BIN_DIR
> +fi
> +mkdir $BIN_DIR
> +cd stocktrader/wsas
> +mvn clean install
> +cd ../php
> +sh build.sh
> +cd ..
> +
> +#=====================================
> +#binary pack
> +#=====================================
> +cp -r php/php_stocktrader ../$BIN_DIR/php_stocktrader/
> +cp -r wsas/target/wsas_stocktrader ../$BIN_DIR/wsas_stocktrader/
> +cd ../
> +cp DISCLAIMER ./$BIN_DIR/
> +cp LICENSE ./$BIN_DIR/
> +cp NOTICE ./$BIN_DIR/
> +cp README ./$BIN_DIR/
> +cp ChangeLog ./$BIN_DIR/
> +cp BUILDING ./$BIN_DIR/
> +
> +#=====================================
> +#remove svn folders, if any
> +#=====================================
> +cd $BIN_DIR
> +rm -rf `find . -type d -name .svn`
> +cd ..



--
S.Uthaiyashankar
Software Architect
WSO2 Inc.
http://wso2.com/ - "The Open Source SOA Company"

Re: svn commit: r779186 - in /incubator/stonehenge/branches/m1: bindist.sh build.sh

Posted by Selvaratnam Uthaiyashankar <ut...@gmail.com>.
Here, only MSSQLExpress is included in Visual studio ?? Or even MSSQL
Server 2008 is included in visual studio??

I assume the first one? In that case, "e) MSSQL Server 2008 OR
MSSQLExpress (MSSQLExpress is included in Visual Studio 2008 or Visual
Web Developer Express 2008)"

WDYT?

Regards,
Shankar

On Wed, May 27, 2009 at 8:12 PM, Drew Baird (Volt)
<a-...@microsoft.com> wrote:
> One thing that might be important to voters is the "Building" file says: " e) MSSQL Server 2008"  is a prereq.
>
> We might replace that with  "e) MSSQL Server 2008 OR MSSQLExpress which is included in Visual Studio 2008 or Visual Web Developer Express 2008"
>
> Thanks
> Drew
>
> ________________________________________
> From: shankar@apache.org [shankar@apache.org]
> Sent: Wednesday, May 27, 2009 7:31 AM
> To: stonehenge-commits@incubator.apache.org
> Subject: svn commit: r779186 - in /incubator/stonehenge/branches/m1: bindist.sh build.sh
>
> Author: shankar
> Date: Wed May 27 14:31:10 2009
> New Revision: 779186
>
> URL: http://svn.apache.org/viewvc?rev=779186&view=rev
> Log:
> converting file from dos format to unix format
>
> Modified:
>    incubator/stonehenge/branches/m1/bindist.sh
>    incubator/stonehenge/branches/m1/build.sh
>
> Modified: incubator/stonehenge/branches/m1/bindist.sh
> URL: http://svn.apache.org/viewvc/incubator/stonehenge/branches/m1/bindist.sh?rev=779186&r1=779185&r2=779186&view=diff
> ==============================================================================
> --- incubator/stonehenge/branches/m1/bindist.sh (original)
> +++ incubator/stonehenge/branches/m1/bindist.sh Wed May 27 14:31:10 2009
> @@ -1,35 +1,35 @@
> -#!/bin/bash
> -#Licensed to the Apache Software Foundation (ASF) under one or more
> -#contributor license agreements.  See the NOTICE file distributed with
> -#this work for additional information regarding copyright ownership.
> -#The ASF licenses this file to You under the Apache License, Version 2.0
> -#(the "License"); you may not use this file except in compliance with
> -#the License.  You may obtain a copy of the License at
> -#
> -#  http://www.apache.org/licenses/LICENSE-2.0
> -#
> -#Unless required by applicable law or agreed to in writing, software
> -#distributed under the License is distributed on an "AS IS" BASIS,
> -#WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
> -#See the License for the specific language governing permissions and
> -#limitations under the License.
> -
> -BIN_DIR=target
> -
> -#=====================================
> -#Building the binary pack
> -#=====================================
> -sh build.sh
> -
> -#=====================================
> -#Building the documents
> -#=====================================
> -cd documentation
> -mvn clean site
> -echo "please edit the generated documents and include the header licence comments."
> -echo "Press enter to continue..."
> -read line
> -
> -cp -r target/site ../$BIN_DIR/documentation/site
> -cp -r installation_guides ../$BIN_DIR/documentation/installation_guides
> -
> +#!/bin/bash
> +#Licensed to the Apache Software Foundation (ASF) under one or more
> +#contributor license agreements.  See the NOTICE file distributed with
> +#this work for additional information regarding copyright ownership.
> +#The ASF licenses this file to You under the Apache License, Version 2.0
> +#(the "License"); you may not use this file except in compliance with
> +#the License.  You may obtain a copy of the License at
> +#
> +#  http://www.apache.org/licenses/LICENSE-2.0
> +#
> +#Unless required by applicable law or agreed to in writing, software
> +#distributed under the License is distributed on an "AS IS" BASIS,
> +#WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
> +#See the License for the specific language governing permissions and
> +#limitations under the License.
> +
> +BIN_DIR=target
> +
> +#=====================================
> +#Building the binary pack
> +#=====================================
> +sh build.sh
> +
> +#=====================================
> +#Building the documents
> +#=====================================
> +cd documentation
> +mvn clean site
> +echo "please edit the generated documents and include the header licence comments."
> +echo "Press enter to continue..."
> +read line
> +
> +cp -r target/site ../$BIN_DIR/documentation/site
> +cp -r installation_guides ../$BIN_DIR/documentation/installation_guides
> +
>
> Modified: incubator/stonehenge/branches/m1/build.sh
> URL: http://svn.apache.org/viewvc/incubator/stonehenge/branches/m1/build.sh?rev=779186&r1=779185&r2=779186&view=diff
> ==============================================================================
> --- incubator/stonehenge/branches/m1/build.sh (original)
> +++ incubator/stonehenge/branches/m1/build.sh Wed May 27 14:31:10 2009
> @@ -1,51 +1,51 @@
> -#!/bin/bash
> -# Licensed to the Apache Software Foundation (ASF) under one or more
> -# contributor license agreements.  See the NOTICE file distributed with
> -# this work for additional information regarding copyright ownership.
> -# The ASF licenses this file to You under the Apache License, Version 2.0
> -# (the "License"); you may not use this file except in compliance with
> -# the License.  You may obtain a copy of the License at
> -#
> -#   http://www.apache.org/licenses/LICENSE-2.0
> -#
> -# Unless required by applicable law or agreed to in writing, software
> -# distributed under the License is distributed on an "AS IS" BASIS,
> -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
> -# See the License for the specific language governing permissions and
> -# limitations under the License.
> -
> -BIN_DIR=target
> -
> -#=====================================
> -#Building the release
> -#=====================================
> -if [ -d $BIN_DIR ];
> -then
> -       rm -rf $BIN_DIR
> -fi
> -mkdir $BIN_DIR
> -cd stocktrader/wsas
> -mvn clean install
> -cd ../php
> -sh build.sh
> -cd ..
> -
> -#=====================================
> -#binary pack
> -#=====================================
> -cp -r php/php_stocktrader ../$BIN_DIR/php_stocktrader/
> -cp -r wsas/target/wsas_stocktrader ../$BIN_DIR/wsas_stocktrader/
> -cd ../
> -cp DISCLAIMER ./$BIN_DIR/
> -cp LICENSE ./$BIN_DIR/
> -cp NOTICE ./$BIN_DIR/
> -cp README ./$BIN_DIR/
> -cp ChangeLog ./$BIN_DIR/
> -cp BUILDING ./$BIN_DIR/
> -
> -#=====================================
> -#remove svn folders, if any
> -#=====================================
> -cd $BIN_DIR
> -rm -rf `find . -type d -name .svn`
> -cd ..
> +#!/bin/bash
> +# Licensed to the Apache Software Foundation (ASF) under one or more
> +# contributor license agreements.  See the NOTICE file distributed with
> +# this work for additional information regarding copyright ownership.
> +# The ASF licenses this file to You under the Apache License, Version 2.0
> +# (the "License"); you may not use this file except in compliance with
> +# the License.  You may obtain a copy of the License at
> +#
> +#   http://www.apache.org/licenses/LICENSE-2.0
> +#
> +# Unless required by applicable law or agreed to in writing, software
> +# distributed under the License is distributed on an "AS IS" BASIS,
> +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
> +# See the License for the specific language governing permissions and
> +# limitations under the License.
> +
> +BIN_DIR=target
> +
> +#=====================================
> +#Building the release
> +#=====================================
> +if [ -d $BIN_DIR ];
> +then
> +       rm -rf $BIN_DIR
> +fi
> +mkdir $BIN_DIR
> +cd stocktrader/wsas
> +mvn clean install
> +cd ../php
> +sh build.sh
> +cd ..
> +
> +#=====================================
> +#binary pack
> +#=====================================
> +cp -r php/php_stocktrader ../$BIN_DIR/php_stocktrader/
> +cp -r wsas/target/wsas_stocktrader ../$BIN_DIR/wsas_stocktrader/
> +cd ../
> +cp DISCLAIMER ./$BIN_DIR/
> +cp LICENSE ./$BIN_DIR/
> +cp NOTICE ./$BIN_DIR/
> +cp README ./$BIN_DIR/
> +cp ChangeLog ./$BIN_DIR/
> +cp BUILDING ./$BIN_DIR/
> +
> +#=====================================
> +#remove svn folders, if any
> +#=====================================
> +cd $BIN_DIR
> +rm -rf `find . -type d -name .svn`
> +cd ..



-- 
S.Uthaiyashankar
Software Architect
WSO2 Inc.
http://wso2.com/ - "The Open Source SOA Company"

RE: svn commit: r779186 - in /incubator/stonehenge/branches/m1: bindist.sh build.sh

Posted by "Drew Baird (Volt)" <a-...@microsoft.com>.
One thing that might be important to voters is the "Building" file says: " e) MSSQL Server 2008"  is a prereq. 

We might replace that with  "e) MSSQL Server 2008 OR MSSQLExpress which is included in Visual Studio 2008 or Visual Web Developer Express 2008" 

Thanks
Drew

________________________________________
From: shankar@apache.org [shankar@apache.org]
Sent: Wednesday, May 27, 2009 7:31 AM
To: stonehenge-commits@incubator.apache.org
Subject: svn commit: r779186 - in /incubator/stonehenge/branches/m1: bindist.sh build.sh

Author: shankar
Date: Wed May 27 14:31:10 2009
New Revision: 779186

URL: http://svn.apache.org/viewvc?rev=779186&view=rev
Log:
converting file from dos format to unix format

Modified:
    incubator/stonehenge/branches/m1/bindist.sh
    incubator/stonehenge/branches/m1/build.sh

Modified: incubator/stonehenge/branches/m1/bindist.sh
URL: http://svn.apache.org/viewvc/incubator/stonehenge/branches/m1/bindist.sh?rev=779186&r1=779185&r2=779186&view=diff
==============================================================================
--- incubator/stonehenge/branches/m1/bindist.sh (original)
+++ incubator/stonehenge/branches/m1/bindist.sh Wed May 27 14:31:10 2009
@@ -1,35 +1,35 @@
-#!/bin/bash
-#Licensed to the Apache Software Foundation (ASF) under one or more
-#contributor license agreements.  See the NOTICE file distributed with
-#this work for additional information regarding copyright ownership.
-#The ASF licenses this file to You under the Apache License, Version 2.0
-#(the "License"); you may not use this file except in compliance with
-#the License.  You may obtain a copy of the License at
-#
-#  http://www.apache.org/licenses/LICENSE-2.0
-#
-#Unless required by applicable law or agreed to in writing, software
-#distributed under the License is distributed on an "AS IS" BASIS,
-#WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-#See the License for the specific language governing permissions and
-#limitations under the License.
-
-BIN_DIR=target
-
-#=====================================
-#Building the binary pack
-#=====================================
-sh build.sh
-
-#=====================================
-#Building the documents
-#=====================================
-cd documentation
-mvn clean site
-echo "please edit the generated documents and include the header licence comments."
-echo "Press enter to continue..."
-read line
-
-cp -r target/site ../$BIN_DIR/documentation/site
-cp -r installation_guides ../$BIN_DIR/documentation/installation_guides
-
+#!/bin/bash
+#Licensed to the Apache Software Foundation (ASF) under one or more
+#contributor license agreements.  See the NOTICE file distributed with
+#this work for additional information regarding copyright ownership.
+#The ASF licenses this file to You under the Apache License, Version 2.0
+#(the "License"); you may not use this file except in compliance with
+#the License.  You may obtain a copy of the License at
+#
+#  http://www.apache.org/licenses/LICENSE-2.0
+#
+#Unless required by applicable law or agreed to in writing, software
+#distributed under the License is distributed on an "AS IS" BASIS,
+#WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+#See the License for the specific language governing permissions and
+#limitations under the License.
+
+BIN_DIR=target
+
+#=====================================
+#Building the binary pack
+#=====================================
+sh build.sh
+
+#=====================================
+#Building the documents
+#=====================================
+cd documentation
+mvn clean site
+echo "please edit the generated documents and include the header licence comments."
+echo "Press enter to continue..."
+read line
+
+cp -r target/site ../$BIN_DIR/documentation/site
+cp -r installation_guides ../$BIN_DIR/documentation/installation_guides
+

Modified: incubator/stonehenge/branches/m1/build.sh
URL: http://svn.apache.org/viewvc/incubator/stonehenge/branches/m1/build.sh?rev=779186&r1=779185&r2=779186&view=diff
==============================================================================
--- incubator/stonehenge/branches/m1/build.sh (original)
+++ incubator/stonehenge/branches/m1/build.sh Wed May 27 14:31:10 2009
@@ -1,51 +1,51 @@
-#!/bin/bash
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements.  See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License.  You may obtain a copy of the License at
-#
-#   http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-BIN_DIR=target
-
-#=====================================
-#Building the release
-#=====================================
-if [ -d $BIN_DIR ];
-then
-       rm -rf $BIN_DIR
-fi
-mkdir $BIN_DIR
-cd stocktrader/wsas
-mvn clean install
-cd ../php
-sh build.sh
-cd ..
-
-#=====================================
-#binary pack
-#=====================================
-cp -r php/php_stocktrader ../$BIN_DIR/php_stocktrader/
-cp -r wsas/target/wsas_stocktrader ../$BIN_DIR/wsas_stocktrader/
-cd ../
-cp DISCLAIMER ./$BIN_DIR/
-cp LICENSE ./$BIN_DIR/
-cp NOTICE ./$BIN_DIR/
-cp README ./$BIN_DIR/
-cp ChangeLog ./$BIN_DIR/
-cp BUILDING ./$BIN_DIR/
-
-#=====================================
-#remove svn folders, if any
-#=====================================
-cd $BIN_DIR
-rm -rf `find . -type d -name .svn`
-cd ..
+#!/bin/bash
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+BIN_DIR=target
+
+#=====================================
+#Building the release
+#=====================================
+if [ -d $BIN_DIR ];
+then
+       rm -rf $BIN_DIR
+fi
+mkdir $BIN_DIR
+cd stocktrader/wsas
+mvn clean install
+cd ../php
+sh build.sh
+cd ..
+
+#=====================================
+#binary pack
+#=====================================
+cp -r php/php_stocktrader ../$BIN_DIR/php_stocktrader/
+cp -r wsas/target/wsas_stocktrader ../$BIN_DIR/wsas_stocktrader/
+cd ../
+cp DISCLAIMER ./$BIN_DIR/
+cp LICENSE ./$BIN_DIR/
+cp NOTICE ./$BIN_DIR/
+cp README ./$BIN_DIR/
+cp ChangeLog ./$BIN_DIR/
+cp BUILDING ./$BIN_DIR/
+
+#=====================================
+#remove svn folders, if any
+#=====================================
+cd $BIN_DIR
+rm -rf `find . -type d -name .svn`
+cd ..

RE: svn commit: r779186 - in /incubator/stonehenge/branches/m1: bindist.sh build.sh

Posted by "Drew Baird (Volt)" <a-...@microsoft.com>.
One thing that might be important to voters is the "Building" file says: " e) MSSQL Server 2008"  is a prereq. 

We might replace that with  "e) MSSQL Server 2008 OR MSSQLExpress which is included in Visual Studio 2008 or Visual Web Developer Express 2008" 

Thanks
Drew

________________________________________
From: shankar@apache.org [shankar@apache.org]
Sent: Wednesday, May 27, 2009 7:31 AM
To: stonehenge-commits@incubator.apache.org
Subject: svn commit: r779186 - in /incubator/stonehenge/branches/m1: bindist.sh build.sh

Author: shankar
Date: Wed May 27 14:31:10 2009
New Revision: 779186

URL: http://svn.apache.org/viewvc?rev=779186&view=rev
Log:
converting file from dos format to unix format

Modified:
    incubator/stonehenge/branches/m1/bindist.sh
    incubator/stonehenge/branches/m1/build.sh

Modified: incubator/stonehenge/branches/m1/bindist.sh
URL: http://svn.apache.org/viewvc/incubator/stonehenge/branches/m1/bindist.sh?rev=779186&r1=779185&r2=779186&view=diff
==============================================================================
--- incubator/stonehenge/branches/m1/bindist.sh (original)
+++ incubator/stonehenge/branches/m1/bindist.sh Wed May 27 14:31:10 2009
@@ -1,35 +1,35 @@
-#!/bin/bash
-#Licensed to the Apache Software Foundation (ASF) under one or more
-#contributor license agreements.  See the NOTICE file distributed with
-#this work for additional information regarding copyright ownership.
-#The ASF licenses this file to You under the Apache License, Version 2.0
-#(the "License"); you may not use this file except in compliance with
-#the License.  You may obtain a copy of the License at
-#
-#  http://www.apache.org/licenses/LICENSE-2.0
-#
-#Unless required by applicable law or agreed to in writing, software
-#distributed under the License is distributed on an "AS IS" BASIS,
-#WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-#See the License for the specific language governing permissions and
-#limitations under the License.
-
-BIN_DIR=target
-
-#=====================================
-#Building the binary pack
-#=====================================
-sh build.sh
-
-#=====================================
-#Building the documents
-#=====================================
-cd documentation
-mvn clean site
-echo "please edit the generated documents and include the header licence comments."
-echo "Press enter to continue..."
-read line
-
-cp -r target/site ../$BIN_DIR/documentation/site
-cp -r installation_guides ../$BIN_DIR/documentation/installation_guides
-
+#!/bin/bash
+#Licensed to the Apache Software Foundation (ASF) under one or more
+#contributor license agreements.  See the NOTICE file distributed with
+#this work for additional information regarding copyright ownership.
+#The ASF licenses this file to You under the Apache License, Version 2.0
+#(the "License"); you may not use this file except in compliance with
+#the License.  You may obtain a copy of the License at
+#
+#  http://www.apache.org/licenses/LICENSE-2.0
+#
+#Unless required by applicable law or agreed to in writing, software
+#distributed under the License is distributed on an "AS IS" BASIS,
+#WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+#See the License for the specific language governing permissions and
+#limitations under the License.
+
+BIN_DIR=target
+
+#=====================================
+#Building the binary pack
+#=====================================
+sh build.sh
+
+#=====================================
+#Building the documents
+#=====================================
+cd documentation
+mvn clean site
+echo "please edit the generated documents and include the header licence comments."
+echo "Press enter to continue..."
+read line
+
+cp -r target/site ../$BIN_DIR/documentation/site
+cp -r installation_guides ../$BIN_DIR/documentation/installation_guides
+

Modified: incubator/stonehenge/branches/m1/build.sh
URL: http://svn.apache.org/viewvc/incubator/stonehenge/branches/m1/build.sh?rev=779186&r1=779185&r2=779186&view=diff
==============================================================================
--- incubator/stonehenge/branches/m1/build.sh (original)
+++ incubator/stonehenge/branches/m1/build.sh Wed May 27 14:31:10 2009
@@ -1,51 +1,51 @@
-#!/bin/bash
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements.  See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License.  You may obtain a copy of the License at
-#
-#   http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-BIN_DIR=target
-
-#=====================================
-#Building the release
-#=====================================
-if [ -d $BIN_DIR ];
-then
-       rm -rf $BIN_DIR
-fi
-mkdir $BIN_DIR
-cd stocktrader/wsas
-mvn clean install
-cd ../php
-sh build.sh
-cd ..
-
-#=====================================
-#binary pack
-#=====================================
-cp -r php/php_stocktrader ../$BIN_DIR/php_stocktrader/
-cp -r wsas/target/wsas_stocktrader ../$BIN_DIR/wsas_stocktrader/
-cd ../
-cp DISCLAIMER ./$BIN_DIR/
-cp LICENSE ./$BIN_DIR/
-cp NOTICE ./$BIN_DIR/
-cp README ./$BIN_DIR/
-cp ChangeLog ./$BIN_DIR/
-cp BUILDING ./$BIN_DIR/
-
-#=====================================
-#remove svn folders, if any
-#=====================================
-cd $BIN_DIR
-rm -rf `find . -type d -name .svn`
-cd ..
+#!/bin/bash
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+BIN_DIR=target
+
+#=====================================
+#Building the release
+#=====================================
+if [ -d $BIN_DIR ];
+then
+       rm -rf $BIN_DIR
+fi
+mkdir $BIN_DIR
+cd stocktrader/wsas
+mvn clean install
+cd ../php
+sh build.sh
+cd ..
+
+#=====================================
+#binary pack
+#=====================================
+cp -r php/php_stocktrader ../$BIN_DIR/php_stocktrader/
+cp -r wsas/target/wsas_stocktrader ../$BIN_DIR/wsas_stocktrader/
+cd ../
+cp DISCLAIMER ./$BIN_DIR/
+cp LICENSE ./$BIN_DIR/
+cp NOTICE ./$BIN_DIR/
+cp README ./$BIN_DIR/
+cp ChangeLog ./$BIN_DIR/
+cp BUILDING ./$BIN_DIR/
+
+#=====================================
+#remove svn folders, if any
+#=====================================
+cd $BIN_DIR
+rm -rf `find . -type d -name .svn`
+cd ..