You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by ge...@apache.org on 2008/05/06 15:44:55 UTC

svn commit: r653777 - in /servicemix/scripts: copy-snapshot-files.rb servicemix-publish-catalog.rb servicemix-publish-schema.sh

Author: gertv
Date: Tue May  6 06:44:55 2008
New Revision: 653777

URL: http://svn.apache.org/viewvc?rev=653777&view=rev
Log:
Modifying the authority after adding files

Modified:
    servicemix/scripts/copy-snapshot-files.rb
    servicemix/scripts/servicemix-publish-catalog.rb
    servicemix/scripts/servicemix-publish-schema.sh

Modified: servicemix/scripts/copy-snapshot-files.rb
URL: http://svn.apache.org/viewvc/servicemix/scripts/copy-snapshot-files.rb?rev=653777&r1=653776&r2=653777&view=diff
==============================================================================
--- servicemix/scripts/copy-snapshot-files.rb (original)
+++ servicemix/scripts/copy-snapshot-files.rb Tue May  6 06:44:55 2008
@@ -3,9 +3,8 @@
 require 'ftools'
 
 todir = ARGV[0]
-puts ARGV.length
 ARGV.last(ARGV.length - 1).sort.each do |file|
   name = file.split('/').last.sub(/\d{8}\.\d{6}-\d{2}/, 'SNAPSHOT')
-  puts "#{file} -> #{name}"
   File.copy(file, "#{todir}/#{name}")
+  File.chmod(0664, "#{todir}/#{name}")
 end

Modified: servicemix/scripts/servicemix-publish-catalog.rb
URL: http://svn.apache.org/viewvc/servicemix/scripts/servicemix-publish-catalog.rb?rev=653777&r1=653776&r2=653777&view=diff
==============================================================================
--- servicemix/scripts/servicemix-publish-catalog.rb (original)
+++ servicemix/scripts/servicemix-publish-catalog.rb Tue May  6 06:44:55 2008
@@ -12,4 +12,5 @@
   todir = TOOLING_DIR + version
   Dir.mkdir(todir) unless File.exists?(todir)
   File.copy(file, "#{todir}/archetype-catalog.xml")
+  File.chmod(0664, "#{todir}/archetype-catalog.xml")
 end

Modified: servicemix/scripts/servicemix-publish-schema.sh
URL: http://svn.apache.org/viewvc/servicemix/scripts/servicemix-publish-schema.sh?rev=653777&r1=653776&r2=653777&view=diff
==============================================================================
--- servicemix/scripts/servicemix-publish-schema.sh (original)
+++ servicemix/scripts/servicemix-publish-schema.sh Tue May  6 06:44:55 2008
@@ -8,6 +8,7 @@
 mkdir -p $SCHEMA_DIR
 find $RELEASE_REPO/org/apache/servicemix -name *.xsd | xargs -I {} cp {} $SCHEMA_DIR
 find $SNAPSHOT_REPO/org/apache/servicemix -name *.xsd | xargs ./copy-snapshot-files.rb $SCHEMA_DIR
+chmod g+w $SCHEMA_DIR/*.xsd
 
 #copy the archetype catalog files
 find $RELEASE_REPO/org/apache/servicemix/tooling/catalog -name *.xml | xargs ./servicemix-publish-catalog.rb