private String doSetProperty(String key, String newValue, IProgressMonitor monitor, boolean save) { String oldValue = super.setProperty(key, newValue, new NullProgressMonitor()); if (oldValue == newValue || (oldValue != null && oldValue.equals(newValue))) return oldValue; if (PUBLISH_PACK_FILES_AS_SIBLINGS.equals(key)) { synchronized (this) { if (Boolean.TRUE.toString().equals(newValue)) { mappingRules = PACKED_MAPPING_RULES; } else { mappingRules = DEFAULT_MAPPING_RULES; } initializeMapper(); } } if (save) save(); return oldValue; }
private String doSetProperty(String key, String newValue, IProgressMonitor monitor, boolean save) { String oldValue = super.setProperty(key, newValue, new NullProgressMonitor()); if (oldValue == newValue || (oldValue != null && oldValue.equals(newValue))) return oldValue; if (PUBLISH_PACK_FILES_AS_SIBLINGS.equals(key)) { synchronized (this) { if (Boolean.TRUE.toString().equals(newValue)) { mappingRules = PACKED_MAPPING_RULES; } else { mappingRules = DEFAULT_MAPPING_RULES; } initializeMapper(); } } if (save) save(); return oldValue; }
private String doSetProperty(String key, String newValue, IProgressMonitor monitor, boolean save) { String oldValue = super.setProperty(key, newValue, new NullProgressMonitor()); if (oldValue == newValue || (oldValue != null && oldValue.equals(newValue))) return oldValue; if (PUBLISH_PACK_FILES_AS_SIBLINGS.equals(key)) { synchronized (this) { if (Boolean.TRUE.toString().equals(newValue)) { mappingRules = PACKED_MAPPING_RULES; } else { mappingRules = DEFAULT_MAPPING_RULES; } initializeMapper(); } } if (save) save(); return oldValue; }
private String doSetProperty(String key, String newValue, IProgressMonitor monitor, boolean save) { String oldValue = super.setProperty(key, newValue, new NullProgressMonitor()); if (oldValue == newValue || (oldValue != null && oldValue.equals(newValue))) return oldValue; if (PUBLISH_PACK_FILES_AS_SIBLINGS.equals(key)) { synchronized (this) { if (Boolean.TRUE.toString().equals(newValue)) { mappingRules = PACKED_MAPPING_RULES; } else { mappingRules = DEFAULT_MAPPING_RULES; } initializeMapper(); } } if (save) save(); return oldValue; }
((JarOutputStream) os).putNextEntry(new JarEntry(new Path(artifactsFile.getAbsolutePath()).lastSegment())); super.setProperty(IRepository.PROP_TIMESTAMP, Long.toString(System.currentTimeMillis())); new CompositeRepositoryIO().write(toState(), os, PI_REPOSITORY_TYPE); } catch (IOException e) {
((JarOutputStream) os).putNextEntry(new JarEntry(new Path(artifactsFile.getAbsolutePath()).lastSegment())); super.setProperty(IRepository.PROP_TIMESTAMP, Long.toString(System.currentTimeMillis())); new CompositeRepositoryIO().write(toState(), os, PI_REPOSITORY_TYPE); } catch (IOException e) {
((JarOutputStream) os).putNextEntry(new JarEntry(new Path(artifactsFile.getAbsolutePath()).lastSegment())); super.setProperty(IRepository.PROP_TIMESTAMP, Long.toString(System.currentTimeMillis())); new CompositeRepositoryIO().write(toState(), os, PI_REPOSITORY_TYPE); } catch (IOException e) {
((JarOutputStream) os).putNextEntry(new JarEntry(new Path(artifactsFile.getAbsolutePath()).lastSegment())); super.setProperty(IRepository.PROP_TIMESTAMP, Long.toString(System.currentTimeMillis()), new NullProgressMonitor()); new SimpleArtifactRepositoryIO(getProvisioningAgent()).write(this, os); } catch (IOException e) {
((JarOutputStream) os).putNextEntry(new JarEntry(new Path(artifactsFile.getAbsolutePath()).lastSegment())); super.setProperty(IRepository.PROP_TIMESTAMP, Long.toString(System.currentTimeMillis()), new NullProgressMonitor()); new SimpleArtifactRepositoryIO(getProvisioningAgent()).write(this, os); } catch (IOException e) {
((JarOutputStream) os).putNextEntry(new JarEntry(new Path(artifactsFile.getAbsolutePath()).lastSegment())); super.setProperty(IRepository.PROP_TIMESTAMP, Long.toString(System.currentTimeMillis())); new CompositeRepositoryIO().write(toState(), os, PI_REPOSITORY_TYPE); } catch (IOException e) {
((JarOutputStream) os).putNextEntry(new JarEntry(new Path(artifactsFile.getAbsolutePath()).lastSegment())); super.setProperty(IRepository.PROP_TIMESTAMP, Long.toString(System.currentTimeMillis()), new NullProgressMonitor()); new SimpleArtifactRepositoryIO(getProvisioningAgent()).write(this, os); } catch (IOException e) {
((JarOutputStream) os).putNextEntry(new JarEntry(new Path(artifactsFile.getAbsolutePath()).lastSegment())); super.setProperty(IRepository.PROP_TIMESTAMP, Long.toString(System.currentTimeMillis()), new NullProgressMonitor()); new SimpleArtifactRepositoryIO(getProvisioningAgent()).write(this, os); } catch (IOException e) {