Hi!
How can one set programmatically an existing PyDev project properties (especially "External Source Folder") from an another custom plug-in ?
Regards, Attila
PythonNature pythonNature = PythonNature.getPythonNature(project); if(pythonNature != null){ pythonNature.getPythonPathNature().setProjectExternalSourcePath("c:\\temp\\path1|c:\\temp\\path2"); pythonNature.rebuildPath(); }
Hi!
How can one set programmatically an existing PyDev project properties (especially "External Source Folder") from an another custom plug-in ?
Regards,
Attila
PythonNature pythonNature = PythonNature.getPythonNature(project);
if(pythonNature != null){
pythonNature.getPythonPathNature().setProjectExternalSourcePath("c:\\temp\\path1|c:\\temp\\path2");
pythonNature.rebuildPath();
}