[JBoss JIRA] (JBIDE-10763) Project examples cache logic is faulty
by Rob Cernich (JIRA)
Rob Cernich created JBIDE-10763:
-----------------------------------
Summary: Project examples cache logic is faulty
Key: JBIDE-10763
URL: https://issues.jboss.org/browse/JBIDE-10763
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: project-examples
Affects Versions: 3.3.0.M5
Reporter: Rob Cernich
Assignee: Snjezana Peco
Project examples files that are provided by plugins using a plugin URL (e.g. platform:/plugin/plugin.id/...) fail to be refreshed. The only workaround is to delete the cached file from the workspace's .metadata.
The following logic in ProjectUtils.getProjectExamplesFile() is incorrect:
{code:java}
if (urlModified == 0) {
if (file.exists()) {
return file;
}
}
{code}
as '0' is the same as IRemoteFileInfo.NO_LAST_MODIFIED. If urlModified == IRemoteFileInfo.NO_LAST_MODIFIED, the file should always be updated.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 2 months
[JBoss JIRA] (JBIDE-10691) the "requirements" part of project examples should not 'disappear' when they are fullfilled
by Max Rydahl Andersen (JIRA)
Max Rydahl Andersen created JBIDE-10691:
-------------------------------------------
Summary: the "requirements" part of project examples should not 'disappear' when they are fullfilled
Key: JBIDE-10691
URL: https://issues.jboss.org/browse/JBIDE-10691
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: project-examples
Affects Versions: 3.3.0.M5
Reporter: Max Rydahl Andersen
Assignee: Snjezana Peco
Priority: Critical
Fix For: 3.3.0.Beta1
I find it to be a usability issue that we "hide" the requirements for an example when they are fullfilled.
i.e. if an example says it supports as7 & eap6 and provide download of as7 then this requirements will disappear when you have eap6 installed even if you wanted to try out as7.
Would be better if these stayed around and showed an "Requirement fullfilled" indicator somehow (Green checkmark?) and allow users still to install/download additional runtime if that is what they wish to do.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 2 months