SlingshotUserFactory.java changed?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2010 03:09 PM
I have downloaded the latest head version and was implementing my customizations that were done in prior versions. All went well until I tried to compile. It contained messages like:
….site\SlingshotUserFactory.java:114: cannot find symbol
[javac] symbol : variable CM_DIVISION
[javac] location: class org.alfresco.web.site.SlingshotUserFactory
[javac] writer.writeValue(CM_DIVISION, user.getDivision());
This worked fine before however now errors compiling. Changes I made to this file were just:
writer.writeValue(CM_DIVISION, user.getDivision());
If I search the working set for JobTitle which is also in the same file I get the same number of results returned. The only think I notice is that the includes now are totally different on this class and it's surf based now. Otherwise looks very similar but not acting the same.
Thanks.
jR
….site\SlingshotUserFactory.java:114: cannot find symbol
[javac] symbol : variable CM_DIVISION
[javac] location: class org.alfresco.web.site.SlingshotUserFactory
[javac] writer.writeValue(CM_DIVISION, user.getDivision());
This worked fine before however now errors compiling. Changes I made to this file were just:
writer.writeValue(CM_DIVISION, user.getDivision());
If I search the working set for JobTitle which is also in the same file I get the same number of results returned. The only think I notice is that the includes now are totally different on this class and it's surf based now. Otherwise looks very similar but not acting the same.
Thanks.
jR
Labels:
- Labels:
-
Archive
13 REPLIES 13
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2010 03:24 PM
Tried using my new theory but same deal.
[javac] symbol : variable CM_DIVISION
[javac] location: class org.alfresco.web.site.SlingshotUserFactory
[javac] writer.writeValue(CM_DIVISION, user.getDivision());
[javac] ^
[javac] C:\Users\yarbrsr\workspace\Alfresco3.2r2\projects\slingshot\source\java\org\alfresco\web\site\SlingshotUserFactory.java:117: cannot find symbol
[javac] symbol : method getDivision()
[javac] location: class org.springframework.extensions.surf.site.AlfrescoUser
[javac] writer.writeValue(CM_DIVISION, user.getDivision());
There is a reference to
writer.writeValue(CM_INSTANTMSG, user.getInstantMsg());
and anywhere that InstantMsg or instantmsg is referenced in the source code I have injected similar code for Division or division but it still complains it can't be found. What am I missing here?
Thanks.
JR
[javac] symbol : variable CM_DIVISION
[javac] location: class org.alfresco.web.site.SlingshotUserFactory
[javac] writer.writeValue(CM_DIVISION, user.getDivision());
[javac] ^
[javac] C:\Users\yarbrsr\workspace\Alfresco3.2r2\projects\slingshot\source\java\org\alfresco\web\site\SlingshotUserFactory.java:117: cannot find symbol
[javac] symbol : method getDivision()
[javac] location: class org.springframework.extensions.surf.site.AlfrescoUser
[javac] writer.writeValue(CM_DIVISION, user.getDivision());
There is a reference to
writer.writeValue(CM_INSTANTMSG, user.getInstantMsg());
and anywhere that InstantMsg or instantmsg is referenced in the source code I have injected similar code for Division or division but it still complains it can't be found. What am I missing here?
Thanks.
JR
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2010 02:14 PM
Buller… Buller… Buller…?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2010 05:16 PM
It's "Bueller" :wink:
Sorry, I'm not currently up-to-speed with the Spring 3/SURF changes on HEAD and exactly what that implies for customizations yet. I suspect there might be some new override mechanisms you have to put in place for the code that's moved to the Spring 3 jars, but that's a complete guess at the moment.
Mike
Sorry, I'm not currently up-to-speed with the Spring 3/SURF changes on HEAD and exactly what that implies for customizations yet. I suspect there might be some new override mechanisms you have to put in place for the code that's moved to the Spring 3 jars, but that's a complete guess at the moment.
Mike
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2010 11:15 AM
I did figure it out, the challenge is the java files were stored in JAR files which eclipse wasn't searching. Wasn't there in the prior head versions I retrieved. Now I need to figure out how to recompile java files in the jar and save all the class files in a new JAR file which looks like what is being done in the code today. The ANT script doesn't seem to facilitate this.
Thanks.
JR
Thanks.
JR
