Validation command ----> Done Usage:
$tavlang validate [options] [args] input_files options:- -l, --log : Save results in a file Example:- $tavlang validate /home/menaka/conv/aaa/workflows/t2flow/helloworld.t2flow /home/menaka/conv/aaa/workflows/t2flow/as.t2flow -l /home/menaka/conv/aaa.log The output aaa.log file is attached. Without options. $ tavlang validate /home/menaka/conv/aaa/workflows/t2flow/helloworld.t2flow Validation started... Validation completed....... The workflow helloworld.t2flow has no errors. The workflow helloworld.t2flow has no errors. The validation report for helloworld.t2flow...... NegativeValueProblems EmptyIterationStrategyTopNodeProblems MismatchConfigurableTypeProblems NonAbsoluteURIProblems NullFieldProblems OutOfScopeValueProblems PortMentionedTwiceProblems PortMissingFromIterationStrategyStackProblems WrongParentProblems IncompatibleGranularDepthProblems Cheers. Menaka On 21 June 2015 at 01:06, Menaka Madushanka <[email protected]> wrote: > No. There is one boolean method 'detectedProblems()' which returns false > if any error detected otherwise true. > I'll have to use some regex and pattern matching. > :-) > > On 21 June 2015 at 00:59, Alan Williams <[email protected]> wrote: > >> On 20-Jun-15 20:26, Menaka Madushanka wrote: >> >>> So, for the tool I'll extract each set and show them in a more user >>> friendly manner? >>> >> >> I think so yes. Do they have individual toString methods? >> >> Alan >> >> >> > > > -- > Menaka Madushanka Jayawardena > Faculty of Engineering, <http://www.pdn.ac.lk/eng> > University of Peradeniyaya. > LinkedIn <http://lk.linkedin.com/in/menakajayawardena> > -- Menaka Madushanka Jayawardena Faculty of Engineering, <http://www.pdn.ac.lk/eng> University of Peradeniyaya. LinkedIn <http://lk.linkedin.com/in/menakajayawardena>
The workflow helloworld.t2flow has no errors. The validation report for helloworld.t2flow...... NegativeValueProblems EmptyIterationStrategyTopNodeProblems MismatchConfigurableTypeProblems NonAbsoluteURIProblems NullFieldProblems OutOfScopeValueProblems PortMentionedTwiceProblems PortMissingFromIterationStrategyStackProblems WrongParentProblems IncompatibleGranularDepthProblems --------------------------------------------------------------------------------- The workflow as.t2flow has no errors. The validation report for as.t2flow...... NegativeValueProblems EmptyIterationStrategyTopNodeProblems MismatchConfigurableTypeProblems NonAbsoluteURIProblems NullFieldProblems OutOfScopeValueProblems PortMentionedTwiceProblems PortMissingFromIterationStrategyStackProblems WrongParentProblems IncompatibleGranularDepthProblems ---------------------------------------------------------------------------------
