Category Archives: Dong Shin

Dong Shin 10.12.2010

  • went over PPM with Phil
  • changing MvnAssist to work on Mac
    • -d32 flag needed on run configuration
    • check for OS name and change mvnExeFile accordingly
      • mvn or mvn.bat
    • MessageBox crashes on Display.getCurrent().getActiveShell() returning null
      • new Shell (Display.getCurrent()) added when getActiveShell returns null
    • adding dependencies to Flex 4 projects works

Dong Shin 10.11.2010

  • packed up PPM for review/deploy
    • chaged the table name to query_logs and created script – create_query_logs.sql
    • uploaded to FGMDEV uploads directory
  • got maven to build Flash Project
    • Flex SDK Version 4.0.0.14159
    • FlexMojos 3.8
    • Flex Compiler must be defined within flexmojos plugin tag
    • flexmojos:flexbuilder generates Flash Builder project files with incorrect version string??? – “Flex 4” instead of “Flex 4.0”

Dong Shin 10.08.20100

  • working from home
  • Query Logs Viewer added to PPM
    • filtering by query types; SELECT, INSERT, UPDATE, DELETE
    • retrieve 50 records at a time with previous and next buttons
    • query can be viewed in bottom textArea by selecting an item on the dataGrid
    • Admins only

Dong Shin 10.07.2010

  • downloading and building all Visibility Projects and components
    • mvn running out of heap space – MAVEN_OPTS=”-Xms64m -Xmx256m””
  • imported PPM to Flash Builder
    • 3.5 compiler doesn’t like it – getting 1020: Method marked override must override another method errors
    • added Flex SDK 3.2 and set it to use
  • added date, time fields to query_history table
  • PPM Server now supports query recording by default
    • SELECT, DELETE, UPDATE, INSERT are recorded
  • downloaded JuiceKit, but build failed on juicekit-repository (http://www.juicekit.org/nexus/content/repositories/releases)
    • repo not available – will try later
    • examined the pom.xml – uses Flex SDK 4.0.0.14159 and FlexMojos 3.6.1

Dong Shin 10.06.2010

  • added support for Query recording on PPM Server
    • query_history table added to database (`uid`, `user`, `table_name`, `type`, `query`, `timestamp`)
    • functions to parse the information and a flag added to use the history table
  • changing MySQLIf (Flex) to support the Query recording
    • maven acting weird – cannot compile/install
    • lots of trouble shooting(rebuilt repo, use Phil’s fresh project files, etc)
    • ended up creating new flex lib project and copying everything over
    • installed and deployed
  • found that the latest EdgeUtil (that has aboutWindow) hasn’t been deployed (was just installed!)- deployed
  • Capital Area Flex Users Group Meeting
    • Flare and Juicekit
    • LiveQuery
    • TreeMaps
    • Protovis – JavaScript visualization

Dong Shin 10.05.2010

  • created Activate New Users functionality
    • ActivateNewUsersWindow – activate users by selecting appropriate type/level
    • modified Users.as to retrieve new users and activate users
  • fixed a bug not showing current month columns highlighted on Financial Data Entry
  • added user login to pass on to the server for sql history

Dong Shin 10.04.2010

  • AMFPHP no longer supports mysql_db_query – changed to mysql_query()
  • tried to download and build MvnAssist found that Java Perspective is missing in Flash Builder
    • tried to install via Help > Install New Software… didn’t work – getting errors
    • installed Eclipse Helios – Carbon based Eclipse required!!!!!!!
  • building Flash Builder Project from maven
    • mvnAssist crashes on Mac….
    • no signs of support for Flash Builder 4 from flexmojos:flexbuilder
  • Application.application should be FlexGlobals.topLevelApplication in Flex SDK 4.0
  • Tried all Flex 4.0 Compliers in http://repository.sonatype.org/content/groups/flexgroup/com/adobe/flex/compiler/- no luck

Dong Shin 10.01.2010

  • reviewed findings of FlexMonkey/RIATest with Phil
    • not very suitable for our need
    • look for OS level testing
  • improving(?) summary data calculation by setting specific cell instead of entire data grid – done, working better
  • found a bug in Summary Data charts showing incorrect line display names and no legends – fixed
  • Phil found that User Management work inconsistently on User Types
    • found old data type in the database
    • added Warning to change old data if it exist on user selection
    • added User Type ComboBox change event handler
    • removed Update User button
    • fixed a bug not activating user properly – null on User Type
  • uploaded PPM to blog

Dong Shin 09.30.2010

  • removed all the maven dependencies on PPM and built it with FlexMonkey configurations
    • works better, but some hickups – cannot get menu items selected
    • Create Project test ran successfully
      • with Create Project Panel open
      • some delays added between combo selections and database response
      • couldn’t get the buttons with same labels behave right, changed the buttons to have unique labels
    • Financial Data Entry not working properly….
    • tried RIATest
      • -include-libraries “/Applications/RIATest 3/agent/RIATestAgent3.swc” “${flexlib}/libs/automation.swc” “${flexlib}/libs/automation_agent.swc” “${flexlib}/libs/automation_dmv.swc”
      • works faster
      • special attention required on datagrids
  • returned PPM code back to where it was

Dong Shin 09.29.2010

  • additional compiler argument for FlexMonkey test
    • -locale en_US -include-libraries “/Users/dongshin/Projects/workspace.fgmdev/ProjPortfolioMgrClient/libs/automation_monkey3.x.swc” “${flexlib}/libs/automation.swc” “${flexlib}/libs/automation_agent.swc” “${flexlib}/libs/automation_dmv.swc”
  • getting weird error…..
    • TypeError: Error #2007: Parameter blendMode must be non-null
      at flash.display::DisplayObject/set blendMode()
      at mx.skins.halo::HaloFocusRect/updateDisplayList()[C:autobuild3.2.0frameworksprojectsframeworksrcmxskinshaloHaloFocusRect.as:156]
      at mx.skins::ProgrammaticSkin/validateDisplayList()[C:autobuild3.5.0frameworksprojectsframeworksrcmxskinsProgrammaticSkin.as:421]
      at mx.managers::LayoutManager/validateDisplayList()[C:autobuild3.5.0frameworksprojectsframeworksrcmxmanagersLayoutManager.as:622]
      at mx.managers::LayoutManager/doPhasedInstantiation()[C:autobuild3.5.0frameworksprojectsframeworksrcmxmanagersLayoutManager.as:695]
      at Function/http://adobe.com/AS3/2006/builtin::apply()
      at mx.core::UIComponent/callLaterDispatcher2()[C:autobuild3.5.0frameworksprojectsframeworksrcmxcoreUIComponent.as:8744]
      at mx.core::UIComponent/callLaterDispatcher()[C:autobuild3.5.0frameworksprojectsframeworksrcmxcoreUIComponent.as:8684]
  • it looks like automation_monkey3.x.swc has been compile with Flex SDK 3.3 and cannot get it to work with 3.3 or 3.5?
  • tried to compile whole FlexMonkey package – no luck, too many missing, no clear instruction.
  • tried RIATest – same error?
    • compiled first time, but getting “Unable to resolve resouce bundle…” erros
  • all these Flex SDK set up messed up my Flex Builder, ugh!
  • reinstalled Flex Builder & plugins
  • tried using Flex SDK 3.5.0.12683
    • built and ran without FlexMonkey
    • added libs/automation_monkey3.x.swc – ran fine
    • -include-libraries “../../../libs/automation_monkey3.x.swc” “${flexlib}/libs/automation.swc” “${flexlib}/libs/automation_agent.swc” “${flexlib}/libs/automation_dmv.swc” results in Unable to resolve resource bundle error
    • manually added automation_agent.swc and automation.swc to libs – didn’t work
  • created new project, moved all source over, set FlexMonkey configuration….
    • works!

Dong Shin 09.28.2010

  • AboutInfoWindow can be positioned using x and y properties, PopUpManager crashes on centerPopUp
  • a bug in Summary Data in Financial Data editor showing incorrect number of data tabs – fixed
  • created CollapsiblePanelHTMLTitle.as that extends CollapsiblePanel with HTML Title
    • set Appripriations to italic and Total Budget $ to blue on each FinancialDataPanel
  • FlexMonkey – Automated Flex UI Testing

Dong Shin 09.27.2010

  • looking into Apache HTTP/Tomcat integration – using single host to direct appropriate URL to Tomcat or HTTPD
  • reworked AboutInfoWindow.mxml so that all the app needs is single mxml tag
    • usage: <aboutFlexApp1:AboutInfoWindow  id=”aboutWindow” appName=”Project Portfolio Mgr” version=”{_version}” imgName=”./images/logo1.png”/>
    • somehow I can’t get this to pop up on center…
  • troubleshoot weird compile issues with Eclipse/Flex Builder
    • M2_REPO environment variable must be defined within a project!
  • finished up Self Evaluation and sent to Chas Sumser

Dong Shin 09.24.2010

  • changed color of appName in AboutInfoWindow to grey
  • more changes to PPM
    • removed Title from NSA PM Name field in Project Viewer
    • added Grand Total fro Reimbursable Amount and total of Direct Cites
    • added Direct Cite Total
    • Funding Request compares the grand total with Funding Amount
    • Activity Amount has comma applied
    • Financial Data Type tooltips changed
    • remove FMP (Financial Mitigation Plan) from FACTS type

Dong Shin 09.23.2010

  • new set of bugs/enhancement
    • names should be sorted on last name (Create Project and User Management) – done
    • Budget Center List on Funding Request must be unique – done
    • Use Different Tooltips for different types in Financial Data Entry
      • All – Amount entered must be cumulative
      • Reported Outlay – Amount entered must be cumulative in Service’s Financial System
      • PM Actural Outlay – Amount entered must be cumulative Invoiced Work – anything not reflected in Reported
    • remove FMP (Financial Mitigatino Plan) from PM Actuals Outlay $ – done
    • Funding Total in Funding Request generating incorrect warnings – done
    • Contract Numbers are now CB in Funding Request
    • Financial Data are in Year order, then by appropriation
    • rearranged Contracts grid in Financial Data Editor
    • manually set dataProvider data on itemEditEnd in Budget Center data of Funding Request

Dong Shin 09.22.2010

  • added aboutFlexApp package to EdgeUtils
    • bug in CompilationDate.as downloaded fromhttp://www.judahfrangipane.com/blog/?p=252
      • (compilationDate.hours<11) line 146, changed < to <=
    • example
      • <aboutFlexApp1:CompilationDate id=”createdDate1″/>
      • var aboutWindow:AboutInfoWindow = AboutInfoWindow (PopUpManager.createPopUp(this, AboutInfoWindow, true));
        aboutWindow.createdDate1 = createdDate1;
        aboutWindow.logo = _appLogo; // embedded image class
        aboutWindow.appName = “Project Portfolio Manager”;
        aboutWindow.version = _version; // String
  • using aboutFlexApp in PPM, deployed
  • added progress.swf for Busy Cursor