It's possible to build SparkWeb without all of the tools we suggest (for example, by running the mxmlc compiler directly), but we haven't tried, so for the time being the requirements are as follows:
Flex Builder 3
Flash Player 9 (debug version, if you want debugging support)
To get and build the code, follow these steps
Install svn
Run svn checkout http://svn.igniterealtime.org/svn/repos/sparkweb/trunk SparkWeb
Open Flex Builder
Switch the workspace in Flex Builder (in the File menu on Macs) to the location you checked SparkWeb out to
Right click in the sidebar of Flex Builder and choose "import..."
Choose "Existing Projects into Workspace"
Locate the xiff directory in your sparkweb checkout, and select it
Repeat the previous three steps for SparkWeb, SparkWebCommonComponents, and SparkWebCore
You should be able to build and run SparkWeb now.
Sweet, this is great, I have been waiting for a long time!
Except... when I try to build I keep getting 3 errors. "unable to open '/XIFF/bin/XIFF.swc'". I have no clue what is going on, it looks like the file is corrupted or didn't build right.
Thanks for all your work on this!
Well, you actually don't want your workspace directory set to the directory where you checked out SparkWeb, but one level higher. I hope you know what I mean – I ran into the same problem.
You also don't have to add xiff & co. directories one by one, just add the directory one level higher, all 4 projects will be added automatically.
Got it now, needed to go one more level higher than I thought, thanks!
I am having this same issue as well, however it works when in the bin-debug folder... I'm going to try it on windows and see what happens.
I am seeing couple of errors
Error1: This file is not present in the bin folder
unable to open '....\SparkWeb\SparkWebCommonComponents\bin\SparkWebCommonComponents.swc' SparkWeb Unknown 1208971543186 161
Error 2:
unable to resolve '/assets/images/temp_reload_server_black.png' for transcoding SparkWebCommonComponents/com/jivesoftw are/spark MUCRoomList.mxml & nbsp;line 122 1208971542986 147
unable to resolve '/assets/images/temp_reload_server.png' for transcoding SparkWebCommonComponents/com/jivesoftw are/spark MUCListAccordionHeader.mxml &n bsp; line 73 1208971542925 119
I guess it might be some configuration or settings change. It will be great if you can point me in the right direction...
Error 2 got resolved by copying SparkWeb/assets/images folder into SparkWeb\SparkWebCommonComponents\assets
This resolved the first issue as well.. now all I see are the warnings ![]()
That shouldn't be necessary... SparkWeb/SparkWebCommonComponents/assets/images should be a symlink to SparkWeb/assets/images
On my windows machine "images" under SparkWebCommonComponents/assets appeared to be unrecognized file type!
Sigh... $#(*^& Windows not supporting symlinks. Looks like I'll need to find another way.
yeah..I'll also try to figure out if there is any other workaround
Once this is compiled i am able to login to an Openfire server and works just fine. Next would be to put in the root folder of IIS and access it over the net.
Do you know if this will work on UNIX? I realized that porting the SparkWeb (with SparkWeb.html) does not work..Is there any way it can be accomplished?
It should work fine on any *nix that supports Flash (OSX, Linux, BSD?, others?).
It works fine on apache/RH Linux.
One other question was..is create new account functionality disabled? I was not able to create new users from spark web.
It shouldn't be... but I wouldn't be hugely surprised to find out that it got broken at some point.
Hi David,
I had built the sparkweb and it works gr8, except the exit sparkweb/logout is not happening whenever i click the exit/logout button.
Thanks in Advance
Dhilip
I've never gotten Sparkweb to work. Currently using 3.5.1, Enterprise and Fastpath are installed (using the temp key found here), Webchat works, Sparkweb does not. Any attempt to login tells me that I'm not authorized and I can not make a new account. I've tried this on two different servers, one Linux, one Windows. Am I missing some config setting that needs to modified before it can be used?
I'm getting runtime error. What could be wrong? Thanks.
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at mx.managers::PopUpManagerImpl/addPopUp()[E:\dev\3.0.x\frameworks\projects\frame work\src\mx\managers\PopUpManagerImpl.as:231]
at mx.managers::PopUpManager$/addPopUp()[E:\dev\3.0.x\frameworks\projects\framewor k\src\mx\managers\PopUpManager.as:169]
at mx.controls::Alert$/show()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\co ntrols\Alert.as:507]
at org.hasseg.externalMouseWheel::ExternalMouseWheelSupport/initialize()[C:\Docume nts and Settings\user_xxx\My Documents\Flex Builder 3\SparkWeb\src\org\hasseg\externalMouseWheel\ExternalMouseWheelSupport.as:81]
at org.hasseg.externalMouseWheel::ExternalMouseWheelSupport()[C:\Documents and Settings\user_xxx\My Documents\Flex Builder 3\SparkWeb\src\org\hasseg\externalMouseWheel\ExternalMouseWheelSupport.as:60]
at org.hasseg.externalMouseWheel::ExternalMouseWheelSupport$/get instance()[C:\Documents and Settings\user_xxx\My Documents\Flex Builder 3\SparkWeb\src\org\hasseg\externalMouseWheel\ExternalMouseWheelSupport.as:68]
at SparkWeb$cinit()
at global$init()[C:\Documents and Settings\user_xxx\My Documents\Flex Builder 3\SparkWeb\src\SparkWeb.mxml:26]
at _SparkWebWatcherSetupUtil$/init()
at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::docFrameHandler()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\managers\SystemManager.as:2 324]
This sort of question is really more suited to the SparkWeb Support forum. I wouldn't expect to see any problems like that though...
Sounds like ExternalMouseWheelSupport is failing somehow. How are you running/deploying SparkWeb? (also, in the future, please start a new discussion topic
this is really just about getting & building the source)
I followed your instruction above to check out from svn. Initially I had error complaining about the images, so I copied all the images to SparkWebCommonComponents/assets/images. After all the compile errors have gone, I right clicked on SparkWeb.mxml and selected 'Run Application' from Flex Builder 3.
hi,
I had the same problem as hhh, the trick is that you must run the SWF using http:// rather than calling it from "d:\www\Sparkeweb.swf" for example.
Try it, it should work! It did for me and that mousewheel error is gone.
I'll create a new discussion for some other issues I am having, I need some help for it ![]()
I am getting two errors as well...
(1) "unable to open ... SparkWebCommonComponents.swc'"
and
(2) Could not find source for class com.jivesoftware.spark.WindowShadeEvent. &nb sp; SparkWebCommonComponents
I have copied the images directory back and forth, aslo downloaded the SVN on other computer's to try and find missing file it is missing there too.
1 is because of 2. Make sure you're completely up to date, and if it's still broken, wait for my commit tomorrow; tons of changes ready to review at the moment.
Is there going to be a binary release any time soon after these changes? I'm eager to use SparkWeb, but don't have the tools (or will) to go through the building myself.
I'm with remko, I don't have the tools or time to build this either. Any info on when a binary will be ready would be great.
i met the same problem with jape.
could not find source for class com.jivesoftware.spark.WindowShadeEvent.
it seems u lost some as class file in directory
There is already a pre-built version available... http://www.igniterealtime.org/community/docs/DOC-1515
I'm a beginner,I'm very glad to see the discussion is really just about getting & building the source.
I have two errors
1st:could not find soure for class com.jivesoftware.spark.ui.Message
2nd:unable to open ' ..\..\SparkWeb\SparkWebCommonComponents\bin\SparkWebCommonComponents.swc'
and what can i do?
OS: WinXP
Latest trunk.
Got errors:
"unable to open '\XIFF\bin\XIFF.swc'"
When trying to run SparkWeb:
"File not found: file:/D:/Team/SparkWeb/SparkWeb/bin-debug/SparkWeb.html"
How to fix? Tnx.
Vlad.
I've updated my local archive (today) and now when I follow the steps described above, I get this :
Severity and Description Path Reso urce Location Creation Time Id
unable to open 'D:\DEV\openfire3\sparkweb\SparkWebCommonComponents\bin\SparkWebCommonComponent s.swc' SparkWeb Unknown 1211976065734 415
unable to resolve '/assets/images/add_server.png' for transcoding SparkWebCommonComponents/com/jivesoftw are/spark ContactListContainer.mxml &nbs p; line 137 1211976065250 379
unable to resolve '/assets/images/addBuddy.png' for transcoding SparkWebCommonComponents/com/jivesoftw are/spark ContactListContainer.mxml &nbs p; line 136 1211976065250 383
unable to resolve '/assets/images/blueArrowDown.png' for transcoding SparkWebCommonComponents/com/jivesoftw are/spark BuddyRenderer.mxml   ; line 98 1211976065140 359
unable to resolve '/assets/images/blueArrowDown.png' for transcoding SparkWebCommonComponents/com/jivesoftw are/spark ListGroup.mxml &nb sp;line 43 1211976065328 393
unable to resolve '/assets/images/blueArrowRight.png' for transcoding SparkWebCommonComponents/com/jivesoftw are/spark BuddyRenderer.mxml   ; line 95 1211976065140 361
unable to resolve '/assets/images/blueArrowRight.png' for transcoding SparkWebCommonComponents/com/jivesoftw are/spark ListGroup.mxml &nb sp;line 46 1211976065328 397
unable to resolve '/assets/images/bookmark.png' for transcoding SparkWebCommonComponents/com/jivesoftw are/spark MUCRoomListItemRenderer.mxml & nbsp; line 50 1211976065375 403
unable to resolve '/assets/images/close_dark.png' for transcoding SparkWebCommonComponents/com/jivesoftw are/spark ContactListContainer.mxml &nbs p; line 139 1211976065281 387
unable to resolve '/assets/images/conference_16x16.png' for transcoding SparkWebCommonComponents/com/jivesoftw are/spark ChatRoom.mxml &nbs p;line 72 1211976065453 409
unable to resolve '/assets/images/conference_16x16.png' for transcoding SparkWebCommonComponents/com/jivesoftw are/spark MiniChatRoom.mxml line 72 1211976065203 367
unable to resolve '/assets/images/dnd.png' for transcoding SparkWebCommonComponents/com/jivesoftw are/spark ListGroup.mxml &nb sp;line 49 1211976065328 395
unable to resolve '/assets/images/dummyContact.png' for transcoding SparkWebCommonComponents/com/jivesoftw are/spark BuddyRenderer.mxml   ; line 85 1211976065187 363
unable to resolve '/assets/images/dummyContact.png' for transcoding SparkWebCommonComponents/com/jivesoftw are/spark ProfileWindow.mxml   ; line 165 1211976065437 405
unable to resolve '/assets/images/dummyContact.png' for transcoding SparkWebCommonComponents/com/jivesoftw are/spark StatusBox.mxml &nb sp;line 168 1211976065187 365
unable to resolve '/assets/images/message_edit.png' for transcoding SparkWebCommonComponents/com/jivesoftw are/spark ChatRoom.mxml &nbs p;line 69 1211976065453 413
unable to resolve '/assets/images/message_edit.png' for transcoding SparkWebCommonComponents/com/jivesoftw are/spark MiniChatRoom.mxml line 69 1211976065203 369
unable to resolve '/assets/images/message_information.png' for transcoding SparkWebCommonComponents/com/jivesoftw are/spark ChatRoom.mxml &nbs p;line 66 1211976065453 411
unable to resolve '/assets/images/message_information.png' for transcoding SparkWebCommonComponents/com/jivesoftw are/spark MiniChatRoom.mxml line 66 1211976065203 371
unable to resolve '/assets/images/searchBuddy.png' for transcoding SparkWebCommonComponents/com/jivesoftw are/spark ContactListContainer.mxml &nbs p; line 134 1211976065250 385
unable to resolve '/assets/images/sparkweb.png' for transcoding SparkWebCommonComponents/com/jivesoftw are/spark CreateAccountDialog.mxml   ; line 155 1211976065281 389
unable to resolve '/assets/images/sparkweb.png' for transcoding SparkWebCommonComponents/com/jivesoftw are/spark LoginDialog.mxml & nbsp;line 69 1211976065281 391
unable to resolve '/assets/images/temp_create_room_button.png' for transcoding SparkWebCommonComponents/com/jivesoftw are/spark MUCListAccordionHeader.mxml &n bsp; line 74 1211976065234 375
unable to resolve '/assets/images/temp_reload_server_black.png' for transcoding SparkWebCommonComponents/com/jivesoftw are/spark MUCRoomList.mxml & nbsp;line 121 1211976065343 399
unable to resolve '/assets/images/temp_reload_server.png' for transcoding SparkWebCommonComponents/com/jivesoftw are/spark MUCListAccordionHeader.mxml &n bsp; line 73 1211976065234 377
unable to resolve '/assets/images/tiny-search-white.png' for transcoding SparkWebCommonComponents/com/jivesoftw are/spark MUCListAccordionHeader.mxml &n bsp; line 72 1211976065218 373
unable to resolve '/assets/images/tiny-search.png' for transcoding SparkWebCommonComponents/com/jivesoftw are/spark ContactListContainer.mxml &nbs p; line 122 1211976065250 381
unable to resolve '/assets/images/tiny-search.png' for transcoding SparkWebCommonComponents/com/jivesoftw are/spark MUCRoomList.mxml & nbsp;line 120 1211976065343 401
unable to resolve '/assets/images/tiny-search.png' for transcoding SparkWebCommonComponents/com/jivesoftw are/spark SearchWindow.mxml line 22 1211976065437 407
Unable to transcode /assets/images/add_server.png. SparkWebCommonCompo nents/com/jivesoftware/spark ContactListContainer.m xml line 137 1211976065250 380
Unable to transcode /assets/images/addBuddy.png. SparkWebCommonCompone nts/com/jivesoftware/spark ContactListContainer.mxm l line 136 1211976065250 384
Unable to transcode /assets/images/blueArrowDown.png. SparkWebCommonCo mponents/com/jivesoftware/spark BuddyRenderer.mxml& nbsp; line 98 1211976065140 360
Unable to transcode /assets/images/blueArrowDown.png. SparkWebCommonCo mponents/com/jivesoftware/spark ListGroup.mxml  ; line 43 1211976065328 394
Unable to transcode /assets/images/blueArrowRight.png. SparkWebCommonC omponents/com/jivesoftware/spark BuddyRenderer.mxml line 95 1211976065140 362
Unable to transcode /assets/images/blueArrowRight.png. SparkWebCommonC omponents/com/jivesoftware/spark ListGroup.mxml&nbs p; line 46 1211976065328 398
Unable to transcode /assets/images/bookmark.png. SparkWebCommonCompone nts/com/jivesoftware/spark MUCRoomListItemRenderer. mxml line 50 1211976065375 404
Unable to transcode /assets/images/close_dark.png. SparkWebCommonCompo nents/com/jivesoftware/spark ContactListContainer.m xml line 139 1211976065281 388
Unable to transcode /assets/images/conference_16x16.png. SparkWebCommo nComponents/com/jivesoftware/spark ChatRoom.mxml&nb sp; line 72 1211976065453 410
Unable to transcode /assets/images/conference_16x16.png. SparkWebCommo nComponents/com/jivesoftware/spark MiniChatRoom.mxm l line 72 1211976065203 368
Unable to transcode /assets/images/dnd.png. SparkWebCommonComponents/c om/jivesoftware/spark ListGroup.mxml &nb sp; line 49 1211976065328 396
Unable to transcode /assets/images/dummyContact.png. SparkWebCommonCom ponents/com/jivesoftware/spark BuddyRenderer.mxml&n bsp; line 85 1211976065187 364
Unable to transcode /assets/images/dummyContact.png. SparkWebCommonCom ponents/com/jivesoftware/spark ProfileWindow.mxml&n bsp; line 165 1211976065437 406
Unable to transcode /assets/images/dummyContact.png. SparkWebCommonCom ponents/com/jivesoftware/spark StatusBox.mxml line 168 1211976065187 366
Unable to transcode /assets/images/message_edit.png. SparkWebCommonCom ponents/com/jivesoftware/spark ChatRoom.mxml & nbsp; line 69 1211976065468 414
Unable to transcode /assets/images/message_edit.png. SparkWebCommonCom ponents/com/jivesoftware/spark MiniChatRoom.mxml&nb sp; line 69 1211976065203 370
Unable to transcode /assets/images/message_information.png. SparkWebCo mmonComponents/com/jivesoftware/spark ChatRoom.mxml line 66 1211976065453 412
Unable to transcode /assets/images/message_information.png. SparkWebCo mmonComponents/com/jivesoftware/spark MiniChatRoom. mxml line 66 1211976065203 372
Unable to transcode /assets/images/searchBuddy.png. SparkWebCommonComp onents/com/jivesoftware/spark ContactListContainer. mxml line 134 1211976065281 386
Unable to transcode /assets/images/sparkweb.png. SparkWebCommonCompone nts/com/jivesoftware/spark CreateAccountDialog.mxml line 155 1211976065281 390
Unable to transcode /assets/images/sparkweb.png. SparkWebCommonCompone nts/com/jivesoftware/spark LoginDialog.mxml &n bsp; line 69 1211976065281 392
Unable to transcode /assets/images/temp_create_room_button.png. SparkW ebCommonComponents/com/jivesoftware/spark MUCListAc cordionHeader.mxml line 74 1211976065234 376
Unable to transcode /assets/images/temp_reload_server_black.png. Spark WebCommonComponents/com/jivesoftware/spark MUCRoomL ist.mxml line 121 1211976065343 400
Unable to transcode /assets/images/temp_reload_server.png. SparkWebCom monComponents/com/jivesoftware/spark MUCListAccordi onHeader.mxml line 73 1211976065234 378
Unable to transcode /assets/images/tiny-search-white.png. SparkWebComm onComponents/com/jivesoftware/spark MUCListAccordio nHeader.mxml line 72 1211976065234 374
Unable to transcode /assets/images/tiny-search.png. SparkWebCommonComp onents/com/jivesoftware/spark ContactListContainer. mxml line 122 1211976065250 382
Unable to transcode /assets/images/tiny-search.png. SparkWebCommonComp onents/com/jivesoftware/spark MUCRoomList.mxml  ; line 120 1211976065343 402
Unable to transcode /assets/images/tiny-search.png. SparkWebCommonComp onents/com/jivesoftware/spark SearchWindow.mxml&nbs p; line 22 1211976065437 408
1008: parameter Pas de déclaration de type pour maxlength. SparkWebCommonComponents/com/jivesoftwa re/spark/utils SimpleDateFormatter.as &n bsp; line 364 1211976062625 354
1008: parameter Pas de déclaration de type pour val. SparkWebCommonComponents/com/jivesoftware/spa rk/utils SimpleDateFormatter.as &n bsp; line 350 1211976062609 351
1008: return value for function Pas de déclaration de type pour getDateFromFormat. SparkWebCommonComponents/com/ji vesoftware/spark/utils SimpleDateFormatter.as line 188 1211976062609 331
1008: return value for function Pas de déclaration de type pour isDate. SparkWebCommonComponents/com/jivesoftware/ spark/utils SimpleDateFormatter.as   ; line 150 1211976062593 327
1008: variable Pas de déclaration de type pour ampm. SparkWebCommonComponents/com/jivesoftware/sp ark/utils SimpleDateFormatter.as & nbsp; line 204 1211976062609 345
1008: variable Pas de déclaration de type pour c. SparkWebCommonComponents/com/jivesoftware/spark /utils SimpleDateFormatter.as &nbs p; line 85 1211976062593 317
1008: variable Pas de déclaration de type pour c. SparkWebCommonComponents/com/jivesoftware/spark /utils SimpleDateFormatter.as &nbs p; line 193 1211976062609 334
1008: variable Pas de déclaration de type pour d. SparkWebCommonComponents/com/jivesoftware/spark /utils SimpleDateFormatter.as &nbs p; line 89 1211976062593 321
1008: variable Pas de déclaration de type pour d1. SparkWebCommonComponents/com/jivesoftware/spar k/utils SimpleDateFormatter.as &nb sp; line 169 1211976062593 329
1008: variable Pas de déclaration de type pour d2. SparkWebCommonComponents/com/jivesoftware/spar k/utils SimpleDateFormatter.as &nb sp; line 170 1211976062609 330
1008: variable Pas de déclaration de type pour date. SparkWebCommonComponents/com/jivesoftware/sp ark/utils SimpleDateFormatter.as & nbsp; line 151 1211976062593 328
1008: variable Pas de déclaration de type pour date. SparkWebCommonComponents/com/jivesoftware/sp ark/utils SimpleDateFormatter.as & nbsp; line 200 1211976062609 341
1008: variable Pas de déclaration de type pour day_name. SparkWebCommonComponents/com/jivesoftwar e/spark/utils SimpleDateFormatter.as &nb sp; line 253 1211976062609 349
1008: variable Pas de déclaration de type pour digits. SparkWebCommonComponents/com/jivesoftware/ spark/utils SimpleDateFormatter.as   ; line 352 1211976062609 352
1008: variable Pas de déclaration de type pour E. SparkWebCommonComponents/com/jivesoftware/spark /utils SimpleDateFormatter.as &nbs p; line 90 1211976062593 322
1008: variable Pas de déclaration de type pour H. SparkWebCommonComponents/com/jivesoftware/spark /utils SimpleDateFormatter.as &nbs p; line 91 1211976062593 323
1008: variable Pas de déclaration de type pour hh. SparkWebCommonComponents/com/jivesoftware/spar k/utils SimpleDateFormatter.as &nb sp; line 201 1211976062609 342
1008: variable Pas de déclaration de type pour i_format. SparkWebCommonComponents/com/jivesoftwar e/spark/utils SimpleDateFormatter.as &nb sp; line 84 1211976062593 316
1008: variable Pas de déclaration de type pour i_format. SparkWebCommonComponents/com/jivesoftwar e/spark/utils SimpleDateFormatter.as &nb sp; line 192 1211976062609 333
1008: variable Pas de déclaration de type pour i_val. SparkWebCommonComponents/com/jivesoftware/s park/utils SimpleDateFormatter.as line 191 1211976062609 332
1008: variable Pas de déclaration de type pour i. SparkWebCommonComponents/com/jivesoftware/spark /utils SimpleDateFormatter.as &nbs p; line 233 1211976062609 346
1008: variable Pas de déclaration de type pour i. SparkWebCommonComponents/com/jivesoftware/spark /utils &nb
I hope I built SparkWeb correctly according to your instructions, but still, I get error (in Safari/Flash Player) when I run the project on Mac (Leopard):
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at mx.managers::PopUpManagerImpl/addPopUp()[E:\dev\3.0.x\frameworks\projects\frame work\src\mx\managers\PopUpManagerImpl.as:231]
at mx.managers::PopUpManager$/addPopUp()[E:\dev\3.0.x\frameworks\projects\framewor k\src\mx\managers\PopUpManager.as:169]
at mx.controls::Alert$/show()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\co ntrols\Alert.as:507]
at org.hasseg.externalMouseWheel::ExternalMouseWheelSupport/initialize()[/Users/sp ike411/SparkWeb/SparkWeb/src/org/hasseg/externalMouseWheel/ExternalMouseWheelSup port.as:81]
at org.hasseg.externalMouseWheel::ExternalMouseWheelSupport()[/Users/spike411/Spar kWeb/SparkWeb/src/org/hasseg/externalMouseWheel/ExternalMouseWheelSupport.as:60]
at org.hasseg.externalMouseWheel::ExternalMouseWheelSupport$/get instance()[/Users/spike411/SparkWeb/SparkWeb/src/org/hasseg/externalMouseWheel/ ExternalMouseWheelSupport.as:68]
at SparkWeb$cinit()
at global$init()[/Users/spike411/SparkWeb/SparkWeb/src/SparkWeb.mxml:26]
at _SparkWebWatcherSetupUtil$/init()
at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::docFrameHandler()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\managers\SystemManager.as:2 324]
Those Windows-style paths look… suspicious.