IKVM complex custom type error in remapping to properties!

浪子不回头ぞ 提交于 2020-01-06 02:53:47

问题


I used the above and wrote this:

<class name="umple.pts.domain.coreEntities.Stop">
    <property name="StopName" sig="()Ljava.lang.String;">
        <getter name="getName" sig="()Ljava.lang.String;" />
        <setter name="setName" sig="(Ljava.lang.String;)Z" />
    </property>
    <property name="StopId" sig="()I">
        <getter name="getStopId" sig="()I" />
        <setter name="setStopId" sig="(I)V" />
    </property>
</class>
<class name="umple.pts.domain.coreEntities.Line">
    <property name="LineName" sig="()Ljava.lang.String;">
        <getter name="getName" sig="()Ljava.lang.String;" />
        <setter name="setName" sig="(Ljava.lang.String;)V" />
    </property>
    <property name="LineId" sig="()I">
        <getter name="getLineId" sig="()I" />
        <setter name="setLineId" sig="(I)V" />
    </property>
    <property name="FirstEndStop" sig="()umple.pts.domain.coreEntities.Stop;">
        <getter name="getFirstEndStop" sig="()umple.pts.domain.coreEntities.Stop;" />
        <setter name="setFirstEndStop" sig="(umple.pts.domain.coreEntities.Stop;)Z" 

/>

/>

/>

I get an error while generating the dll file:

D:\PTS\PTS_SVN\Libraries\ikvm-0.44.0.5\bin>ikvmc -remap:map.xml -target:library PTSDomain.jar Note IKVMC0002: output file is "PTSDomain.dll" Error: Invalid property signature '()umple.pts.domain.coreEntities.Stop;' in rem ap file for property umple.pts.domain.coreEntities.Line.FirstEndStop Error: Invalid property getter signature '()umple.pts.domain.coreEntities.Stop;' in remap file for property umple.pts.domain.coreEntities.Line.FirstEndStop Error: Invalid property setter signature '(umple.pts.domain.coreEntities.Stop;)Z ' in remap file for property umple.pts.domain.coreEntities.Line.FirstEndStop Error: Invalid property signature '()umple.pts.domain.coreEntities.Stop;' in rem ap file for property umple.pts.domain.coreEntities.Line.SecondEndStop Error: Invalid property getter signature '()umple.pts.domain.coreEntities.Stop;' in remap file for property umple.pts.domain.coreEntities.Line.SecondEndStop Error: Invalid property setter signature '(umple.pts.domain.coreEntities.Stop;)Z ' in remap file for property umple.pts.domain.coreEntities.Line.SecondEndStop Error: Invalid property signature '()[umple.pts.domain.coreEntities.Stop;' in re map file for property umple.pts.domain.coreEntities.Line.Stops Error: Invalid property getter signature '()[umple.pts.domain.coreEntities.Stop; ' in remap file for property umple.pts.domain.coreEntities.Line.Stops Error: Invalid property setter signature '([umple.pts.domain.coreEntities.Stop;) Z' in remap file for property umple.pts.domain.coreEntities.Line.Stops

D:\PTS\PTS_SVN\Libraries\ikvm-0.44.0.5\bin>

Can i use the custom properties or will i have to do that via some other way??


回答1:


You're missing the L in front of umple.pts.domain.coreEntities.Line.Stops;



来源:https://stackoverflow.com/questions/4690663/ikvm-complex-custom-type-error-in-remapping-to-properties

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!