Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] symbols added don't appear in UI?

I don't know if it's a question about UI or not, so I send to all.
apparently, symbols are added sucessfully, but when I check it in the property of project, no symbol appeared in UI.

newSymbol = tool.createOption(null, "symbolTest","SymbolTestName",
true);
newSymbol.setValueType(IOption.STRING);
try {
newSymbol.setValue("symbolTestValue");
} catch (BuildException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}

IOption symbolCheck= ManagedBuildManager.getExtensionOption("symbolTest");
System.out.println("symbol value: "+symbolCheck.getValue());
UI can detect the changes automatically, if not, how can do it?

thanks in advance,
cheers


Votre messagerie et bien plus où que vous soyez. Passez à Windows Live Hotmail, c'est gratuit ! Inscrivez-vous

Back to the top