@Override protected void saveDescription() { final ApolloProjectSettings apolloProjectSettings = (ApolloProjectSettings) settings; apolloProjectSettings.saveDescription(project, monitor); // Creats project if dose not exists if (adobeProject == null) { try { adobeProject = new ApolloProject(apolloProjectSettings, project, monitor); } catch (final CoreException e) { throw new RuntimeException(e); } } }
protected void configureBuildTarget() { final ApolloProjectSettings apolloProjectSettings = (ApolloProjectSettings) settings; final ApolloBuildTargetSettings buildTargetSettings = new ApolloBuildTargetSettings( ApolloBuildTargetSettings.DEFAULT_PLATFORM_ID, ApolloBuildTargetSettings.DEFAULT_BUILD_TARGET_NAME, ApolloBuildTargetSettings.DEFAULT_BUILD_TARGET_NAME); buildTargetSettings.setCertificatePath(plugin.getCertificatePath()); buildTargetSettings.setAirExcludePaths(new IPath[0]); buildTargetSettings.setANEPaths(new IPath[0]); buildTargetSettings.setTimestamp(true); buildTargetSettings.setAddedParameters(new ILaunchParameter[0], ParameterType.LAUNCHING); buildTargetSettings.setAddedParameters(new ILaunchParameter[0], ParameterType.PACKAGING); buildTargetSettings.setModifiedParameters(new ILaunchParameter[0], ParameterType.LAUNCHING); buildTargetSettings.setModifiedParameters(new ILaunchParameter[0], ParameterType.PACKAGING); apolloProjectSettings.setBuildTargetSettings( ApolloBuildTargetSettings.DEFAULT_PLATFORM_ID, ApolloBuildTargetSettings.DEFAULT_BUILD_TARGET_NAME, buildTargetSettings); }