Open GoogleCodeExporter opened 8 years ago
Sometimes the spray generator (for the .spray model file) is running ten times
in a row. It only seems to happen for the spray file in the business domain
project.
It happens when either the spray file itself is saved, or a spray file of
another project. There are no other changes done in any other file.
Spray generating for model
platform:/resource/org.eclipselabs.spray.examples.mydiagram/model/mydiagram.styl
e
Spray generating for model
platform:/resource/org.eclipselabs.spray.examples.mydiagram/model/mydiagram.styl
e
Spray generating for model
platform:/resource/org.eclipselabs.spray.examples.mydiagram/model/mydiagram.shap
e
Spray generating for model
platform:/resource/org.eclipselabs.spray.examples.mydiagram/model/mydiagram.styl
e
Spray generating for model
platform:/resource/org.eclipselabs.spray.examples.mydiagram/model/mydiagram.spra
y
Spray generating for model
platform:/resource/org.eclipselabs.spray.examples.mydiagram/model/mydiagram.shap
e
Spray generating for model
platform:/resource/org.eclipselabs.spray.examples.mydiagram/model/mydiagram.styl
e
Spray generating for model
platform:/resource/org.eclipselabs.spray.examples.mydiagram/model/mydiagram.spra
y
Spray generating for model
platform:/resource/org.eclipselabs.spray.examples.mydiagram/model/mydiagram.shap
e
Spray generating for model
platform:/resource/org.eclipselabs.spray.examples.mydiagram/model/mydiagram.styl
e
Spray generating for model
platform:/resource/org.eclipselabs.spray.examples.mydiagram/model/mydiagram.spra
y
Spray generating for model
platform:/resource/org.eclipselabs.spray.examples.mydiagram/model/mydiagram.shap
e
Spray generating for model
platform:/resource/org.eclipselabs.spray.examples.mydiagram/model/mydiagram.styl
e
Spray generating for model
platform:/resource/org.eclipselabs.spray.examples.mydiagram/model/mydiagram.spra
y
Spray generating for model
platform:/resource/org.eclipselabs.spray.examples.mydiagram/model/mydiagram.shap
e
Spray generating for model
platform:/resource/org.eclipselabs.spray.examples.mydiagram/model/mydiagram.styl
e
Spray generating for model
platform:/resource/org.eclipselabs.spray.examples.mydiagram/model/mydiagram.spra
y
Spray generating for model
platform:/resource/org.eclipselabs.spray.examples.mydiagram/model/mydiagram.shap
e
Spray generating for model
platform:/resource/org.eclipselabs.spray.examples.mydiagram/model/mydiagram.styl
e
Spray generating for model
platform:/resource/org.eclipselabs.spray.examples.mydiagram/model/mydiagram.spra
y
Spray generating for model
platform:/resource/org.eclipselabs.spray.examples.mydiagram/model/mydiagram.shap
e
Spray generating for model
platform:/resource/org.eclipselabs.spray.examples.mydiagram/model/mydiagram.styl
e
Spray generating for model
platform:/resource/org.eclipselabs.spray.examples.mydiagram/model/mydiagram.spra
y
Spray generating for model
platform:/resource/org.eclipselabs.spray.examples.mydiagram/model/mydiagram.shap
e
Spray generating for model
platform:/resource/org.eclipselabs.spray.examples.mydiagram/model/mydiagram.styl
e
Spray generating for model
platform:/resource/org.eclipselabs.spray.examples.mydiagram/model/mydiagram.spra
y
Spray generating for model
platform:/resource/org.eclipselabs.spray.examples.mydiagram/model/mydiagram.shap
e
Original comment by de.abg.r...@gmail.com
on 4 Nov 2012 at 4:51
The above number of generator step happens after saving the style model. As the
style model itself uses the generated Jav style files, it can trigger itself
in a loop. We should avoid that some way.
Original comment by joswar...@gmail.com
on 4 Nov 2012 at 6:25
To avoid loops in style dependencies we should have an Xtext rule in the style
grammar like:
Style:
{Style}
"style" name=ID ("extends" (superStyle=JvmTypeReference | superStyleFromDsl=[Style]) )? "{"
("description" "=" description=STRING)?
layout=StyleLayout
"}";
instead of:
Style:
{Style}
"style" name=ID ("extends" superStyle=JvmTypeReference)? "{"
("description" "=" description=STRING)?
layout=StyleLayout
"}";
That way a style can either refer to a style in the DSL or to a Java style.
Original comment by joswar...@gmail.com
on 4 Nov 2012 at 6:38
Original issue reported on code.google.com by
de.abg.r...@gmail.com
on 14 Oct 2012 at 1:19