Skip to Content.
Sympa Menu

perfsonar-dev - perfsonar: r2367 - branches/JAVA-RRD-MA-STABLE/src

Subject: perfsonar development work

List archive

perfsonar: r2367 - branches/JAVA-RRD-MA-STABLE/src


Chronological Thread 
  • From:
  • To:
  • Subject: perfsonar: r2367 - branches/JAVA-RRD-MA-STABLE/src
  • Date: Mon, 7 May 2007 07:59:42 -0400

Author: roman
Date: 2007-05-07 07:59:42 -0400 (Mon, 07 May 2007)
New Revision: 2367

Modified:
branches/JAVA-RRD-MA-STABLE/src/obs.pl
Log:

new version from the trunk



Modified: branches/JAVA-RRD-MA-STABLE/src/obs.pl
===================================================================
--- branches/JAVA-RRD-MA-STABLE/src/obs.pl 2007-05-07 10:40:54 UTC (rev
2366)
+++ branches/JAVA-RRD-MA-STABLE/src/obs.pl 2007-05-07 11:59:42 UTC (rev
2367)
@@ -18,25 +18,25 @@
$package =~ s/\//\./g;
$package =~ s/\.\./\./g;

-
- # transform all parts matching vX_Y
- # to X.Y
- @path_parts = split('/',$path);
- for ($i=0;$i < scalar @path_parts; $i++) {
- if(@path_parts[$i] =~ m/^v[\d\_]*/) {
- @path_parts[$i] =~ s/v//g;
- @path_parts[$i] =~ s/\_/\./g;
- }
- }
- $path = join('/', @path_parts);
-
-
+ # transform all parts matching vX_Y
+ # to X.Y
+ @path_parts = split('/',$path);
+ for ($i=0;$i < scalar @path_parts; $i++) {
+ if(@path_parts[$i] =~ m/^v[\d\_]*/) {
+ @path_parts[$i] =~ s/v//g;
+ @path_parts[$i] =~ s/\_/\./g;
+ }
+ }
+ $path = join('/', @path_parts);
+
if($file =~ m/^.*\.java$/) {
$file =~ s/\.java//;
- open(WRITE, ">>objects.config");
- print WRITE $url , $path , "/" , lcfirst($file) , "/";
- print WRITE "\t" , $package , "." , $file , "\n";
- close(WRITE);
+ if(!($file =~ m/.*Handler$/) and !($file =~ m/^Element$/)) {
+ open(WRITE, ">>objects.config");
+ print WRITE $url , $path , "/" , lcfirst($file) , "/";
+ print WRITE "\t" , $package , "." , $file , "\n";
+ close(WRITE);
+ }
}
}
}



  • perfsonar: r2367 - branches/JAVA-RRD-MA-STABLE/src, svnlog, 05/07/2007

Archive powered by MHonArc 2.6.16.

Top of Page