Re: [Neo4j] persist() undefined

2011-11-11 Thread Michael Hunger
Perhaps we can have a screen sharing session on that? Please ping me via email.

Can you give STS 2.7 a try and see if it works there?

Am 11.11.2011 um 20:44 schrieb Gr3y:

> The hello world aspects project works.
> There are aspects markers all over the place.
> 
> I wonder why I'm not getting them.
> 
> I tried various thing.
> Added a dependency to spring-data-neo4j-aspects - didnt help.
> "Added Spring nature" to the project - didnt help.
> "Aspect Capability" is already on, but I tried toggling it.
> 
> :/
> 
> --
> View this message in context: 
> http://neo4j-community-discussions.438527.n3.nabble.com/persist-undefined-tp3497682p3500784.html
> Sent from the Neo4j Community Discussions mailing list archive at Nabble.com.
> ___
> Neo4j mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user

___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] persist() undefined

2011-11-11 Thread Gr3y
The hello world aspects project works.
There are aspects markers all over the place.

I wonder why I'm not getting them.

I tried various thing.
Added a dependency to spring-data-neo4j-aspects - didnt help.
"Added Spring nature" to the project - didnt help.
"Aspect Capability" is already on, but I tried toggling it.

:/

--
View this message in context: 
http://neo4j-community-discussions.438527.n3.nabble.com/persist-undefined-tp3497682p3500784.html
Sent from the Neo4j Community Discussions mailing list archive at Nabble.com.
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] persist() undefined

2011-11-11 Thread Gr3y
Third times the charm.

http://neo4j-community-discussions.438527.n3.nabble.com/file/n3499605/pom2.xml
pom2.xml 
Master file. Renamed pom2.xml.

--
View this message in context: 
http://neo4j-community-discussions.438527.n3.nabble.com/persist-undefined-tp3497682p3499605.html
Sent from the Neo4j Community Discussions mailing list archive at Nabble.com.
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] persist() undefined

2011-11-11 Thread Gr3y
http://neo4j-community-discussions.438527.n3.nabble.com/file/n3499596/pom.xml
pom.xml 

Here is the master file.
I reuploaded it.

--
View this message in context: 
http://neo4j-community-discussions.438527.n3.nabble.com/persist-undefined-tp3497682p3499596.html
Sent from the Neo4j Community Discussions mailing list archive at Nabble.com.
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] persist() undefined

2011-11-11 Thread Gr3y
Master file
http://neo4j-community-discussions.438527.n3.nabble.com/file/n3499579/pom.xml
pom.xml 

--
View this message in context: 
http://neo4j-community-discussions.438527.n3.nabble.com/persist-undefined-tp3497682p3499579.html
Sent from the Neo4j Community Discussions mailing list archive at Nabble.com.
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] persist() undefined

2011-11-11 Thread Gr3y
http://neo4j-community-discussions.438527.n3.nabble.com/file/n3499577/pom.xml
pom.xml (master) 
http://neo4j-community-discussions.438527.n3.nabble.com/file/n3499577/pom.xml
pom.xml 

Here are the pom files to begin with. Our project is layered, so I included
the master pom file.

--
View this message in context: 
http://neo4j-community-discussions.438527.n3.nabble.com/persist-undefined-tp3497682p3499577.html
Sent from the Neo4j Community Discussions mailing list archive at Nabble.com.
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] persist() undefined

2011-11-11 Thread Michael Hunger
That should be enough.

Can you share your maven config?

Did you build your project upon on of the example projects (like 
helloworld-aspects or cineasts-aspects) ?

If not, try to import on those into STS and see if the same issues  arise.

Michael

Am 11.11.2011 um 13:14 schrieb Gr3y:

> Hey 
> 
> You are helping me out, no need to be sorry about anything. :) 
> 
> I imported the project via Import>Maven project 
> 
> 1) This should be on. There is a little AJ in the project icon (slightly
> concealed behind the M icon though). 
> 2) Both spring-aspects and spring-data-neo4j-aspects are listed. 
> 3) I often clean, and it unfortunately didn't help. :\ 
> 
> I tried the SNAPSHOT, and it didnt work either. 
> 
> Does the aspects need xml configuration or something, cause I have none of
> that. 
> My entities look like this: 
> ... 
> @NodeEntity 
> public class Visitor implements IVisitor { 
> ... 
> 
> This should be enough to make SDN magic work? 
> 
> Thanks for helping Michael!
> 
> --
> View this message in context: 
> http://neo4j-community-discussions.438527.n3.nabble.com/persist-undefined-tp3497682p3499530.html
> Sent from the Neo4j Community Discussions mailing list archive at Nabble.com.
> ___
> Neo4j mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user

___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] persist() undefined

2011-11-11 Thread Gr3y
Hey 

You are helping me out, no need to be sorry about anything. :) 

I imported the project via Import>Maven project 

1) This should be on. There is a little AJ in the project icon (slightly
concealed behind the M icon though). 
2) Both spring-aspects and spring-data-neo4j-aspects are listed. 
3) I often clean, and it unfortunately didn't help. :\ 

I tried the SNAPSHOT, and it didnt work either. 

Does the aspects need xml configuration or something, cause I have none of
that. 
My entities look like this: 
... 
@NodeEntity 
public class Visitor implements IVisitor { 
... 

This should be enough to make SDN magic work? 

Thanks for helping Michael!

--
View this message in context: 
http://neo4j-community-discussions.438527.n3.nabble.com/persist-undefined-tp3497682p3499530.html
Sent from the Neo4j Community Discussions mailing list archive at Nabble.com.
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] persist() undefined

2011-11-11 Thread Gr3y
Hey 

You are helping me out, no need to be sorry about anything. :) 

I imported the project via Import>Maven project 

1) This should be on. There is a little AJ in the project icon (slightly
concealed behind the M icon though). 
2) Both spring-aspects and spring-data-neo4j-aspects are listed. 
3) I often clean, and it unfortunately didn't help. :\ 

I tried the SNAPSHOT, and it didnt work either. 

Does the aspects need xml configuration or something, cause I have none of
that. 
My entities look like this: 
... 
@NodeEntity 
public class Visitor implements IVisitor { 
... 

This should be enough to make SDN magic work? 

Thanks for helping Michael!

--
View this message in context: 
http://neo4j-community-discussions.438527.n3.nabble.com/persist-undefined-tp3497682p3499529.html
Sent from the Neo4j Community Discussions mailing list archive at Nabble.com.
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] persist() undefined

2011-11-11 Thread Michael Hunger
Hi,

How did you import the project? (STS 2.8 has imho some issues with the m2e 
plugin)

You might try to use the 2.0.0-SNAPSHOT of SDN, we are aiming to release the 
RC1 later today.

1) make sure that the project has the Aspectj nature switched on, it should 
show in the context-menu of the project and also a little AJ on the project icon
2) please have a look in your Project-Property AspectJ -> Aspect-Path if both 
(spring-aspects and spring-data-neo4j-aspects) are listed there.
3) issue a clean of the project

Please report back if those things didn't help

Sorry for the inconvenience

Michael

Am 10.11.2011 um 20:13 schrieb Gr3y:

> Hello
> 
> I'm having trouble getting STS to acknowledge that the method persist() on
> an nodeentity is valid.
> I'm using STS 2.8 which to my knowledge has the newest AJDT plugin.
> 
> I don't know much about Neo4j yet, and I'm also a beginner with Spring, so
> maybe I forgot something.
> 
> My project is controlled by maven, and is setup like so:
> 
> Dependency:
> 
>   org.springframework.data
>   spring-data-neo4j
>   2.0.0.M1
> 
> 
> Plugin:
> 
>   org.codehaus.mojo
>   aspectj-maven-plugin
>   1.4
>   
>   true
>   
>   
>   org.springframework
>   spring-aspects
>   
>   
>   org.springframework.data
>   spring-data-neo4j
>   
>   
>   1.6
>   1.6
>   
>   
>   
>   
>   compile
>   test-compile
>   
>   
>   
>   
>   
>   org.aspectj
>   aspectjrt
>   1.6.12.M1
>   
>   
>   org.aspectj
>   aspectjtools
>   1.6.12.M1
>   
>   
> 
> 
> My entities are of course flagged with @NodeEntity
> 
> Can anyone help me out?
> 
> --
> View this message in context: 
> http://neo4j-community-discussions.438527.n3.nabble.com/persist-undefined-tp3497682p3497682.html
> Sent from the Neo4j Community Discussions mailing list archive at Nabble.com.
> ___
> Neo4j mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user

___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user