[prev in list] [next in list] [prev in thread] [next in thread] 

List:       soot-list
Subject:    [Soot-list] Behavior of Options.parse
From:       Guru Devanla <gdevan2 () uic ! edu>
Date:       2013-06-29 17:47:49
Message-ID: CAAq9Y11K-joCcEPdxAwfv6yBgDVO=jw4RrbcbTd5=H6qqZCARA () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hello Soot-List,

I see this strange behaviour of Options. I am running soot.Main.main(<my
arguments>).  This statement gets invoked multiple times when I run my test
suite but with different set of arguments. It happens that each time I
invoke this statement I am also setting the "-cp" argument.

Now, one of the items in the <my arguments> is "-cp". Since, the
Options.parse(), does not clear the "options" list before pushing new
values, I get the following error:

Duplicate values  <classpath> and <classpath> for -cp

Why is this intended behavior. Can I submit a PR to clear the list?

Thanks
Guru

[Attachment #5 (text/html)]

Hello Soot-List,<div><br></div><div>I see this strange behaviour of Options=
. I am running soot.Main.main(&lt;my arguments&gt;). =A0This statement gets=
 invoked multiple times when I run my test suite but with different set of =
arguments. It happens that each time I invoke this statement I am also sett=
ing the &quot;-cp&quot; argument.</div>


<div><br></div><div>Now, one of the items in the &lt;my arguments&gt; is &q=
uot;-cp&quot;. Since, the Options.parse(), does not clear the &quot;options=
&quot; list before pushing new values, I get the following error:</div>


<div><br></div><div><div>Duplicate values =A0&lt;classpath&gt; and &lt;clas=
spath&gt; for -cp</div><div><br></div><div>Why is this intended behavior. C=
an I submit a PR to clear the list?</div><div><br></div><div>Thanks</div>


<div>Guru</div><div><br></div></div><div><div><br></div></div>


_______________________________________________
Soot-list mailing list
Soot-list@sable.mcgill.ca
http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic