Author: hadrian
Date: Thu Feb 5 06:12:17 2009
New Revision: 741020
URL: http://svn.apache.org/viewvc?rev=741020&view=rev
Log:
Updated scripts for copying camel schemas.
Modified:
activemq/scripts/activemq-schema-copy.sh
activemq/scripts/copy_released.py
activemq/scripts/copy_released_xsd.py
activemq/scripts/copy_snapshot.py
activemq/scripts/copy_snapshot_xsd.py
Modified: activemq/scripts/activemq-schema-copy.sh
URL:
http://svn.apache.org/viewvc/activemq/scripts/activemq-schema-copy.sh?rev=741020&r1=741019&r2=741020&view=diff
==============================================================================
--- activemq/scripts/activemq-schema-copy.sh (original)
+++ activemq/scripts/activemq-schema-copy.sh Thu Feb 5 06:12:17 2009
@@ -33,9 +33,11 @@
# Copy the released schema
cp
/www/people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/camel/camel-spring/*/*.xsd
$OUT_DIR/spring/
+cp
/www/people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/camel/camel-cxf/*/*.xsd
$OUT_DIR/cxf/
+
cp
/www/people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/camel/camel-osgi/*/*.xsd
$OUT_DIR/osgi/
-cp
/www/people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/camel/camel-cxf/*/*.xsd
$OUT_DIR/cxfEndpoint/
+cp
/www/people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/camel/camel-rest/*/*.xsd
$OUT_DIR/rest/
cp
/www/people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/camel/camel-spring-integration/*/*.xsd
$OUT_DIR/spring/integration
@@ -45,7 +47,9 @@
/usr/local/bin/python ~/activemq-scripts/copy_released_xsd.py $OUT_DIR/osgi
camel-osgi.xsd
-/usr/local/bin/python ~/activemq-scripts/copy_released_xsd.py
$OUT_DIR/cxfEndpoint camel-cxf.xsd
+/usr/local/bin/python ~/activemq-scripts/copy_released_xsd.py $OUT_DIR/cxf
camel-cxf.xsd
+
+/usr/local/bin/python ~/activemq-scripts/copy_released_xsd.py $OUT_DIR/rest
camel-rest.xsd
/usr/local/bin/python ~/activemq-scripts/copy_released_xsd.py
$OUT_DIR/spring/integration camel-spring-integration.xsd
@@ -53,11 +57,13 @@
# Copy the snapshot schema
SNAPSHOT_SCHEMA_DIR=/www/people.apache.org/repo/m2-snapshot-repository/org/apache/camel
-/usr/local/bin/python ~/activemq-scripts/copy_snapshot_xsd.py
$SNAPSHOT_SCHEMA_DIR/camel-spring $OUT_DIR/spring
+/usr/local/bin/python ~/activemq-scripts/copy_snapshot_xsd.py
$SNAPSHOT_SCHEMA_DIR/camel-spring $OUT_DIR/spring/
+
+/usr/local/bin/python ~/activemq-scripts/copy_snapshot_xsd.py
$SNAPSHOT_SCHEMA_DIR/camel-cxf $OUT_DIR/cxf/
-/usr/local/bin/python ~/activemq-scripts/copy_snapshot_xsd.py
$SNAPSHOT_SCHEMA_DIR/camel-cxf $OUT_DIR/cxfEndpoint
+/usr/local/bin/python ~/activemq-scripts/copy_snapshot_xsd.py
$SNAPSHOT_SCHEMA_DIR/camel-osgi $OUT_DIR/osgi/
-/usr/local/bin/python ~/activemq-scripts/copy_snapshot_xsd.py
$SNAPSHOT_SCHEMA_DIR/camel-osgi $OUT_DIR/osgi
+/usr/local/bin/python ~/activemq-scripts/copy_snapshot_xsd.py
$SNAPSHOT_SCHEMA_DIR/camel-rest $OUT_DIR/rest/
/usr/local/bin/python ~/activemq-scripts/copy_snapshot_xsd.py
$SNAPSHOT_SCHEMA_DIR/camel-spring-integration $OUT_DIR/spring/integration
Modified: activemq/scripts/copy_released.py
URL:
http://svn.apache.org/viewvc/activemq/scripts/copy_released.py?rev=741020&r1=741019&r2=741020&view=diff
==============================================================================
--- activemq/scripts/copy_released.py (original)
+++ activemq/scripts/copy_released.py Thu Feb 5 06:12:17 2009
@@ -25,6 +25,7 @@
srcfile= os.path.join(root,filename)
destfile = os.path.join(dest,filename)
shutil.copyfile(srcfile,destfile)
+ os.chmod(destfile, 0664)
# disable the output
# print 'copy %s to %s' %(srcfile, destfile);
Modified: activemq/scripts/copy_released_xsd.py
URL:
http://svn.apache.org/viewvc/activemq/scripts/copy_released_xsd.py?rev=741020&r1=741019&r2=741020&view=diff
==============================================================================
--- activemq/scripts/copy_released_xsd.py (original)
+++ activemq/scripts/copy_released_xsd.py Thu Feb 5 06:12:17 2009
@@ -31,7 +31,7 @@
destfile = os.path.join(root, target)
shutil.copyfile(srcfile,destfile)
-
+ os.chmod(destfile, 0664)
def main():
if len(sys.argv) < 3:
Modified: activemq/scripts/copy_snapshot.py
URL:
http://svn.apache.org/viewvc/activemq/scripts/copy_snapshot.py?rev=741020&r1=741019&r2=741020&view=diff
==============================================================================
--- activemq/scripts/copy_snapshot.py (original)
+++ activemq/scripts/copy_snapshot.py Thu Feb 5 06:12:17 2009
@@ -32,6 +32,7 @@
srcfile= os.path.join(root,filename)
destfile = os.path.join(dest,'-'.join(list))
shutil.copyfile(srcfile,destfile)
+ os.chmod(destfile, 0664)
# disable the output
# print 'copy %s to %s' %(srcfile, destfile);
Modified: activemq/scripts/copy_snapshot_xsd.py
URL:
http://svn.apache.org/viewvc/activemq/scripts/copy_snapshot_xsd.py?rev=741020&r1=741019&r2=741020&view=diff
==============================================================================
--- activemq/scripts/copy_snapshot_xsd.py (original)
+++ activemq/scripts/copy_snapshot_xsd.py Thu Feb 5 06:12:17 2009
@@ -29,8 +29,7 @@
srcfile= os.path.join(root,filename)
destfile = os.path.join(dest,'-'.join(list))
shutil.copyfile(srcfile,destfile)
- # disable the output
- # print 'copy %s to %s' %(srcfile, destfile);
+ os.chmod(destfile, 0664)
def main():