Currently Being Moderated

Getting and Building SparkWeb

VERSION 1 

Created on: Apr 22, 2008 3:53 PM by David Smith - Last Modified:  Apr 22, 2008 4:32 PM by David Smith

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.

17,353 Views Tags: sparkweb, documentation
Average User Rating
(5 ratings)
Lukáš 'Spike' Polívka  says:

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.

Ryan McLaughlin  says:

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!

Lukáš 'Spike' Polívka  says in response to Ryan McLaughlin:

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.

Ryan McLaughlin  says in response to Lukáš 'Spike' Polívka:

Got it now, needed to go one more level higher than I thought, thanks!

Ryan McLaughlin  says in response to Lukáš 'Spike' Polívka:

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.

Raghu Raghu  says in response to Ryan McLaughlin:

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...

Raghu Raghu  says in response to Raghu:

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

David Smith David Smith  says in response to Raghu:

That shouldn't be necessary... SparkWeb/SparkWebCommonComponents/assets/images should be a symlink to SparkWeb/assets/images

Raghu Raghu  says in response to David Smith:

On my windows machine "images"  under SparkWebCommonComponents/assets appeared to be unrecognized file type!

David Smith David Smith  says in response to Raghu:

Sigh... $#(*^& Windows not supporting symlinks. Looks like I'll need to find another way.

Raghu Raghu  says in response to David Smith:

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?

David Smith David Smith  says in response to Raghu:

It should work fine on any *nix that supports Flash (OSX, Linux, BSD?, others?).

Raghu Raghu  says in response to David Smith:

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.

David Smith David Smith  says in response to Raghu:

It shouldn't be... but I wouldn't be hugely surprised to find out that it got broken at some point.

Dhilip Anand Dhilip Anand  says in response to David Smith:

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

mgillingham mgillingham  says:

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?

hhh hhh  says:

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]

David Smith David Smith  says in response to mgillingham:

This sort of question is really more suited to the SparkWeb Support forum. I wouldn't expect to see any problems like that though...

David Smith David Smith  says in response to hhh:

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)

hhh hhh  says in response to David Smith:

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.

hbr hbr  says in response to David Smith:

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

Jape  says in response to Raghu:

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.

David Smith David Smith  says in response to Jape:

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.

Remko Troncon  says:

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.

mgillingham mgillingham  says in response to Remko Troncon:

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.

ppcamp  says in response to David Smith:

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

Ryan McLaughlin  says in response to mgillingham:

There is already a pre-built version available...  http://www.igniterealtime.org/community/docs/DOC-1515

mgillingham mgillingham  says in response to Ryan McLaughlin:

Thanks ryan.

lijinyan3000  says in response to David Smith:

I'm a beginner,I'm very glad to see the discussion is really just about getting & building the source.

train  says:

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?

Vladislav Chernyshov Vladislav Chernyshov  says:

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.

hbr hbr  says:

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   &nbsp ; 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   &nbsp ; 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   &nbsp ; line 85     1211976065187     363

unable to resolve '/assets/images/dummyContact.png' for transcoding     SparkWebCommonComponents/com/jivesoftw are/spark     ProfileWindow.mxml   &nbsp ; 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  &nbsp ;  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&nbsp ;    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&nbsp ;    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  &nbsp ;  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  &nbsp ;  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     SimpleDateFormatter.as   &nbs p; line 251     1211976062609     348

1008: variable Pas de déclaration de type pour i.     SparkWebCommonComponents/com/jivesoftware/spark /utils     SimpleDateFormatter.as   &nbs p; line 353     1211976062625     353

1008: variable Pas de déclaration de type pour m.     SparkWebCommonComponents/com/jivesoftware/spark /utils     SimpleDateFormatter.as   &nbs p; line 92     1211976062593     324

1008: variable Pas de déclaration de type pour M.     SparkWebCommonComponents/com/jivesoftware/spark /utils     SimpleDateFormatter.as   &nbs p; line 88     1211976062593     320

1008: variable Pas de déclaration de type pour mm.     SparkWebCommonComponents/com/jivesoftware/spar k/utils     SimpleDateFormatter.as   &nb sp; line 202     1211976062609     343

1008: variable Pas de déclaration de type pour month_name.     SparkWebCommonComponents/com/jivesoftw are/spark/utils     SimpleDateFormatter.as  & nbsp;  line 235     1211976062609     347

1008: variable Pas de déclaration de type pour month.     SparkWebCommonComponents/com/jivesoftware/s park/utils     SimpleDateFormatter.as      line 199     1211976062609     340

1008: variable Pas de déclaration de type pour newdate.     SparkWebCommonComponents/com/jivesoftware /spark/utils     SimpleDateFormatter.as  &nbs p;  line 341     1211976062609     350

1008: variable Pas de déclaration de type pour now.     SparkWebCommonComponents/com/jivesoftware/spa rk/utils     SimpleDateFormatter.as   &n bsp; line 197     1211976062609     338

1008: variable Pas de déclaration de type pour result.     SparkWebCommonComponents/com/jivesoftware/ spark/utils     SimpleDateFormatter.as  &nbsp ;  line 83     1211976062593     315

1008: variable Pas de déclaration de type pour s.     SparkWebCommonComponents/com/jivesoftware/spark /utils     SimpleDateFormatter.as   &nbs p; line 93     1211976062593     325

1008: variable Pas de déclaration de type pour ss.     SparkWebCommonComponents/com/jivesoftware/spar k/utils     SimpleDateFormatter.as   &nb sp; line 203     1211976062609     344

1008: variable Pas de déclaration de type pour token.     SparkWebCommonComponents/com/jivesoftware/s park/utils     SimpleDateFormatter.as      line 86     1211976062593     318

1008: variable Pas de déclaration de type pour token.     SparkWebCommonComponents/com/jivesoftware/s park/utils     SimpleDateFormatter.as      line 194     1211976062609     335

1008: variable Pas de déclaration de type pour token.     SparkWebCommonComponents/com/jivesoftware/s park/utils     SimpleDateFormatter.as      line 368     1211976062625     356

1008: variable Pas de déclaration de type pour token2.     SparkWebCommonComponents/com/jivesoftware/ spark/utils     SimpleDateFormatter.as  &nbsp ;  line 195     1211976062609     336

1008: variable Pas de déclaration de type pour value.     SparkWebCommonComponents/com/jivesoftware/s park/utils     SimpleDateFormatter.as      line 96     1211976062593     326

1008: variable Pas de déclaration de type pour x.     SparkWebCommonComponents/com/jivesoftware/spark /utils     SimpleDateFormatter.as   &nbs p; line 366     1211976062625     355

1008: variable Pas de déclaration de type pour y.     SparkWebCommonComponents/com/jivesoftware/spark /utils     SimpleDateFormatter.as   &nbs p; line 87     1211976062593     319

1008: variable Pas de déclaration de type pour y.     SparkWebCommonComponents/com/jivesoftware/spark /utils     SimpleDateFormatter.as   &nbs p; line 196     1211976062609     337

1008: variable Pas de déclaration de type pour year.     SparkWebCommonComponents/com/jivesoftware/sp ark/utils     SimpleDateFormatter.as   & nbsp; line 198     1211976062609     339

1084: La portée de function 'LZ' sera limitée à l'espace de nom par défaut : Object: internal.  Elle ne sera pas visible à l'extérieur de ce package.     SparkWebCommonComponents/com/jivesoftware /spark/utils     SimpleDateFormatter.as  &nbs p;  line 70     1211976062593     314

1084: La portée de var 'DAY_NAMES' sera limitée à l'espace de nom par défaut : Object: internal.  Elle ne sera pas visible à l'extérieur de ce package.     SparkWebCommonComponents/com/jivesoftware /spark/utils     SimpleDateFormatter.as  &nbs p;  line 69     1211976062593     313

1084: La portée de var 'MONTH_NAMES' sera limitée à l'espace de nom par défaut : Object: internal.  Elle ne sera pas visible à l'extérieur de ce package.     SparkWebCommonComponents/com/jivesoftware /spark/utils     SimpleDateFormatter.as  &nbs p;  line 68     1211976062593     312

1102: null utilisée alors qu'une valeur Number est attendue.     SparkWebCommonComponents/com/jivesoftwar e/spark/utils     SimpleDateFormatter.as  &nb sp;  line 371     1211976062625     357

1102: null utilisée alors qu'une valeur Number est attendue.     SparkWebCommonComponents/com/jivesoftwar e/spark/utils     SimpleDateFormatter.as  &nb sp;  line 378     1211976062625     358

 

 

Any tip on how to solve this ?

hbr hbr  says:

ok, that was just a path proble with assets folder, instead of "/assets" I used a relative path to the "assets" folder which is on the same level as the "Sparkweb" and the other folders.

But now, I get this error :

 

"Severity and Description     Path     Reso urce     Location     Creation Time     Id

unable to export SWC oem          SparkWebCommonCo mponents     Unknown     12119 78179171     3375

unable to open 'D:\DEV\openfire3\sparkweb\SparkWebCommonComponents\bin\SparkWebCommonComponent s.swc'          SparkWeb      Unknown     1211978179437      3376

"

 

 

grrh :s

Mike Clark  says in response to train:

I just did a svn update and am still getting the same problem as train. I am using Flex Builder 3 on Vista.

Mike Clark  says in response to Mike Clark:

And the messages are

 

1st:could not find source for class com.jivesoftware.spark.ui.Message

 

2nd:unable to open ' ..\..\SparkWeb\SparkWebCommonComponents\bin\SparkWebCommonComponents.swc'

Vladislav Chernyshov Vladislav Chernyshov  says in response to Mike Clark:

Hi,

 

yes, I have the same problem. This is due to alias stuff...it doesn't work as planned on windows.

 

I think, David will update this thread as soon as he will find the solution. There is no need to post multiple identical errors.

 

Vlad

slushpupie slushpupie  says:

It is possible to build without Flex Builder, but you need to have the libraries that come with Flex Builder.  The free Flex SDK does not contain all the libraries that are used here.  In particular, I needed these:

 

datavisualization.swc

qtp.swc

automation.swc

automation_agent.swc

automation_dmv.swc

automation_flashflexkit.swc

 

and the locale resource bundles associated with these.

 

Note: The Flex Builder is not free. It is unclear to me what the licensing of these libraries are under, but I presume the same license as Flex Builder. 

 

It is not immediately obvious to me what in SparkWeb/XIFF uses these libraries that building without fails to produce a runnable application (it does compile, though), but maybe a future goal will be to remove the dependency on a $250 product to compile.

Chris Neasbitt Chris Neasbitt  says:

The build instructions work perfectly on linux.  You can download the public alpha version of Flex Builder 3 for linux at http://labs.adobe.com/technologies/flex/flexbuilder_linux/.  Unfortunately, this version of flex builder does not have the design view.

 

Install instructions for Fedora can be found at http://conecuh.com/2008/04/10/installing-adobe-flex-builder-linux-public-alpha-o n-fedora-8/

 

For all you people in academia, you can get a free educational license for Flex Builder if you go to https://www.flexregistration.com/ and fill out the required information.

Truong Cong Loi Truong Cong Loi  says in response to Chris Neasbitt:

built SparkWeb correctly according to your instructions, but still, I get error

 

Plz view images and help me.

http://img440.imageshack.us/img440/2386/builderrorpy2.jpg

Chris Neasbitt Chris Neasbitt  says in response to Truong Cong Loi:

From the picture you posted I am assuming your running flex builder in windows.  The 3 errors you get from importing the project are described in the first couple of posts in this discussion.  Your build problems stem from those as well.  I suggest you read comments 2-9 in this discussion as it describes and provides solutions for the problems building Sparkweb in Windows.

Felipe Barone Felipe Barone  says in response to Truong Cong Loi:

Hey Trung, im running flex builder on windows XP and  i was having this same issue... solves like this: on the Flex Navigator window right click the xiff folder and rename to XIFF (upper-case). Same thing with /xiff/bin/xiff.swc file to XIFF.swc

Press F5 to refresh your workspace. This take care of your 3 errors..

 

But aftewards, im getting 57 errors!!

first one and more important is:

  • unable to open 'C:\SparkWeb\SparkWebCommonComponents\bin\SparkWebCommonComponents.swc'        SparkWeb

 

and this file is not there... the others are all

  • unable to resolve '/assets/images/FILENAME' for transcoding

 

and it repeats for every file in the assets folder. Those are consequence of the first error, which is related to the images file (not a folder) in the SparkWebCommonComponents\assets folder. Ive tryed to change the contents of te images file from link ../../assets/images toan absolute path an nothing... I ve read this document over and over and no solution appears to work for windows.

 

Appreciate any follow ups...

Armando Jagucki Armando Jagucki  says in response to Felipe Barone:

Hello Felipe,

 

Currently there is a problem with the file structure such that we are making use of symlinks that only work in *nix like file systems. I have created an issue for this in SparkWeb's bug tracker (see http://www.igniterealtime.org/issues/browse/ SW-64).

 

Here is a workaround for you until the root caused is fixed. As follows,

 

  • Rename "sparkweb\SparkWebCommonComponents\assets\images" to "images.old"
  • Copy folder "sparkweb\SparkWebCore\assets\images\"
  • Paste to "sparkweb\SparkWebCommonComponents\assets\images"

 

Regards,

Armando

mojojo mojojo  says in response to Felipe Barone:

Felipe Barone

I have the same problem
justatr justatr  says in response to David Smith:

Severity and Description Path Resource Location Creation Time Id
The CSS type selector 'ColorPicker' was not processed, because the type was not used in the application. SparkWeb/src SparkWeb.mxml line 236 1224065727421 1276
The CSS type selector 'DateChooser' was not processed, because the type was not used in the application. SparkWeb/src SparkWeb.mxml line 388 1224065727421 1282
The CSS type selector 'DateField' was not processed, because the type was not used in the application. SparkWeb/src SparkWeb.mxml line 437 1224065727421 1275
The CSS type selector 'HSlider' was not processed, because the type was not used in the application. SparkWeb/src SparkWeb.mxml line 775 1224065727421 1283
The CSS type selector 'NumericStepper' was not processed, because the type was not used in the application. SparkWeb/src SparkWeb.mxml line 590 1224065727421 1278
The CSS type selector 'PopUpMenuButton' was not processed, because the type was not used in the application. SparkWeb/src SparkWeb.mxml line 684 1224065727421 1281
The CSS type selector 'ProgressBar' was not processed, because the type was not used in the application. SparkWeb/src SparkWeb.mxml line 706 1224065727421 1274
The CSS type selector 'Slider' was not processed, because the type was not used in the application. SparkWeb/src SparkWeb.mxml line 765 1224065727421 1277
The CSS type selector 'Tree' was not processed, because the type was not used in the application. SparkWeb/src SparkWeb.mxml line 884 1224065727421 1280
The CSS type selector 'VSlider' was not processed, because the type was not used in the application. SparkWeb/src SparkWeb.mxml line 785 1224065727421 1279

PippoFlash PippoFlash  says:

Hi,

I am completely new to flex so maybe as a first project trying to customize SparkWeb is a bit ambitious

Anyway...

I managed to import everything and try to run the script, but I get the following error message:

File not found: file:/C:/Documents%20and%20Settings/Filippo/My%20Documents/Flex%20Builder%203/S parkWeb/bin-debug/SparkWeb.html

 

- For some reasons it can't find (or create) the SparkWeb.html file...

 

It was the assets/image issue as many of you alreayd pointed out...

asiatrip asiatrip  says in response to PippoFlash:

Looks like that there is no one, who has a solution for it. I'm still trying to get it to work for some hours now,but still getting the same error message as all above.The workaround which was mentioned by Armando Jagucki doesn;t work either :-(

 

OS is windows XP with the latest version of flex builder 60 day's trial

chxls chxls  says:

hello David,

i followed your direction, i was able to open sparkweb in flex builder 3 but cannot edit LoginDialog window and CreateAccountDialog window, how do i edit those windows?

kaiphone kaiphone  says:

Hello David,

 

I am using FlexBuilder 3 plugin for Eclipse (Trial version).  When I try to run the ant scripts for SparkWeb 0.9.0 from SVN trunk, I got the following error messages:

 

Buildfile: E:\WidgetLAB\Source\SparkWeb\build.xml
-clean-deploy-root:
   [delete] Deleting directory E:\WidgetLAB\Source\target\sparkweb
-sparkweb-html-wrapper:
    [mkdir] Created dir: E:\WidgetLAB\Source\target\sparkweb
     [copy] Copying 4 files to E:\WidgetLAB\Source\target\sparkweb
     [copy] Copying 1 file to E:\WidgetLAB\Source\target\sparkweb
sparkweb:
    [mxmlc] Loading configuration file C:\Program Files\Adobe\Flex Builder 3 Plug-in\sdks\3.2.0\frameworks\flex-config.xml
    [mxmlc] E:\WidgetLAB\Source\SparkWeb\src\SparkWeb.mxml(706): Warning: The CSS type selector 'ProgressBar' was not processed, because the type was not used in the application.
    [mxmlc] E:\WidgetLAB\Source\SparkWeb\src\SparkWeb.mxml(684): Warning: The CSS type selector 'PopUpMenuButton' was not processed, because the type was not used in the application.
    [mxmlc] E:\WidgetLAB\Source\SparkWeb\src\SparkWeb.mxml(765): Warning: The CSS type selector 'Slider' was not processed, because the type was not used in the application.
    [mxmlc] E:\WidgetLAB\Source\SparkWeb\src\SparkWeb.mxml(437): Warning: The CSS type selector 'DateField' was not processed, because the type was not used in the application.
    [mxmlc] E:\WidgetLAB\Source\SparkWeb\src\SparkWeb.mxml(388): Warning: The CSS type selector 'DateChooser' was not processed, because the type was not used in the application.
    [mxmlc] E:\WidgetLAB\Source\SparkWeb\src\SparkWeb.mxml(236): Warning: The CSS type selector 'ColorPicker' was not processed, because the type was not used in the application.
    [mxmlc]             public function showCreateAccount():void
    [mxmlc] Error: Java heap space
    [mxmlc] java.lang.OutOfMemoryError: Java heap space
    [mxmlc]     at java.io.ByteArrayOutputStream.<init>(Unknown Source)
    [mxmlc]     at macromedia.abc.Encoder.toABC(Encoder.java:281)
    [mxmlc]     at flex2.tools.PostLink.merge(PostLink.java:401)
    [mxmlc]     at flex2.tools.PostLink.run(PostLink.java:113)
    [mxmlc]     at flex2.linker.API.link(API.java:53)
    [mxmlc]     at flex2.tools.Compiler.mxmlc(Compiler.java:295)
    [mxmlc]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [mxmlc]     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    [mxmlc]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    [mxmlc]     at java.lang.reflect.Method.invoke(Unknown Source)
    [mxmlc]     at flex.ant.FlexTask.executeInProcess(FlexTask.java:283)
    [mxmlc]     at flex.ant.FlexTask.execute(FlexTask.java:225)
    [mxmlc]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    [mxmlc]     at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
    [mxmlc]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    [mxmlc]     at java.lang.reflect.Method.invoke(Unknown Source)
    [mxmlc]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
    [mxmlc]     at org.apache.tools.ant.Task.perform(Task.java:348)
    [mxmlc]     at org.apache.tools.ant.Target.execute(Target.java:357)
    [mxmlc]     at org.apache.tools.ant.Target.performTasks(Target.java:385)
    [mxmlc]     at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
    [mxmlc]     at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
    [mxmlc]     at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java :41)
    [mxmlc]     at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(Ec lipseDefaultExecutor.java:32)
    [mxmlc]     at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
    [mxmlc]     at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner. java:423)
    [mxmlc]     at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner .java:137)

 

BUILD FAILED
E:\WidgetLAB\Source\SparkWeb\build.xml:82: mxmlc task failed

 

Total time: 1 minute 12 seconds

 

Any ideas?  Thanks~

 

 

 

UPDATES  (17 June 2009)

I figured out that may relate to the Java heap size problem.  So, I did the followings and the build script can now run successfully:

 

From Eclipse

  1. Go to windows -> preferences -> java -> installed JREs
  2. Select the JRE
  3. Edit -> Enter something like "-Xmx512M" in the default VM arguments field

 

Hope it helps if some others have the same problem.

Bookmarked By (0)

More Like This

  • Retrieving data ...