Select to view content in your preferred language

where is .as compiled code?

1671
11
05-03-2011 04:04 AM
AshleyOwens
Emerging Contributor
I have made changes to \src\com\esri\viewer\components\toc\tocClasses\*.as and would like to deploy these to another environment. I'm assuming an "Export Release Build" should be done, but where is the compiled code located? What needs to be migrated to the next environment?
Tags (2)
0 Kudos
11 Replies
RobertScheitlin__GISP
MVP Emeritus
Ashley,

   The toc classes are built into the main index.swf. Only things that are added to the modules list receive their own swf file.
0 Kudos
AshleyOwens
Emerging Contributor
Thanks so much for your response. On another note, is there a way to compare 2 versions of an swf file? I want to make sure only the changes I'm expecting have been updated in index.swf after a build is done. Maybe another way to ask is - what are all the directories whose files are included in the index.swf file?
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Ashley,

   Basically the same answer. Anything that is not in the projects modules list and gets their own swf, gets compiled into the index.swf.
0 Kudos
AshleyOwens
Emerging Contributor
I moved over index.swf and do not see my changes. Should the application server be restarted?
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Ashley,

   Just ensure that your browsers cache is cleared.
0 Kudos
AshleyOwens
Emerging Contributor
I closed all IE instances, opened a new one and cleared cache but still don't see my changes.
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Ashley,

   Did you check your problems window in Flash Builder?
0 Kudos
AshleyOwens
Emerging Contributor
I have hundreds of warnings, but no errors. Also, I see the timestamp of \bin-release\index.swf gets updated. Do all warnings need to be cleared?
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Ashley,

   Most warnings are not show stoppers. I am not sure what the issue is...
0 Kudos