Title: Raphaël FAUDOU
Hi,

did you try using the ";" as column separator in your .csv file?
With commas it does not work but it should work with ";" (I forgot to mention it).
regards
raphaël

[email protected] a écrit :
Thanks Raphaël FAUDOU for your remarks.

I have still difficulties to work with csv inputs: columns are not "detected".
I should definitely miss something.

The csv file is as follow (id, text, criticity):

capa-01,system should, important
capa-02,system may, low

Please correct me:
- in Requirement and attributes recognition:
  - Requirement identification:
    - Column: 0 (no regexp)
  - Attributes identification:
    - Column: 1 (no regexp)
    - Column: 2 (no regexp)
- Mapping:
  - Requirement: Text: Column: 1
  - Requirement: Text: Column: 2

The resulting requirement file is :
  <upstreamModel ident="UpstreamModel">
    <documents ident="requirement.csv">
      <children xmi:type="ttm:Requirement" ident="simple-01,should be
done,low"/>
      <children xmi:type="ttm:Requirement" ident="simple-02,may be done,high"/>
    </documents>

I used an ods file as input. Columns are properly parsed. I get:

 <upstreamModel ident="UpstreamModel">
     <documents ident="simple.ods">
      <children xmi:type="ttm:Requirement" ident="Capa-01">
        <texts value="system should"/>
        <texts value="important"/>
      </children>
...


thanks

2009/8/28 nicolas romain lac <[email protected]>:
  
Hello,

Thanks for all the great job done by developers. Topcased is really
getting more and more closed to a perfect tools chain.

I am evaluating the requirements capabilities of Topcased (version 3.0.1). I
read the TPC_3.0_Requirements_tutorial.pdf and wants to use a file with csv
format as input.

I can't populate (build) the upstream requirements. I am certainly missing
something (or maybe the documentation is lacking something).

Here are my steps:

My input file is;

simple.csv
CAPA-01,system should,important
CAPA-02,system should also,low

1. right click on the simple.csv file > Topcased > Import requirements
2. use defaults values,
3. in the requirement and attribute recognition dialog box :
  1. requirement identification : Column: 0 Regex: .*
  2. other columns:
     - Column: 1 Regex: .*
     - Column: 2 Regex: .*
4. creation of two attributes (text and criticity) and mapping,
5. Finish -> I can see my simple.requirement file...
6. Open a uml di file,
7. click on define requirements,
8. browse workspace,
9. select simple.requirement
10. open the two views
   1. upstreams requirement,
   2. current requirement
-> then I don't know what I have to do...

By the way, my simple.requirement model seems not to be correct. I don't have
the properties that I created. Properties that can use are only the "basic
ones"..

simple.requirement
...
<attributeConfiguration>
   <listAttributes name="#Allocate" type="Allocate"/>
   <listAttributes name="#Covered_by"/>
   <listAttributes name="#Justify"/>
   <listAttributes name="#Link_to" type="Link"/>
   <listAttributes name="#Maturity">
     <defaultValue
value="//@attributeConfiguration/@listAttributes.4/@listValue.0"/>
     <listValue value="TBD"/>
     <listValue value="TBC"/>
   </listAttributes>
 </attributeConfiguration>
...

    

_______________________________________________
Topcased-users mailing list
[email protected]
http://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users


  

--

Image Signature IOC Raphaël FAUDOU
Responsable cellule Innovation / bureau méthodes
Head of Innovation & Method Definition
Embedded systems & critical systems
Atos Origin

Tel     : +33 (0)5 34 36 32 89
Tel     : +33 (0)6 10 53 50 44
Mail   : [email protected]
Atos Origin
6, Impasse Alice Guy
BP 43045
31024 Toulouse Cedex 3, France

P Avant d'imprimer cet e-mail, pensez à l'environnement. Ce message et les pièces jointes sont confidentiels et réservés à l'usage exclusif de ses destinataires. Il peut également être protégé par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant être assurée sur Internet, la responsabilité du groupe Atos Origin ne pourra être recherchée quant au contenu de ce message. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne saurait être recherchée pour tout dommage résultant d'un virus transmis.
P Please consider your environmental responsibility before printing this e-mail. This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Atos Origin group liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.

_______________________________________________
Topcased-users mailing list
[email protected]
http://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users

Reply via email to