z2-Environment: Issueshttps://redmine.z2-environment.net/https://redmine.z2-environment.net/favicon.ico?15813551872024-03-27T13:16:37Zz2-Environment
Redmine z2-Environment - Bug #2174 (New): Cannot install eclipsoid in base eclipsehttps://redmine.z2-environment.net/issues/21742024-03-27T13:16:37ZHenning Blohmhenning.blohm@zfabrik.dez2-Environment - Bug #2169 (Feedback): Cleanup of collected resources may remove good resource entryhttps://redmine.z2-environment.net/issues/21692024-02-29T13:35:07ZHenning Blohmhenning.blohm@zfabrik.de
<p>The following sequence of events may lead to untracking of a still valid resource:</p>
<p>1. In NamespaceImpl _getResourceHandleImplNonNull we find a vh!=null && rh==null and (in another loop) put the vh directly into the invQ.<br />2. A subsequent tick() removes the vh.getKey() from the resource map and we can bind a new entry</p>
<p>Later:</p>
<p>3. In another tick we ingest the gc queue from the resource map into invQ. Because only now the GC noted the collected value, we get the same vh from above again in the invQ and the tick removes the key again from the resource map.</p>
<a name="Solution"></a>
<h2 >Solution<a href="#Solution" class="wiki-anchor">¶</a></h2>
<ul>
<li>In tick make sure to check for value holders that are still bound in the map</li>
<li>Only remove from the map, if it is still bound.</li>
</ul> z2-Environment - Improvement #2117 (Resolved): Fix compile performance degradationhttps://redmine.z2-environment.net/issues/21172021-10-18T21:06:04ZHenning Blohmhenning.blohm@zfabrik.de
<p>With the latest enhancements of the package detection in NameEnvironmentImpl, compilation performance has greatly <br />suffered.</p>
<a name="Acceptance-Criteria"></a>
<h2 >Acceptance Criteria<a href="#Acceptance-Criteria" class="wiki-anchor">¶</a></h2>
<ul>
<li>Performance is in the same range (<+10%) of 2.5.7.</li>
</ul>
<a name="Implementation-Hint"></a>
<h2 >Implementation Hint<a href="#Implementation-Hint" class="wiki-anchor">¶</a></h2>
<p>Instead of traversing the classpath checking for a package, we should preload known packages from <br />our classloaders.</p> z2-Environment - Improvement #2116 (Resolved): Reduce synchronization in Component Resource Wrapperhttps://redmine.z2-environment.net/issues/21162021-10-15T14:41:53ZHenning Blohmhenning.blohm@zfabrik.de
<p>Provisioning and invalidation in Component Resource Wrapper is synchronized, which can lead to deadlocks in concurrent dependency loading and invalidation.</p>
<a name="Acceptance-Criteria"></a>
<h2 >Acceptance Criteria<a href="#Acceptance-Criteria" class="wiki-anchor">¶</a></h2>
<ul>
<li>There is no synchronization around dependency handling in loading and invalidation in Component Resource Wrapper</li>
<li>A concurrent invalidation is detected during a the loading of a wrapped resource. In that case, a warning is logged and an invalidation is called.</li>
</ul> z2-Environment - Improvement #2115 (Resolved): Support jetty configuration property setting via W...https://redmine.z2-environment.net/issues/21152021-10-15T14:38:20ZHenning Blohmhenning.blohm@zfabrik.de
<p>Currently, in order to configure Jetty configuration properties for the embedded Jetty they must be specified as system properties.</p>
<p>This means we cannot effectively use dynamic component level properties to configure the web server settings.</p>
<a name="Acceptance-Criteria"></a>
<h2 >Acceptance Criteria<a href="#Acceptance-Criteria" class="wiki-anchor">¶</a></h2>
<ul>
<li>All Web server component properties that are prefixed with "jetty.property." are added to configuration evaluation (with removed prefix)</li>
</ul> z2-Environment - Bug #2114 (Resolved): Includes are not removed before rebuildhttps://redmine.z2-environment.net/issues/21142021-10-15T07:09:50ZHenning Blohmhenning.blohm@zfabrik.de
<p>When ComponentsBuilder detects a rebuild, it copies original resources (ok) and includes (nok) without cleaning the instance target folders first.</p>
<a name="Acceptance-Criteria"></a>
<h2 >Acceptance Criteria<a href="#Acceptance-Criteria" class="wiki-anchor">¶</a></h2>
<ul>
<li>Clean part and instance target folders for make and include before rebuilding a part</li>
</ul> z2-Environment - Bug #2113 (Resolved): Log Streaming JSON not escaping backslashhttps://redmine.z2-environment.net/issues/21132021-10-14T15:08:14ZHenning Blohmhenning.blohm@zfabrik.de
<p>so that log streaming fails, if the log buffer has backslash characters.</p> z2-Environment - Improvement #2070 (New): Eclipsoid dependency view to include test referenceshttps://redmine.z2-environment.net/issues/20702020-05-11T10:53:01ZHenning Blohmhenning.blohm@zfabrik.de
<p>Currently the view is not including test references, but test references can be important aspects in cycle detection.</p>
<p>Therefore test references should be included in the transitive reference closure of the dependency viewer.</p> z2-Environment - Improvement #1940 (New): outdated copyright notice in Eclipsoid when installing ...https://redmine.z2-environment.net/issues/19402016-01-31T17:45:06ZHenning Blohmhenning.blohm@zfabrik.de
<p>It says (c) 2010-2012 or similarly. We should simply omit the year.</p>
<p>Plus we should fix the Company name and mention that it is open source (Apache 2)</p> z2-Environment - Bug #1922 (New): Eclipsoid info views not working in Eclipse > Keplerhttps://redmine.z2-environment.net/issues/19222015-09-10T11:18:39ZHenning Blohmhenning.blohm@zfabrik.de
<p>Fortunately sync and resolve still work.</p>
<p>Exception noted: ClassNotFoundException w.r.t some JGit classes.</p> z2-Environment - Improvement #1878 (Resolved): Eclipsoid Templates not compatible with org.z2envhttps://redmine.z2-environment.net/issues/18782015-01-28T11:04:22ZHenning Blohmhenning.blohm@zfabrik.de
<p>The actual problem is the namespace change in z2v3 to org.z2env.</p>
<p>This means:</p>
<ul>
<li>the generated templates are wrong,</li>
<li>z.properties files are not recognized</li>
</ul>
<p>Suggestion: Add a configuration for the namespace or retrieve the actual templates from the server (which is uncool, as at least one sync must have happened).</p>
<p>More benefits:</p>
<ul>
<li>could easily support new web.xml templates (e.g. for servlet 3.x)</li>
</ul> z2-Environment - Bug #1022 (Resolved): gitcr priority misspelled in reposhttps://redmine.z2-environment.net/issues/10222013-03-30T11:33:54ZHenning Blohmhenning.blohm@zfabrik.de
<p>It is actually gitcr.priority but most templates say gitcr.prio.</p>
<p>They should be reviewed as this always costs an hour of debugging to find out!</p> z2-Environment - Improvement #1021 (Rejected): Split servlet / jsp moduleshttps://redmine.z2-environment.net/issues/10212013-03-30T11:11:35ZHenning Blohmhenning.blohm@zfabrik.de
<p>Currently all servlet / jsp business including implementations is in com.zfabrik.servletjsp.</p>
<p>With the inception feature this has shown to be problematic, as we cannot split off the implementation easily.</p>
<p>Instead we should have modules:</p>
<p>com.zfabrik.webserver.jetty
|<br />javax.servlet.jsp.jstl
|<br />javax.servlet</p> z2-Environment - Feature #952 (Resolved): Eclipsoid support for IntelliJhttps://redmine.z2-environment.net/issues/9522012-11-12T16:52:21ZHenning Blohmhenning.blohm@zfabrik.de
<p>I.e. support the main functions (and only those for now) we have for Eclipsoid@Eclipse also for IntelliJ:</p>
<ul>
<li>Classpath completion from a running Z2.</li>
</ul>
<p>Supposedly there is a project model API in intellij for this kind of purpose.</p> z2-Environment - Bug #897 (Resolved): Cannot debug resolved z2-project in workspacehttps://redmine.z2-environment.net/issues/8972012-09-13T09:07:06ZHenning Blohmhenning.blohm@zfabrik.de
<p>Getting</p>
<p>java.lang.UnsupportedOperationException<br /> at com.zfabrik.eclipsoid.plugin.cpcontainer.EclipsoidClasspathEntryResolver.resolveVMInstall(EclipsoidClasspathEntryResolver.java:59)<br /> at org.eclipse.jdt.internal.launching.RuntimeClasspathEntryResolver.resolveVMInstall(RuntimeClasspathEntryResolver.java:83)<br /> at org.eclipse.jdt.launching.JavaRuntime.getVMInstall(JavaRuntime.java:387)<br /> at org.eclipse.jdt.launching.JavaRuntime.computeVMInstall(JavaRuntime.java:1292)<br /> at org.eclipse.jdt.launching.AbstractJavaLaunchConfigurationDelegate.getVMInstall(AbstractJavaLaunchConfigurationDelegate.java:111)<br /> at org.eclipse.jdt.launching.AbstractJavaLaunchConfigurationDelegate.verifyVMInstall(AbstractJavaLaunchConfigurationDelegate.java:183)<br /> at org.eclipse.jdt.launching.AbstractJavaLaunchConfigurationDelegate.getVMRunner(AbstractJavaLaunchConfigurationDelegate.java:947)<br /> at org.eclipse.jdt.launching.JavaLaunchDelegate.launch(JavaLaunchDelegate.java:51)</p>
<p>from Eclipse</p>