Closed GoogleCodeExporter closed 8 years ago
There's also an import that cant be resolved (just after creating new Spray
Project).
import org.eclipselabs.spray.runtime.containers.OwnerPropertyDeleteFeature;
in "src-gen/diagrams/JsfbuilderFeatureProviderBase.java". i commented that line
out.
Original comment by Nosezeic...@gmail.com
on 6 Dec 2012 at 6:24
Of course i checked if the Activator.java is there. Its location is
"src-gen/spray/Activator.java".
See attachment
Original comment by Nosezeic...@gmail.com
on 6 Dec 2012 at 6:33
Attachments:
The OwnerPropertyDeleteFeature.java is also there in the spray project and also
in the jar that is built. I don't know why it cannot be found. Same for the
activator.
I do see that the eclipse JDK is 1.7, while the Spray seems to be built with
JDK 1.5.
Could that cause a a problem ?
Original comment by joswar...@gmail.com
on 6 Dec 2012 at 6:47
Tried to change all the jdk settings to 1.7, still same problem with the
activator.java
and the non resolvable import.
The exact message is "The import org.eclipselabs.spray.runtime.containers
cannot be resolved", e.g. the package isnt found right ?
What jdk or compliance level is recommended for the Metamodel-Project (ecore)
and Spray-Project ? i thougt we had to set the compliance level in the genmodel
file to 5.0
will try to set jdk settings to 5.0 for metamodel and spray project
Original comment by Nosezeic...@gmail.com
on 6 Dec 2012 at 7:11
I added the generator.common project to the feature, so you do not have to
install that separately. I also remove an unnecessary reference to the
tychohelper, so this project is not needed anymore.
I also commented out the three test projects that were failing, so the latest
build is successful again. The failure of the tests is due to the fact that
they use an outdated syntax for the Spray DSL, they need work to update them.
Original comment by joswar...@gmail.com
on 6 Dec 2012 at 7:19
Setting all the JDK stuff to 1.5 wasnt helpful too. When setting the Runtime
Eclipse JDK to run with jdk 1.5, my diagramm type isnt even selectable and i
get many warnings from osgi plugins not executed with jdk 1.6.
"Missing required capability Require-Capability: osgi.ee;
filter="(&(osgi.ee=JavaSE)(version=1.6))"
So i changed the compliance level of my genmodel to 1.6 (i think this was the
default) and all other jdk settings too.
The SDK Feature is still not installable from the snapshot repository, see
attachment
Original comment by Nosezeic...@gmail.com
on 6 Dec 2012 at 7:48
Attachments:
triggered the assembly build with Jos' changes, so hopefully build 113 should
be installable again
Original comment by de.abg.r...@gmail.com
on 6 Dec 2012 at 9:01
Thx, the update-site works again, without the need to install missing artefacts
by hand.
Original comment by Nosezeic...@gmail.com
on 6 Dec 2012 at 9:31
I think the Priority of this ticket should be higher, because a fundamental
functionality doesnt work in the latest build.
E.g. you cant run your diagram editor in the runtime environment as mentioned
before.
Im not alone with this Problem, see the attached stacktrace of my colleague
(who has exact same Eclipse and JDK configuration like me).
Thank you for your help :)
Original comment by Nosezeic...@gmail.com
on 7 Dec 2012 at 1:33
Attachments:
Did you copy the plugin.xml file from the src-gen folder to the root folder.
If I do not do that I get the same problems, but if I copy this file
everything works fine.
Original comment by joswar...@gmail.com
on 7 Dec 2012 at 1:54
Yes, i get that exceptions even when i copy the plugin.xml from sr-gen to the
root of my spray project. Same thing with my colleagues Spray Project.
Has this something to do with my the non resolvable package that i mentioned
above in comment 4 ?
Original comment by Nosezeic...@gmail.com
on 7 Dec 2012 at 2:23
I just saw in the error log view, that there are non resolved genmodels for
spray internal stuff, i guess.
see attachment.
Original comment by Nosezeic...@gmail.com
on 7 Dec 2012 at 2:40
Attachments:
Is your spray.properties file available and does it have property definitions
for all packages ? I found that the new project wizard does create an empty
spray.properties file and if the generator has already run for another project
the result is that the package names from the other project are used. Which
mixes up path names.
The Activator is then generated using the path name from the other project,
while the manifest expects it in another path.
If theer is no other project the activator is generated in a default location
which is incorrect as well.
Can you check whether the activator class is in the package that the Manifest
expects it?
Original comment by joswar...@gmail.com
on 7 Dec 2012 at 2:52
Eef is only used by the Fowler example project. Joerg, do we deliver example
projects as part of the distribution (I don't know)? It should not have any
implications unless you use the fowler example. Can you check my previous
remark?
Original comment by joswar...@gmail.com
on 7 Dec 2012 at 3:08
This issue was closed by revision 4a24d52abcb1.
Original comment by joswar...@gmail.com
on 7 Dec 2012 at 3:11
I had exactly the same problems (see comment 13) and with the latest fix, the
problems are gone in my Spray runtime. Can you verify when the new build is
ready ?
Original comment by joswar...@gmail.com
on 7 Dec 2012 at 3:15
spray.properties is available but empty. How should its content look like ?
I've got also an ${MyProjectName}.properties.
In the previous version of Spray SDK Feature (Build #97) i had no
spray.properties file.
see attachment for content of my jsfbuilder.properties
Original comment by Nosezeic...@gmail.com
on 7 Dec 2012 at 3:22
Attachments:
I changed the non resolvable import from "import
org.eclipselabs.spray.runtime.containers.OwnerPropertyDeleteFeature;"
to "import
org.eclipselabs.spray.runtime.graphiti.containers.OwnerPropertyDeleteFeature;"
now the import can be resolved.
Is this correct this way ?
Original comment by Nosezeic...@gmail.com
on 7 Dec 2012 at 3:29
The Manifest expects the activator in "Bundle-Activator:
ba.jsfbuilder.Activator" when i understand it right. But my Activator.java is
located in "ba.jsfbuilder/src-gen/spray/Activator.java"
Original comment by Nosezeic...@gmail.com
on 7 Dec 2012 at 3:33
The name of the properties file has changed to spray.properties. the
<projectname>.properties is not used anymore. The wizard should create a
spray.properties file, instead of the <projectname>.properties. This is what I
fixed in my lst commit. The correct properties file is created by the wizard.
The wizard also creates thye first spray model files, and the spray generator
runs on these files during project creation. Thus immediately generating files
in the wrong location.
You should copy the contents from the <project>,properties file to the
spray.properties file and then generate all code again. This might solve the
problems (I did not try this)
Original comment by joswar...@gmail.com
on 7 Dec 2012 at 3:33
This helped :)
"You should copy the contents from the <project>,properties file to the
spray.properties file and then generate all code again. This might solve the
problems (I did not try this)"
Thank you for your fast help. I think i can work with this version of spray now
to develop my spray-project :)
Original comment by Nosezeic...@gmail.com
on 7 Dec 2012 at 3:45
Good! In that case the fix is the right one. Have fun with your Spray
project, and if you have anything to show, I would find it wonderful to get
some pictures of your editor.
Original comment by joswar...@gmail.com
on 7 Dec 2012 at 4:16
Im using Spray for my Bachelor Thesis. when its finished. i'll post screenshots
of it. if its ok with the university i would also share the code.
I think until then we'll see us in the spray user-group.
Original comment by Nosezeic...@gmail.com
on 7 Dec 2012 at 8:05
Original issue reported on code.google.com by
Nosezeic...@gmail.com
on 6 Dec 2012 at 6:16Attachments: