compiling latest Sharefire code

95 views
Skip to first unread message

Stephen Adams

unread,
Sep 7, 2010, 5:30:46 PM9/7/10
to Apprise Reader
Hi,

I'm trying to get the latest Sharefire code to compile. I've checked
everything out via SVN and have one last set of errors.

The problem is in the PreferencesWindow.mxml, the compiler can't find
the OAuthEvent, which looks to be from com.coderanger.OAuthEvent.

I think I have all the linked folders set up correctly, I've linked:

as3corelib/src
as3localelib/src
as3nativealertlib/src
as3notificationlib/src
as3preferenceslib/src
as3syndicationlib/src
wimas3/openauth/src
wimas3/wimas3/src

So I think I have everything checked out correctly. I'm not sure what
the problem is.

Stephen

Dan

unread,
Sep 8, 2010, 12:06:06 PM9/8/10
to apprise...@googlegroups.com
Hey Stephen,

That OAuthEvent actually pertains to another library I added in the
latest version, which allows for OAuth authentication with Twitter
(they turned off basic authentication). You'll need the open-source
OAuth library from CodeRanger, which is currently available here:
http://www.coderanger.com/blog/?p=59

I'll update the site to indicate that there's another dependency.

Thanks,
Dan

> --
> You received this message because you are subscribed to the Google Groups "Apprise Reader" group.
> To post to this group, send email to apprise...@googlegroups.com.
> To unsubscribe from this group, send email to apprise-reade...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/apprise-reader?hl=en.
>
>

Stephen Adams

unread,
Sep 9, 2010, 4:35:23 PM9/9/10
to Apprise Reader
Hi Dan,

thanks, I've got the code from coderanger.com, how are you linking it
into the project. I tried using a source path to add the project, but
that didn't work. Do you add all the other projects via source path
settings?

So I copied the com.coderange folder into the com folder of the
apprise project, not sure if that's the way to do it. When I did that
I was getting errors in the coderanger project, here's the errors I'm
getting:

Severity and Description Path Resource Location Creation Time Id
1046: Type was not found or was not a compile-time constant: HMAC.
apprise-read-only/com/coderanger OAuthManager.as line 266
1284063269522 673
1120: Access of undefined property Base64. apprise-read-only/com/
coderanger OAuthManager.as line 270 1284063269532 679
1120: Access of undefined property Crypto. apprise-read-only/com/
coderanger OAuthManager.as line 266 1284063269525 674
1120: Access of undefined property Hex. apprise-read-only/com/
coderanger OAuthManager.as line 267 1284063269527 675
1120: Access of undefined property Hex. apprise-read-only/com/
coderanger OAuthManager.as line 267 1284063269528 676
1120: Access of undefined property Hex. apprise-read-only/com/
coderanger OAuthManager.as line 268 1284063269529 677
1120: Access of undefined property Hex. apprise-read-only/com/
coderanger OAuthManager.as line 268 1284063269530 678
1120: Access of undefined property SpellUI. apprise-read-only/com/
adobe/apprise/views SendAIMWindow.mxml line 77 1284063267510 671
1120: Access of undefined property SpellUI. apprise-read-only/com/
adobe/apprise/views SendTwitterWindow.mxml line 71 1284063267942 672
1172: Definition com.hurlant.crypto:Crypto could not be found. apprise-
read-only/com/coderanger OAuthManager.as line 38 1284063269537 680
1172: Definition com.hurlant.crypto.hash:HMAC could not be found.
apprise-read-only/com/coderanger OAuthManager.as line 39 1284063269538
681
1172: Definition com.hurlant.util:Base64 could not be found. apprise-
read-only/com/coderanger OAuthManager.as line 40 1284063269539 682
1172: Definition com.hurlant.util:Hex could not be found. apprise-read-
only/com/coderanger OAuthManager.as line 41 1284063269540 683
Source path entry, 'C:\Projects\FlexProjects\Workspace\wimas3-read-only
\wimas3', is a subdirectory of source path entry, 'C:\Projects
\FlexProjects\Workspace\wimas3-read-only\wimas3\src'. apprise-read-
only Unknown 1284063258236 670I

It looks as though the coderanger project can't find/access the
as3corelib project?

I think if I solve these last problems I'll be up and running.

Cheers,

Stephen

On Sep 8, 5:06 pm, Dan <100dash...@gmail.com> wrote:
> Hey Stephen,
>
> That OAuthEvent actually pertains to another library I added in the
> latest version, which allows for OAuth authentication with Twitter
> (they turned off basic authentication). You'll need the open-source
> OAuth library from CodeRanger, which is currently available here:http://www.coderanger.com/blog/?p=59
>
> I'll update the site to indicate that there's another dependency.
>
> Thanks,
> Dan
>

Dan

unread,
Sep 9, 2010, 4:39:41 PM9/9/10
to apprise...@googlegroups.com
I think that the coderanger code itself may have a dependency. I don't
have my ShareFire project up, so I can't check, but try getting
as3crypto as well, and seeing if that resolves the HMAC dependency:
http://code.google.com/p/as3crypto/

Thanks,
Dan

Stephen Adams

unread,
Sep 28, 2010, 3:14:31 PM9/28/10
to Apprise Reader
Hi,

I've added the as3crypto swc and this has solved most of the problems,
the only error I'm getting now is not being able to find SpellUI in
both SendTwitterWindow.mxml and SendAIMWindow.mxml. Its from
com.adobe.linguistics.spelling.SpellUI.
So I download the Squiggly library, added the AdobeSpellingUI.swc,
every thing worked fine, no errors.

Then I tried to run the app from Flex Builder running using debug,
then I get error "invalid application descriptor: descriptor version
does not match runtime version".

I'm running again the 3.2.0 sdk, has this changed to 3.5?

Stephen
Reply all
Reply to author
Forward
0 new messages