cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Importing a java code extension doesn't import updated version

ahanchat
Regular Member

Importing a java code extension doesn't import updated version

Hi,

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?

Thanks

Anirudha

Tags (1)
Announcements

Check out the upcoming Expert Session: Understanding ThingWorx Navigate Licensing in Community "Customer Events" section.