?????????collect.swf??????????????????????FlexBuilder,????????????????? ????? Hello there! I want to recompile collect.swf this document, I do not know how this document is produced, I installed FlexBuilder, compile time error will prompt, how can I do? thank you very much!

asked 13 May '16, 11:24

wuqingman's gravatar image

wuqingman
1112
accept rate: 0%


Hi, what compile time error do you have? Have you followed the instructions in the readme file (you can read ithere)?
Thanks,
Open Foris Team

permanent link

answered 13 May '16, 11:43

Stefano%20%28OF%29's gravatar image

Stefano (OF) ♦♦
4.8k119
accept rate: 19%

I did the steps of: alt text alt text alt text alt text alt text alt text

permanent link

answered 13 May '16, 13:20

wuqingman's gravatar image

wuqingman
1112
accept rate: 0%

[Bindable] not allowed on static functions. Application.as /collect/src/org/openforis/collect line 142

[Bindable] public static function get preview():Boolean { return _preview; } change to:

[Bindable] public function get preview():Boolean { return _preview; } is ok!

permanent link

answered 13 May '16, 13:23

wuqingman's gravatar image

wuqingman
1112
accept rate: 0%

Hi, please download and use the Flex SDK 4.5.1. Then change the "Additional compiler arguments" in the project properties; the config parameter "debug" must be renamed into "debugging", so the arguments will be:

define+=CONFIG::debugging,true -define+=CONFIG::version,'0.1-SNAPSHOT'

Thanks,
Open Foris Team

permanent link

answered 13 May '16, 14:00

Stefano%20%28OF%29's gravatar image

Stefano (OF) ♦♦
4.8k119
accept rate: 19%

alt text alt text

help help help!!!

permanent link

answered 14 May '16, 12:19

wuqingman's gravatar image

wuqingman
1112
accept rate: 0%

Hi,
I'm sorry but compiling the client side of Collect (made in Flex) under Eclipse never worked totally...! What you can do is to compile the project outside of Eclipse, using Maven from command line, then configure an instance of Tomcat in Eclipse using the target folder as context (follow the instructions here).
Please use Maven 3.0.5 and not a newer one, otherwise the Flex plugins won't work...
We are planning to get rid of the Flex environment soon, hopefully in one year time, so one day you won't have these problems any more!
Thanks,
Open Foris Team

permanent link

answered 16 May '16, 09:15

Stefano%20%28OF%29's gravatar image

Stefano (OF) ♦♦
4.8k119
accept rate: 19%

Thanks, I use Maven command line compile succed! is very good!

permanent link

answered 18 May '16, 03:20

wuqingman's gravatar image

wuqingman
1112
accept rate: 0%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×494

question asked: 13 May '16, 11:24

question was seen: 8,311 times

last updated: 18 May '16, 03:20