Error building

3 views
Skip to first unread message

gal

unread,
Jan 22, 2009, 10:47:25 AM1/22/09
to Party Time Project
Hi

The work looked so impressive that I decided to give it a try. I ended
up with this error:
[groovyc] Compiling 140 source files to /Users/alleon/.grails/1.0.4/
projects/time2party/classes
[javac] Compiling 142 source files to /Users/alleon/.grails/1.0.4/
projects/time2party/classes
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Compilation error:
org.codehaus.groovy.control.MultipleCompilationErrorsException:
startup failed, /Users/alleon/Documents/time2party/plugins/party-
time-0.1/grails-app/domain/com/favoritemedium/partytime/domain/
Profile.groovy: 91: The name PostItem doesn't refer to a declared
variable or class. The static scope requires that you declare
variables before using them. If the variable should have been a class
check the spelling.
@ line 91, column 64.
ProfileAttribute, postedItems:PostItem]


I was not able to find any PostItem ;)

I am using revision 341 ... should I go back ?

Best Regards
Guillaume

Seymores

unread,
Jan 22, 2009, 9:23:01 PM1/22/09
to Party Time Project
Hi gal,

Thanks for the error report. I'm sorry its my fault -- my last commit
was incomplete. Please do a svn update again.

:-)

Seymores

unread,
Jan 22, 2009, 9:39:32 PM1/22/09
to Party Time Project
Ops, "gal" ??? Hi Guillaume, nice to have you here.

Party Time is still in active development and lots of things are still
flux -- but I'm sure you know how these things works.

Cheers.
:-)

tog

unread,
Jan 22, 2009, 11:20:09 PM1/22/09
to party-tim...@googlegroups.com
Hi Seymores

Thanks for the quick feedback, it's getting better ;)
I still have a problem in the Profile ... but this one I can fix by myself probably :)

Best Regards
Guillaume
--
PGP KeyID:C1A0A73F  FingerPrint:A4A2 73C0 E7D4 6437 8185  D05E ECF2 AD84 C1A0 A73F
http://cheztog.blogspot.com

tog

unread,
Jan 28, 2009, 5:53:04 AM1/28/09
to party-tim...@googlegroups.com
Dear all,

Please find attached a diff that fix a problem I encountered when the dob has not been set (i.e if you want to your profile right after you created your account)

Index: plugins/party-time-0.1/grails-app/taglib/ProfileTagLib.groovy
===================================================================
--- plugins/party-time-0.1/grails-app/taglib/ProfileTagLib.groovy       (revision 343)
+++ plugins/party-time-0.1/grails-app/taglib/ProfileTagLib.groovy       (working copy)
@@ -132,7 +132,8 @@
 
         if ( attrs?.type == "date" ) {
             Date date = user.profile.getAttributeAsDate(name)
-            out <<  new java.text.SimpleDateFormat("dd MMMM yyyy").format(date)
+            def output = date?new java.text.SimpleDateFormat("dd MMMM yyyy").format(date):"not available"
+            out << output
         } else {
             String output = user.profile.getAttribute(name)
             out << output


Cheers
Guillaume

Seymores

unread,
Feb 12, 2009, 3:32:19 AM2/12/09
to Party Time Project
Thanks for the patch!

tog

unread,
Feb 12, 2009, 4:08:19 AM2/12/09
to party-tim...@googlegroups.com
lol this one is old :) you should definitely read more the list :D

What is the next on the TODO list for the plugin, I may consider
helping a bit ;)

Cheers
--

PGP KeyID: 1024D/47172155
FingerPrint: C739 8B3C 5ABF 127F CCFA 5835 F673 370B 4717 2155

http://cheztog.blogspot.com

Seymores

unread,
Feb 12, 2009, 11:23:43 PM2/12/09
to Party Time Project
Look at the Contribute here, http://code.google.com/p/party-time/wiki/Contribution.
Right now we are hard at work to kink out the CSS bugs.

:-)

tog

unread,
Feb 12, 2009, 11:44:29 PM2/12/09
to party-tim...@googlegroups.com
Dear all
Well if nobody is looking at it I may consider working on the REST api
(issue 26), I might first look at how thic could interfere with
OpenSocial.
Then several things are of interest to me:
- FB, Google login (and possibly import people)
- IM/Jabber integration
- Gadget integration

A bit OT what would be the best way to attach a WishList to the user ?
Is this the kind of attribute I can have as a domain class and
attached as an attribute to the Profile ?

Cheers
Guillaume

Sooyoung Park

unread,
Feb 13, 2009, 4:02:19 AM2/13/09
to party-tim...@googlegroups.com
Hi Guillaume,

If you've got time that would be great. The REST API is pretty high up on the list in terms of priority since that provides the gateway for more interesting integration scenarios. Ditto for OpenSocial. We took a cursory look into OpenSocial integration and even did a proof of concept with SocialSite (Sun's OpenSocial implementation) but it still needs work. Let us know if you want to see some of that source code - it's not in SVN right now.

XMPP/Jabber is also half done so I wouldn't start on that unless you really like messing with JavaScript :-)

If you're in Singapore we should all meet up some time to...party.

Sooyoung


--
Sooyoung Park
Favorite Medium
mobile: +1.415.358.1818

tog

unread,
Feb 13, 2009, 4:25:04 AM2/13/09
to party-tim...@googlegroups.com
Hi Sooyoung

So let's start with the REST api, and yes please show me the code has
been done so far. I have some (but limited) experience with Shindig.

If Jabber is half done, I won't touch it :) but I am interested to
know if you are using something like JsJac

As far as meeting is Singapore is concerned - that is definitely
possible but will be away for ten days end of next week. Depending on
your location that can be next week or when I am back

Cheers
Guillaume

Sooyoung Park

unread,
Feb 13, 2009, 4:33:44 AM2/13/09
to party-tim...@googlegroups.com
Awesome. I'm abroad for 4 weeks so let's try to do something in March. I've met another Grails developer here who I'll invite as well.

Sooyoung

Seymour Cakes

unread,
Feb 14, 2009, 10:19:26 PM2/14/09
to party-tim...@googlegroups.com
Hi Guillaume,

Find attached the Grails project we did last time for integration with SocialSite. I was cleaning it up to send to you but it seems that SocialSite is still broken after the last time we did the prototype, so technically the same code but not working with the trunk of SocialSite now.

SocialSite default base app itself is not working on my pc as well.

No, we are not using JsJac, we did evaluate that last time. What we have is a homecook solution for prototyping purposes. :-)

Hope too you soon. :-D

Cheers.


On Fri, Feb 13, 2009 at 5:25 PM, tog <guillaum...@gmail.com> wrote:
gsocial-0.1.zip
Reply all
Reply to author
Forward
0 new messages