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

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

Importing a java code extension doesn't import updated version

ahanchat
7-Bedrock

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

0 REPLIES 0
Top Tags