从所有vob中清除全局搜索

时间:2017-07-19 13:21:46

标签: clearcase

是否在ClearCase中对所有视图和VOBS进行某种全局搜索。

我需要找一个名为“aaa”的文件,我不知道哪个vob包含它。

有找到它的方法吗?

1 个答案:

答案 0 :(得分:1)

cleartool find有一个import 'package:flutter/material.dart'; import 'model.dart'; import 'package:flutter/painting.dart'; void main() { runApp(new MyApp()); } class MyApp extends StatelessWidget { @override Widget build(BuildContext context) { return new MaterialApp( title: 'Flutter Demo', theme: new ThemeData( primarySwatch: Colors.blue, ), home: new MyHomePage(title: 'Flutter Demo Home Page'), ); } } class MyHomePage extends StatefulWidget { MyHomePage({Key key, this.title}) : super(key: key); final String title; @override _MyHomePageState createState() => new _MyHomePageState(); } class _MyHomePageState extends State<MyHomePage> { @override Widget build(BuildContext context) { return new Scaffold( appBar: new AppBar( title: new Text(widget.title), ), drawer: new Menu(), body: new Container( child: new Center( child: new G() ), padding: const EdgeInsets.all(5.0), ), ); } } class Menu extends StatelessWidget { @override Widget build(BuildContext context) { return new Drawer( child: new ListView( children: <Widget>[ new DrawerHeader( child: new Text('Header'), ), new ListTile( title: new Text('Play'), onTap: () {}, ), new ListTile( title: new Text('Do some'), onTap: () {}, ), new ListTile( title: new Text('Exit'), onTap: () { Navigator.pop(context); }, ), ], ), elevation: 2.0, ); } } class G extends StatefulWidget { @override State createState() => new GState(); } class Cell extends StatelessWidget { final Color background; Cell(this.background):super(); @override Widget build(BuildContext context) { return new ConstrainedBox( constraints: new BoxConstraints.expand(), child: new DecoratedBox( decoration: new BoxDecoration( image: new DecorationImage( image: new AssetImage('images/r_w2.png'), fit: BoxFit.scaleDown, ), border: new Border.all(color: Colors.purple), boxShadow: <BoxShadow>[new BoxShadow(color: background)], ), ), ); } } class GState extends State<G>{ final ChessModel chessModel = new ChessModel(); final Color grey = Colors.blueGrey; final Color white = Colors.white12; @override Widget build(BuildContext context) { int size = ChessModel.FIELD_SIZE; List<Widget> columns = generateList(size, (int i) => new Expanded(child: buildColumn(i, size))); return new Row( mainAxisSize: MainAxisSize.min, children: columns, ); } List<Widget> generateList (int size, f) { return new List<Widget>.from(new List<int>.generate(size, (i) => i+1).map(f)); } Color getBGColorByIndexes(int y, int x) { return (y%2 == 0 && x%2 != 0) || (y%2 != 0 && x%2 == 0) ? grey: white; } Column buildColumn(int indexX, int size) { List<Widget> cells = generateList(size, (int indexY) => new Expanded(child: new Cell(getBGColorByIndexes(indexY, indexX)))); return new Column( mainAxisSize: MainAxisSize.min, mainAxisAlignment: MainAxisAlignment.center, children: cells ); } } 参数,以在本地主机上安装的所有VOB 中的所有元素,分支和版本开头。

所以:

  • 确保您的VOB已挂载(cleartool mount
  • 在动态视图中进行搜索(任何动态视图:可在此处访问已安装的按钮)

那是:

–avobs

如果其中一个已安装的vob中存在名为“cd m:\myview # or cd /views/myview cleartool find -avobs -name "aaa" ”的元素,则该查询将找到该元素。