Moved Alarm Browser to fragment. Fixed bug introduced with submenu (selected item...
[public/netxms.git] / android / src / console / .externalToolBuilders / generate_build.pl
1 #!/usr/bin/perl
2
3 $version = `svnversion`;
4 chomp $version;
5 if ($version =~ /[0-9]+\:([0-9]+)/)
6 {
7 $version = $1;
8 }
9 print "Setting build number to $version\n";
10
11 open(OUT, ">build_number.xml") || die "out: $!";
12
13 print OUT "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n";
14 print OUT "<resources>\n";
15 print OUT "\t<string name=\"build_number\">$version</string>\n";
16 print OUT "</resources>\n";
17
18 close OUT;
19 exit 0;