|
From: <ma...@us...> - 2012-06-02 21:28:31
|
Revision: 858
http://openautomation.svn.sourceforge.net/openautomation/?rev=858&view=rev
Author: makki1
Date: 2012-06-02 21:28:25 +0000 (Sat, 02 Jun 2012)
Log Message:
-----------
update to ETS 4.1 (just checking the version)
Modified Paths:
--------------
tools/ets4tools/ets4parser.pl
Modified: tools/ets4tools/ets4parser.pl
===================================================================
--- tools/ets4tools/ets4parser.pl 2012-06-02 21:02:50 UTC (rev 857)
+++ tools/ets4tools/ets4parser.pl 2012-06-02 21:28:25 UTC (rev 858)
@@ -1,7 +1,7 @@
#!/usr/bin/perl -w
# a simple ETS4 project-parser, just a skeleton playing with and printing out some data
#
-# (C) 2011 Michael Markstaller <de...@wi...> / Elaborated Networks GmbH
+# (C) 2011-2012 Michael Markstaller <de...@wi...> / Elaborated Networks GmbH
# All Rights Reserved
#
# This program is free software; you can redistribute it and/or modify it
@@ -119,8 +119,9 @@
#Version-check 4.0.1387.12605
my @etsversion = split(/\./, $proj->{ToolVersion});
-if ($etsversion[2] < 1387) {
- print "error ETS " . $proj->{ToolVersion} . " too old - must be 4.0.3 or higher\n";
+# changed from 4.0 to 4.1 > 4.1.2 (Build 3013)
+if ($etsversion[1] < 1) {
+ print "error ETS " . $proj->{ToolVersion} . " too old - must be 4.1 or higher\n";
exit;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|