]
Max Rydahl Andersen commented on JBIDE-20519:
---------------------------------------------
why are these not stored in eclipse workspace which are only possible to load in one
eclipse instance at the time ?
Internal model fails when multiple instances of Studio are opened
-----------------------------------------------------------------
Key: JBIDE-20519
URL:
https://issues.jboss.org/browse/JBIDE-20519
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: common/jst/core
Affects Versions: 4.3.0.Beta2
Reporter: Viacheslav Kabanovich
Assignee: Viacheslav Kabanovich
Fix For: 4.3.0.CR1
To save memory, the internal model stores long text in temporal files with prefix efs_,
created in delete-on-exit mode. Since Studio may crash or be killed in the task manager,
these files may remain for ever, and to prevent it, model plugin removes files with prefix
efs_ during normal exit.
That produces the following problem:
1. Open Studio in a new workspace, create a jsf project and build it.
2. Open second instance of Studio in another new workspace, create exactly the same jsf
project and build it.
3. Close the second instance of Studio.
4. In the first instance of Studio, try clean/build.
Failure: Logged messages like
java.lang.IllegalStateException: Cannot read /tmp/efs_2500225045660665987.sp.txt for
object