tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robbin...@apache.org
Subject svn commit: r416668 - in /incubator/tuscany/cpp/sdo: INSTALL Makefile.am makebindist.sh makedist.sh
Date Fri, 23 Jun 2006 10:48:06 GMT
Author: robbinspg
Date: Fri Jun 23 03:48:02 2006
New Revision: 416668

URL: http://svn.apache.org/viewvc?rev=416668&view=rev
Log:
TUSCANY-458 Linux SDO bin dist build

Added:
    incubator/tuscany/cpp/sdo/makebindist.sh   (with props)
    incubator/tuscany/cpp/sdo/makedist.sh   (with props)
Modified:
    incubator/tuscany/cpp/sdo/INSTALL
    incubator/tuscany/cpp/sdo/Makefile.am

Modified: incubator/tuscany/cpp/sdo/INSTALL
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sdo/INSTALL?rev=416668&r1=416667&r2=416668&view=diff
==============================================================================
--- incubator/tuscany/cpp/sdo/INSTALL (original)
+++ incubator/tuscany/cpp/sdo/INSTALL Fri Jun 23 03:48:02 2006
@@ -9,9 +9,12 @@
 LIBXML2_LIB=/usr/lib
 LIBXML2_INCLUDE=/usr/include/libxml2
 
+3. Set the environment variable AXIS2C_HOME to the location of an installed Axis2C
+   Verion 0.92
+   
 3. Build the source
 	./build.sh
 
 4. Run the test
-        cd to runtime/core/test
-        ./tuscany_sdo_test
\ No newline at end of file
+    cd to runtime/core/test
+    ./tuscany_sdo_test
\ No newline at end of file

Modified: incubator/tuscany/cpp/sdo/Makefile.am
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sdo/Makefile.am?rev=416668&r1=416667&r2=416668&view=diff
==============================================================================
--- incubator/tuscany/cpp/sdo/Makefile.am (original)
+++ incubator/tuscany/cpp/sdo/Makefile.am Fri Jun 23 03:48:02 2006
@@ -6,4 +6,16 @@
 dist-hook:
 	rm -rf `find $(distdir)/ -type d -name .svn`
 	rm -rf `find $(distdir)/ -type d -name .deps`
-
+	
+bindist: dist
+	rm -rf ${PACKAGE}-${PACKAGE_VERSION}
+	gunzip -f ${PACKAGE}-${PACKAGE_VERSION}.tar.gz
+	tar -xf ${PACKAGE}-${PACKAGE_VERSION}.tar
+	gzip ${PACKAGE}-${PACKAGE_VERSION}.tar
+	cd ${PACKAGE}-${PACKAGE_VERSION} \
+	&&	sh ../makebindist.sh
+	mkdir ${PACKAGE}-bin-${PACKAGE_VERSION}
+	cp -r ${PACKAGE}-${PACKAGE_VERSION}/deploy/* ${PACKAGE}-bin-${PACKAGE_VERSION}
+	tar -cf - ${PACKAGE}-bin-${PACKAGE_VERSION} | gzip -c > ${PACKAGE}-bin-${PACKAGE_VERSION}.tar.gz
+	rm -rf ${PACKAGE}-${PACKAGE_VERSION}
+	rm -rf ${PACKAGE}-bin-${PACKAGE_VERSION}

Added: incubator/tuscany/cpp/sdo/makebindist.sh
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sdo/makebindist.sh?rev=416668&view=auto
==============================================================================
--- incubator/tuscany/cpp/sdo/makebindist.sh (added)
+++ incubator/tuscany/cpp/sdo/makebindist.sh Fri Jun 23 03:48:02 2006
@@ -0,0 +1,33 @@
+#!/bin/sh
+
+#  Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
+#
+#  Licensed 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.
+
+TUSCANY_SDOCPP_HOME=`pwd`
+
+if [ x$AXIS2C_HOME = x ]; then
+echo "AXIS2C_HOME not set"
+exit;
+fi
+echo "Using Axis2C installed at $AXIS2C_HOME"
+
+./configure --prefix=${TUSCANY_SDOCPP_HOME}/deploy --enable-static=no
+make
+make install
+
+cd ${TUSCANY_SDOCPP_HOME}/deploy
+for i in `find . -name "*.la"`
+do
+	rm $i
+done
\ No newline at end of file

Propchange: incubator/tuscany/cpp/sdo/makebindist.sh
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/cpp/sdo/makebindist.sh
------------------------------------------------------------------------------
    svn:executable = 

Added: incubator/tuscany/cpp/sdo/makedist.sh
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sdo/makedist.sh?rev=416668&view=auto
==============================================================================
--- incubator/tuscany/cpp/sdo/makedist.sh (added)
+++ incubator/tuscany/cpp/sdo/makedist.sh Fri Jun 23 03:48:02 2006
@@ -0,0 +1,31 @@
+#!/bin/sh
+
+#  Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
+#
+#  Licensed 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.
+
+TUSCANY_SDOCPP_HOME=`pwd`
+
+if [ x$AXIS2C_HOME = x ]; then
+echo "AXIS2C_HOME not set"
+exit;
+fi
+echo "Using Axis2C installed at $AXIS2C_HOME"
+
+./autogen.sh
+./configure --prefix=${TUSCANY_SDOCPP_HOME}/deploy --enable-static=no
+
+make bindist
+
+
+

Propchange: incubator/tuscany/cpp/sdo/makedist.sh
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/cpp/sdo/makedist.sh
------------------------------------------------------------------------------
    svn:executable = 



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org


Mime
View raw message