How to import the apprise source to flex builder

38 views
Skip to first unread message

Gowri Sankar

unread,
Sep 14, 2009, 5:13:28 AM9/14/09
to Apprise Reader
Hi,
I downloaded the source of the apprise from the google code project.
Now i want to see how the code runs and am looking for modifying the
code. When i import the source to flex builder, it says " Not a valid
archived project. If the zip was not created via Export Flex Project,
use Import > General > Existing Projects into Workspace.". I even
tryed that. But still i could not import the project to flex builder.
Is there any other way to import the project, Please help me in doing
so!!!!
Thanks in Advance...

Dan

unread,
Sep 14, 2009, 12:21:38 PM9/14/09
to Apprise Reader
Hi Gowri,

I'm not sure why "Import -> General -> Existing Projects into
Workspace" didn't work, but you'll want the latest code from the SVN
repository, as that zip file is out of date.
You can follow the instructions here: http://code.google.com/p/apprise/source/checkout
You'll also need some libraries. They're listed in the links section
on the project homepage, and you should include them in the source
path of your Flex Builder project: http://code.google.com/p/apprise/
A few others have gone through the process of getting ShareFire to
compile in Flex Builder. These threads should help you get started:
http://groups.google.com/group/apprise-reader/topics?start=10&sa=N
http://groups.google.com/group/apprise-reader/browse_thread/thread/7ecec19d9373c32e
http://groups.google.com/group/apprise-reader/browse_thread/thread/6b543c8dd8d50f4f

-Dan

Gowri Sankar

unread,
Sep 15, 2009, 2:53:09 AM9/15/09
to apprise...@googlegroups.com
Hi Dan,
          Thanks for ur reply first..
          i got the apprise source inside flex builder by file->new project and giving Apprise as the project name. So the project is bulilded with the source i downloaded. But when i debug the project(F11). I get a launch error as follows.

Process terminated without establishing connection to debugger.

Command:

E:\Programfiles\FlexBuilder3\sdks\3.0.0\bin\adl.exe E:\gowri\apprise_source_1-0\bin-debug\Apprise-app.xml E:\gowri\apprise_source_1-0\bin-debug 

Output from command:

invalid application descriptor: descriptor version does not match runtime version

Thanks and Regards
Gowri Sankar T

Gowri Sankar

unread,
Sep 15, 2009, 7:49:09 AM9/15/09
to Apprise Reader
Hi Dan,
I got the source inside Flex IDE, I have uploaded a image named
Apprise.jpg. That shows my project folder structure. While running the
project i am getting the following errors.

Severity and Description Path Resource Location Creation Time Id
1046: Type was not found or was not a compile-time constant: IItem.
Apprise/src/com/adobe/apprise/database Database.as line 592
1253014719035 1173
1046: Type was not found or was not a compile-time constant: IItem.
Apprise/src/com/adobe/apprise/database Database.as line 626
1253014719035 1174
1046: Type was not found or was not a compile-time constant: IMEvent.
Apprise/src/com/adobe/apprise/commands AIMInitCommand.as line 132
1253014718519 1169
1046: Type was not found or was not a compile-time constant:
SessionEvent. Apprise/src/com/adobe/apprise/commands AIMInitCommand.as
line 196 1253014718519 1170
1046: Type was not found or was not a compile-time constant:
UserEvent. Apprise/src/com/adobe/apprise/commands AIMInitCommand.as
line 97 1253014718519 1166
1120: Access of undefined property FeedFactory. Apprise/src/com/adobe/
apprise/aggregator Aggregator.as line 75 1253014719472 1176
1172: Definition com.adobe.xml.syndication.generic could not be found.
Apprise/src/com/adobe/apprise/aggregator Aggregator.as line 38
1253014719472 1177

Can please help me in fixing this bugs..
Thank u....

Dan

unread,
Sep 15, 2009, 1:08:17 PM9/15/09
to Apprise Reader
I can't see the file Apprise.jpg on these groups, but those aren't
actually bugs, just missing libraries. You'll need these libraries in
your project's source path:
* as3corelib
* as3localelib
* as3nativealertlib
* as3syndicationlib
* as3preferenceslib
* wimas3
* as3notificationlib
To add a source path: right click the project; go to properties; go to
Flex Build Path; click Source Path; click Add Folder; navigate to
as3corelib/src; click OK; repeat for all the libs.
There are other configuration steps that are necessary, and you should
be able to find the answers in these threads:

Gowri Sankar

unread,
Sep 16, 2009, 1:34:07 AM9/16/09
to Apprise Reader
Hi Dan,
I have downloaded and linked all the supporting file to the source
page of the project. Here is the scree shot of the project's
explorer.

http://apprise-reader.googlegroups.com/web/apprise%20folder%20structure.JPG?gsc=1lCu-AsAAAALLqRuWo9g9aesRrvASBBu

I also linked the src folder of wiams3[asdoc-r1298/asdoc-output/]

Still i get 10 errors, here are those errors

Severity and Description Path Resource Location Creation Time Id
1046: Type was not found or was not a compile-time constant:
UserEvent. Apprise/src/com/adobe/apprise/commands AIMInitCommand.as
line 97 1253078556093 1426
1046: Type was not found or was not a compile-time constant:
SessionEvent. Apprise/src/com/adobe/apprise/commands AIMInitCommand.as
line 196 1253078556093 1430
1046: Type was not found or was not a compile-time constant: Session.
Apprise/src/com/adobe/apprise/model ModelLocator.as line 78
1253078556765 1433
1046: Type was not found or was not a compile-time constant: Session.
Apprise/src/com/adobe/apprise/model ModelLocator.as line 78
1253078556765 1434
1046: Type was not found or was not a compile-time constant: IMEvent.
Apprise/src/com/adobe/apprise/commands AIMInitCommand.as line 132
1253078556093 1429
1046: Type was not found or was not a compile-time constant:
BuddyListEvent. Apprise/src/com/adobe/apprise/commands
AIMInitCommand.as line 79 1253078556093 1425
1046: Type was not found or was not a compile-time constant:
AuthEvent. Apprise/src/com/adobe/apprise/commands AIMInitCommand.as
line 117 1253078556093 1427
1046: Type was not found or was not a compile-time constant:
AuthChallengeEvent. Apprise/src/com/adobe/apprise/commands
AIMInitCommand.as line 123 1253078556093 1428
1046: Type was not found or was not a compile-time constant:
ApplicationUpdaterUI. Apprise/src/com/adobe/apprise/model
ModelLocator.as line 76 1253078556765 1431
1046: Type was not found or was not a compile-time constant:
ApplicationUpdaterUI. Apprise/src/com/adobe/apprise/model
ModelLocator.as line 76 1253078556765 1432

Dan

unread,
Sep 16, 2009, 12:39:49 PM9/16/09
to Apprise Reader
Ah, in addition to wimas3/wimas3/src, you also have to add wimas3/
common/src and wimas3/openauth/src to the project's source path.
I just came across this blog post which gives some advice on compiling
ShareFire, though I still recommend getting the code from SVN and not
the zip. The code is much newer.

-Dan

On Sep 16, 1:34 am, Gowri Sankar <goy...@gmail.com> wrote:
> Hi Dan,
> I have downloaded and linked all the supporting file to the source
> page of the project. Here is the scree shot of the project's
> explorer.
>
> http://apprise-reader.googlegroups.com/web/apprise%20folder%20structu...

Dan

unread,
Sep 16, 2009, 12:40:52 PM9/16/09
to Apprise Reader

Gowri Sankar

unread,
Sep 17, 2009, 2:15:10 AM9/17/09
to apprise...@googlegroups.com
How was the post Dan, thats my blog, I posted it after compiling the source.

Thanks and Regards
Gowri Sankar T



2009/9/16 Dan <100da...@gmail.com>
Reply all
Reply to author
Forward
0 new messages