Between Ptolemy II 1.0 and 2.0, the port names in some of the actors changed:
ptolemy.actor.lib.conversions.CartesianToComplex has differences:
3,4c3,4
<     public ptolemy.actor.TypedIOPort real;
<     public ptolemy.actor.TypedIOPort imag;
---
>     public ptolemy.actor.TypedIOPort x;
>     public ptolemy.actor.TypedIOPort y;
..
ptolemy.actor.lib.conversions.ComplexToCartesian has differences:
4,5c4,5
<     public ptolemy.actor.TypedIOPort real;
<     public ptolemy.actor.TypedIOPort imag;
---
>     public ptolemy.actor.TypedIOPort x;
>     public ptolemy.actor.TypedIOPort y;
7c7
<     public final void fire() throws ptolemy.kernel.util.IllegalActionExceptio\
n;
---
>     public void fire() throws ptolemy.kernel.util.IllegalActionException;
The idea is to write an xsl file that will update the port names in $PTII/ptolemy/actor/lib/conversions/test/auto/ComplexToCartesianAndBack.xml Below are the diffs:
cxh@cooley 96% diff {/vol/ptolemy/pt0/ptweb/ptolemyII/ptII1.0/ptII1.0,$PTII}/pt\
olemy/actor/lib/conversions/test/auto/ComplexToCartesianAndBack.xml
4c4
< 
---
> 
33c33
<         
---
>         
36c36
<         
---
>         
41c41
<         
---
>         
44c44
<         
---
>         
73,76c73,76
<     
<     
<     
<     
---
>     
>     
>     
>     
cxh@cooley 97%
Here, the Ptolemy II 1.0 version of ComplexToCartesianAndBack.xml is called cartesianIn.xml, the result will be called cartesianOut.xml