0 Replies Latest reply on Jan 14, 2018 7:38 PM by ahanchat RSS
    ahanchat Explorer

    Importing a java code extension doesn't import updated version



    I am on TWX 7.2

    I have java code Thing Template in extension.

    In metadata.xml for Thing Template aspect.isEditableExtensionObject is set to true and version as 1.1.0.


    I have updated the Thing Template java code and updated the version to 1.2.0.

    Now when I am importing the extension, I get an message saying



    2017-07-03 15:01:32.798+0000 [L: WARN] [O: c.t.c.ImportProcessor] [I: ] [U: SuperUser] [S: ] [T: http-nio-8443-exec-2] Editable Extension Object Already Exists: Ignoring System Imported Object ThingTemplate [RemoteTestThingServicesTemplate]

    2017-07-03 15:01:32.799+0000 [L: WARN] [O: c.t.c.ImportProcessor] [I: ] [U: SuperUser] [S: ] [T: http-nio-8443-exec-2] Ignoring ThingTemplate [RemoteTestThingServicesTemplate]



    Could you please tell how can we resolve this issue?


    I was referring to Re: Extension Package Development Questions wherein it is mentioned that to use annotations in java code to allow import of updated version.

    Can you please tell which annotation should be used?