source: tmcsimulator/trunk/src/python/unifiedlogger/wing_project.wpr @ 446

Revision 446, 21.2 KB checked in by jdalbey, 7 years ago (diff)

Change unifiedlogger to get revision number from a config file instead of application.properties in tmcsim.

Line 
1#!wing
2#!version=7.0
3##################################################################
4# Wing project file                                              #
5##################################################################
6[project attributes]
7debug.launch-configs = (2,
8                        {'launch-Dap54cn2qAN7AXZm': ({},
9        {'buildcmd': ('project',
10                      None),
11         'env': ('project',
12                 [u'']),
13         'name': 'launchme',
14         'pyexec': ('project',
15                    u''),
16         'pypath': ('project',
17                    []),
18         'pyrunargs': ('project',
19                       '-u'),
20         'runargs': u'',
21         'rundir': ('custom',
22                    u'/home/jdalbey/Dropbox/TMCrepo/trunk')})})
23proj.directory-list = [{'dirloc': loc('.'),
24                        'excludes': (),
25                        'filter': u'*',
26                        'include_hidden': False,
27                        'recursive': True,
28                        'watch_for_changes': True}]
29proj.file-type = 'normal'
30proj.home-dir = loc('../..')
31proj.launch-config = {loc('__main__.py'): ('custom',
32        (u'',
33         'launch-Dap54cn2qAN7AXZm'))}
34proj.main-file = loc('__main__.py')
35[user attributes]
36debug.show-args-dialog = {loc('__main__.py'): False}
37edit.file-encoding = {loc('get_revision'): 'UTF-8'}
38guimgr.overall-gui-state = {'windowing-policy': 'combined-window',
39                            'windows': [{'name': '0BtsNVOAornvyNAPNOxHAmuDFR'\
40        'v7Dw8l',
41        'size-state': 'maximized',
42        'type': 'dock',
43        'view': {'area': 'tall',
44                 'constraint': None,
45                 'current_pages': [4],
46                 'full-screen': False,
47                 'notebook_display': 'normal',
48                 'notebook_percent': 0.3850187265917603,
49                 'override_title': None,
50                 'pagelist': [('source-assistant',
51                               'tall',
52                               2,
53                               {}),
54                              ('debug-stack',
55                               'tall',
56                               1,
57                               {}),
58                              ('browser',
59                               'tall',
60                               0,
61                               {}),
62                              ('indent',
63                               'tall',
64                               2,
65                               {}),
66                              ('debug-io',
67                               'tall',
68                               0,
69                               {}),
70                              ('project',
71                               'tall',
72                               0,
73                               {'tree-state': {'file-sort-method': 'by name',
74        'list-files-first': False,
75        'tree-states': {'deep': {'expanded-nodes': [(0,),
76        (0,
77         0)],
78                                 'selected-nodes': [(0,
79        0,
80        0)],
81                                 'top-node': (0,)}},
82        'tree-style': 'deep'}})],
83                 'primary_view_state': {'area': 'wide',
84        'constraint': None,
85        'current_pages': [3,
86                          1],
87        'notebook_display': 'normal',
88        'notebook_percent': 0.30000000000000004,
89        'override_title': None,
90        'pagelist': [('batch-search',
91                      'wide',
92                      0,
93                      {'fScope': {'fFileSetName': 'All Source Files',
94                                  'fLocation': None,
95                                  'fRecursive': True,
96                                  'fType': 'documentation'},
97                       'fSearchSpec': {'fEndPos': None,
98                                       'fIncludeLinenos': True,
99                                       'fInterpretBackslashes': False,
100                                       'fMatchCase': False,
101                                       'fOmitBinary': True,
102                                       'fRegexFlags': 42,
103                                       'fReplaceText': '',
104                                       'fReverse': False,
105                                       'fSearchText': u'default directory policy',
106                                       'fStartPos': 0,
107                                       'fStyle': 'text',
108                                       'fWholeWords': False,
109                                       'fWrap': True},
110                       'fUIOptions': {'fAutoBackground': True,
111                                      'fFilePrefix': 'short-file',
112                                      'fFindAfterReplace': True,
113                                      'fInSelection': False,
114                                      'fIncremental': True,
115                                      'fReplaceOnDisk': False,
116                                      'fShowFirstMatch': False,
117                                      'fShowLineno': True,
118                                      'fShowReplaceWidgets': False},
119                       'replace-entry-expanded': False,
120                       'search-entry-expanded': False}),
121                     ('interactive-search',
122                      'wide',
123                      0,
124                      {'fScope': {'fFileSetName': 'All Source Files',
125                                  'fLocation': None,
126                                  'fRecursive': True,
127                                  'fType': 'project-files'},
128                       'fSearchSpec': {'fEndPos': None,
129                                       'fIncludeLinenos': True,
130                                       'fInterpretBackslashes': False,
131                                       'fMatchCase': False,
132                                       'fOmitBinary': True,
133                                       'fRegexFlags': 42,
134                                       'fReplaceText': u'lastLineNum',
135                                       'fReverse': False,
136                                       'fSearchText': u'fileLength',
137                                       'fStartPos': 0,
138                                       'fStyle': 'text',
139                                       'fWholeWords': False,
140                                       'fWrap': True},
141                       'fUIOptions': {'fAutoBackground': True,
142                                      'fFilePrefix': 'short-file',
143                                      'fFindAfterReplace': True,
144                                      'fInSelection': False,
145                                      'fIncremental': True,
146                                      'fReplaceOnDisk': False,
147                                      'fShowFirstMatch': False,
148                                      'fShowLineno': True,
149                                      'fShowReplaceWidgets': True}}),
150                     ('debug-data',
151                      'wide',
152                      0,
153                      {}),
154                     ('debug-exceptions',
155                      'wide',
156                      0,
157                      {}),
158                     ('python-shell',
159                      'wide',
160                      2,
161                      {'active-range': (None,
162        -1,
163        -1),
164                       'attrib-starts': [],
165                       'code-line': '',
166                       'first-line': 0L,
167                       'folded-linenos': [],
168                       'history': {},
169                       'launch-id': None,
170                       'sel-line': 3L,
171                       'sel-line-start': 132L,
172                       'selection_end': 132L,
173                       'selection_start': 132L,
174                       'zoom': 0L}),
175                     ('messages',
176                      'wide',
177                      2,
178                      {'current-domain': 0}),
179                     ('os-command',
180                      'wide',
181                      1,
182                      {'last-percent': 0.8,
183                       'toolbox-percent': 1.0,
184                       'toolbox-tree-sel': ''})],
185        'primary_view_state': {'editor_states': ({'bookmarks': ([[loc('get_revision'),
186        {'attrib-starts': [],
187         'code-line': 'print readFile()',
188         'first-line': 0L,
189         'folded-linenos': [],
190         'sel-line': 15L,
191         'sel-line-start': 412L,
192         'selection_end': 418L,
193         'selection_start': 418L,
194         'zoom': 0L},
195        1563130972.859102],
196        [loc('logging_service.py'),
197         {'attrib-starts': [],
198          'code-line': 'import cms_watcher, cad_watcher, time, json, ConfigP'\
199                       'arser, get_revision\n',
200          'first-line': 0L,
201          'folded-linenos': [],
202          'sel-line': 0L,
203          'sel-line-start': 0L,
204          'selection_end': 71L,
205          'selection_start': 71L,
206          'zoom': 0L},
207         1563131014.214975],
208        [loc('get_revision'),
209         {'attrib-starts': [],
210          'code-line': '',
211          'first-line': 0L,
212          'folded-linenos': [],
213          'sel-line': 15L,
214          'sel-line-start': 415L,
215          'selection_end': 415L,
216          'selection_start': 415L,
217          'zoom': 0L},
218         1563131037.968315],
219        [loc('logging_service.py'),
220         {'attrib-starts': [],
221          'code-line': 'import cms_watcher, cad_watcher, time, json, ConfigP'\
222                       'arser, get_revision\n',
223          'first-line': 0L,
224          'folded-linenos': [],
225          'sel-line': 0L,
226          'sel-line-start': 0L,
227          'selection_end': 71L,
228          'selection_start': 71L,
229          'zoom': 0L},
230         1563131045.946787],
231        [loc('get_revision'),
232         {'attrib-starts': [],
233          'code-line': '',
234          'first-line': 0L,
235          'folded-linenos': [],
236          'sel-line': 18L,
237          'sel-line-start': 455L,
238          'selection_end': 455L,
239          'selection_start': 455L,
240          'zoom': 0L},
241         1563131163.18444],
242        [loc('logging_service.py'),
243         {'attrib-starts': [],
244          'code-line': 'import cms_watcher, cad_watcher, time, json, ConfigP'\
245                       'arser, get_revision\n',
246          'first-line': 0L,
247          'folded-linenos': [],
248          'sel-line': 0L,
249          'sel-line-start': 0L,
250          'selection_end': 71L,
251          'selection_start': 71L,
252          'zoom': 0L},
253         1563131223.451037],
254        [loc('get_app_properties.py'),
255         {'attrib-starts': [('getRevision|0|',
256                             14)],
257          'code-line': 'def getRevision(lines):\n',
258          'first-line': 0L,
259          'folded-linenos': [],
260          'sel-line': 14L,
261          'sel-line-start': 370L,
262          'selection_end': 385L,
263          'selection_start': 374L,
264          'zoom': 0L},
265         1563131232.527418],
266        [loc('logging_service.py'),
267         {'attrib-starts': [('startup|0|',
268                             17)],
269          'code-line': 'def startup():\n',
270          'first-line': 7L,
271          'folded-linenos': [],
272          'sel-line': 17L,
273          'sel-line-start': 533L,
274          'selection_end': 547L,
275          'selection_start': 547L,
276          'zoom': 0L},
277         1563131266.147045],
278        [loc('__main__.py'),
279         {'attrib-starts': [('main|0|',
280                             2)],
281          'code-line': '    print "revision ",get_app_properties.getRevision'\
282                       '()\n',
283          'first-line': 0L,
284          'folded-linenos': [],
285          'sel-line': 4L,
286          'sel-line-start': 215L,
287          'selection_end': 269L,
288          'selection_start': 269L,
289          'zoom': 0L},
290         1563131297.40217],
291        [loc('logging_service.py'),
292         {'attrib-starts': [],
293          'code-line': 'import cms_watcher, cad_watcher, time, json, ConfigP'\
294                       'arser\n',
295          'first-line': 0L,
296          'folded-linenos': [],
297          'sel-line': 0L,
298          'sel-line-start': 0L,
299          'selection_end': 57L,
300          'selection_start': 57L,
301          'zoom': 0L},
302         1563131307.615114],
303        [loc('get_app_properties.py'),
304         {'attrib-starts': [('getRevision|0|',
305                             14)],
306          'code-line': 'def getRevision(lines):\n',
307          'first-line': 0L,
308          'folded-linenos': [],
309          'sel-line': 14L,
310          'sel-line-start': 382L,
311          'selection_end': 382L,
312          'selection_start': 382L,
313          'zoom': 0L},
314         1563131330.855952],
315        [loc('__main__.py'),
316         {'attrib-starts': [('main|0|',
317                             2)],
318          'code-line': '    print "revision ",get_app_properties.getRevision'\
319                       '()\n',
320          'first-line': 0L,
321          'folded-linenos': [],
322          'sel-line': 4L,
323          'sel-line-start': 215L,
324          'selection_end': 215L,
325          'selection_start': 215L,
326          'zoom': 0L},
327         1563131341.340806],
328        [loc('get_app_properties.py'),
329         {'attrib-starts': [('getRevision|0|',
330                             14)],
331          'code-line': '    lines = getProperties()\n',
332          'first-line': 0L,
333          'folded-linenos': [],
334          'sel-line': 15L,
335          'sel-line-start': 401L,
336          'selection_end': 413L,
337          'selection_start': 413L,
338          'zoom': 0L},
339         1563131376.535666],
340        [loc('__main__.py'),
341         {'attrib-starts': [('main|0|',
342                             2)],
343          'code-line': '    print "Unified Logging Service v"+revNum,"starti'\
344                       'ng from ",os.getcwd()\n',
345          'first-line': 0L,
346          'folded-linenos': [],
347          'sel-line': 4L,
348          'sel-line-start': 198L,
349          'selection_end': 244L,
350          'selection_start': 244L,
351          'zoom': 0L},
352         1563131462.025839],
353        [loc('get_app_properties.py'),
354         {'attrib-starts': [],
355          'code-line': '\n',
356          'first-line': 0L,
357          'folded-linenos': [],
358          'sel-line': 0L,
359          'sel-line-start': 0L,
360          'selection_end': 0L,
361          'selection_start': 0L,
362          'zoom': 0L},
363         1563131503.437265],
364        [loc('__main__.py'),
365         {'attrib-starts': [('main|0|',
366                             2)],
367          'code-line': '    print "Unified Logging Service v"+revNum,"starti'\
368                       'ng from ",os.getcwd()\n',
369          'first-line': 0L,
370          'folded-linenos': [],
371          'sel-line': 4L,
372          'sel-line-start': 198L,
373          'selection_end': 244L,
374          'selection_start': 244L,
375          'zoom': 0L},
376         1563231920.207662],
377        [loc('get_app_properties.py'),
378         {'attrib-starts': [('getProperties|0|',
379                             3)],
380          'code-line': '        print "Error: missing src/tmcsim/application'\
381                       '.properties file."\n',
382          'first-line': 0L,
383          'folded-linenos': [],
384          'sel-line': 8L,
385          'sel-line-start': 173L,
386          'selection_end': 213L,
387          'selection_start': 213L,
388          'zoom': 0L},
389         1563232029.32642],
390        [loc('logging_service.py'),
391         {'attrib-starts': [('startup|0|',
392                             17)],
393          'code-line': '    # get path to output file from configuration\n',
394          'first-line': 9L,
395          'folded-linenos': [],
396          'sel-line': 18L,
397          'sel-line-start': 528L,
398          'selection_end': 721L,
399          'selection_start': 528L,
400          'zoom': 0L},
401         1563232797.935308],
402        [loc('__main__.py'),
403         {'attrib-starts': [('main|0|',
404                             2)],
405          'code-line': '    \n',
406          'first-line': 0L,
407          'folded-linenos': [],
408          'sel-line': 7L,
409          'sel-line-start': 340L,
410          'selection_end': 344L,
411          'selection_start': 344L,
412          'zoom': 0L},
413         1563232895.220896],
414        [loc('get_app_properties.py'),
415         {'attrib-starts': [],
416          'code-line': '# Obsolete - moved to config file instead.\n',
417          'first-line': 0L,
418          'folded-linenos': [],
419          'sel-line': 0L,
420          'sel-line-start': 0L,
421          'selection_end': 42L,
422          'selection_start': 42L,
423          'zoom': 0L},
424         1563232919.766056]],
425        20),
426        'current-loc': loc('__main__.py'),
427        'editor-state-list': [(loc('cad_watcher.py'),
428                               {'attrib-starts': [],
429                                'code-line': '# Read the cad comments log \n',
430                                'first-line': 15L,
431                                'folded-linenos': [],
432                                'sel-line': 19L,
433                                'sel-line-start': 546L,
434                                'selection_end': 838L,
435                                'selection_start': 546L,
436                                'zoom': 0L}),
437                              (loc('cms_watcher.py'),
438                               {'attrib-starts': [('isEmpty|0|',
439        12)],
440                                'code-line': '     return cmsitem == ":::::"'\
441        '\n',
442                                'first-line': 0L,
443                                'folded-linenos': [],
444                                'sel-line': 13L,
445                                'sel-line-start': 324L,
446                                'selection_end': 353L,
447                                'selection_start': 353L,
448                                'zoom': 0L}),
449                              (loc('get_app_properties.py'),
450                               {'attrib-starts': [],
451                                'code-line': '# Obsolete - moved to config f'\
452        'ile instead.\n',
453                                'first-line': 0L,
454                                'folded-linenos': [],
455                                'sel-line': 0L,
456                                'sel-line-start': 0L,
457                                'selection_end': 42L,
458                                'selection_start': 42L,
459                                'zoom': 0L}),
460                              (loc('logging_service.py'),
461                               {'attrib-starts': [('startup|0|',
462        17)],
463                                'code-line': '    # get path to output file '\
464        'from configuration\n',
465                                'first-line': 9L,
466                                'folded-linenos': [],
467                                'sel-line': 18L,
468                                'sel-line-start': 528L,
469                                'selection_end': 721L,
470                                'selection_start': 528L,
471                                'zoom': 0L}),
472                              (loc('__main__.py'),
473                               {'attrib-starts': [('main|0|',
474        2)],
475                                'code-line': '    \n',
476                                'first-line': 0L,
477                                'folded-linenos': [],
478                                'sel-line': 7L,
479                                'sel-line-start': 340L,
480                                'selection_end': 344L,
481                                'selection_start': 344L,
482                                'zoom': 0L})],
483        'has-focus': True,
484        'locked': False},
485        [loc('cad_watcher.py'),
486         loc('cms_watcher.py'),
487         loc('get_app_properties.py'),
488         loc('logging_service.py'),
489         loc('__main__.py')]),
490                               'open_files': [u'cad_watcher.py',
491        u'cms_watcher.py',
492        u'logging_service.py',
493        u'get_app_properties.py',
494        u'__main__.py']},
495        'saved_notebook_display': None,
496        'split_percents': {0: 0.5},
497        'splits': 2,
498        'tab_location': 'top',
499        'traversal_pos': ((0,
500                           3),
501                          1563232857.216172),
502        'user_data': {}},
503                 'saved_notebook_display': None,
504                 'split_percents': {},
505                 'splits': 1,
506                 'tab_location': 'left',
507                 'traversal_pos': ((0,
508                                    4),
509                                   1563232923.341114),
510                 'user_data': {}},
511        'window-alloc': (29,
512                         0,
513                         1197,
514                         722)}]}
515guimgr.recent-documents = [loc('__main__.py'),
516                           loc('get_app_properties.py'),
517                           loc('logging_service.py'),
518                           loc('cad_watcher.py'),
519                           loc('cms_watcher.py')]
520guimgr.visual-state = {loc('get_revision'): {'attrib-starts': [],
521        'code-line': '',
522        'first-line': 0L,
523        'folded-linenos': [],
524        'sel-line': 18L,
525        'sel-line-start': 455L,
526        'selection_end': 455L,
527        'selection_start': 455L,
528        'zoom': 0L},
529                       loc('../../../../../../../usr/lib/python2.7/ConfigParser.py'): {'a'\
530        'ttrib-starts': [('ConfigParser|0|',
531                          85),
532                         ('ConfigParser|0|.get|0|',
533                          589)],
534        'code-line': '                raise NoSectionError(section)\n',
535        'first-line': 597L,
536        'folded-linenos': [],
537        'sel-line': 606L,
538        'sel-line-start': 22028L,
539        'selection_end': 22028L,
540        'selection_start': 22028L,
541        'zoom': 0L}}
542proj.build-cmd = {None: ('default',
543                         None)}
544proj.env-vars = {None: ('default',
545                        [u''])}
546search.search-history = [u'default directory policy']
Note: See TracBrowser for help on using the repository browser.