Setting an attribute to launch configuration in eclipse -


an application in eclispe3.7, want set attribute launch configuration on each launch. iam using following command setting attribute, when getting attribte, shows default attribute value only.

launch.getlaunchconfiguration().getworkingcopy().setattribute(igdblaunchconfigurationconstants.attr_port, value); 

on class, launch first class getting using following code:

launch.getlaunchconfiguration()..getworkingcopy().getattributes(); 

why attribute cannot set? please me...

i suspect problem getting different working copies each call getworkingcopy(). if check java id of working copy object in debugger able tell sure.

hope helps, thomas


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -