Advertisement
| 11.06.2008 at 03:51PM PST, ID: 23883791 |
|
[x]
Attachment Details
|
||
|
[x]
The Solution Rating System
|
||
With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.
Your Input Matters If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support. Thank you! |
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: |
The ant xml snippet
<exec executable="perl" failonerror="true" timeout="800000">
<arg line="${global.script.dir}\htmlpagesunzip\search_properties.pl \\sjc-filer01.corp.ebay.com\eb_dcpc\v4html_pages ${global.temp.dir}\v4html"/>
</exec>
I get error as
[exec] Can't opendir(\\sjc-filer01.corp.ebay.com\eb_dcpc\v4html_pages): Invalid argument
[exec] at C:\ICE\scripts\htmlpagesunzip\search_properties.pl line 12
The perl script contents for search_properties.pl
#ICE/config/scripts/htmlpagesunzip
# This file is used to create a back up of all the build.properties files.
use strict;
use warnings;
use File::Find;
use File::Copy;
# change these assignments as needed
my ($srcdir,$destdir);
$srcdir = $ARGV[0];
$destdir = $ARGV[1];
finddepth(\&wanted,$srcdir);
sub wanted {
return if -d;
if($File::Find::name =~ /^.+build.properties$/) {
my $file = $File::Find::name ;
#get the subfolder containing the file
my $subdir=$1 if($file=~/\/([^\/]+)\/[^\/]+\.properties$/);
my $dest = $destdir.$subdir;
mkdir($dest) unless(-e $dest); # create the folder-structure
copy($file, "$dest") or warn "$!";
}
}
|
Advertisement