Category Archives: Projects

Phil 12.20.2010

8:00 – 5:30 VISIBILITY

  • Ingested some new customer data that has trending! Now I can demonstrate that feature 🙂
  • Working on the ExecShell class. It looks like I should be using ProcessBuilder instead. It was introduced in Jva5 and is a bit more sophisticated. Ideally, I need to be able to use the spawned process (shell?) to run multiple commands, while keeping track of the current directory. Going to try to run the “cmd /k” option, then interact through the processes input, output and error streams.
  • Moderate flailing on the above. Made some progress. Found the following to try tomorrow:

Phil 12.17.2010

8:00 – 4:30VISIBILITY

  • Meeting with the new TD of S2F, who’s name I can’t recall. It went well. He want’s a diagram of the tables in PPM to figure out what he can do with them. He also liked the idea of being able to use the scripting engine to read and write RESTfully to a Sharepoint DB. Something that he’d like developed is PKI-enabled opening of a dashboard or slide show in VISIBILITY. More as this progresses.
  • Spent the morning getting a printout of the structure of PPM.
  • More work on the Telnet client/OS interface framework

Dong Shin 12.17.2010

  • created Maven SWC Project, FGMUtils, using Flex SDK 4. Adding stuff as we go
    • added ConfigManger, Loggers
    • installed, deployed to fgmdev.com, checked in to svn as well
  • PPM ER Diagram for customer?
  • add debug flag to pom.xml for Flex App
    • <debug>true</debug>

Dong Shin 12.16.2010

  • deployed BlazeDS jars to one single Group ID – com.adobe.blazeds
    • flex-messaging-common 4.0.0.14931
    • flex-messaging-core 4.0.0.14931
    • flex-messaging-opt 4.0.0.14931
    • flex-messaging-proxy – 4.0.0.14931
    • flex-messaging-remoting – 4.0.0.14931
    • cfgatewayadapter – 4.0.0.14931
    • xalan – 2.6.0
    • flex-rds-server 1.5.0
    • commons-codec – 1.3
    • commons-httpclient – 3.0.1
    • commons-logging – 1.0.4
  • finally got BlazeDS up and running from Maven
  • flexmojos:flexbuilder doesn’t create project files properly for Flex SDK 4.0, manually add name spaces
  • Flex 4 webapps needs some dependencies? These are added to the output directory from Flash  Builder, but not included from pom.xml…. causing Remote Methods to fails and other problems….. updated pom to use these, but fails!!!!
    • framework_4.5.0.17689.swc
    • mx_4.5.0.17689.swc
    • osmf_1.0.0.16316.swc
    • rpc_4.5.0.17689.swc
    • spark_4.5.0.17689.swc
    • sparkskins_4.5.0.17689.swc
    • textLayout_2.0.0.139.swc
  • using Flex 4.0 SDK results in different swc’s
    • framework_4.0.0.14159.swf
    • osmf_flex.4.0.0.13495.swf
    • rpc_4.0.0.14159.swf
    • spark_4.0.0.14159.swf
    • sparkskins_4.0.0.14159.swf
    • textLayout_1.0.0.595 ????? 4.0.0.14159?
  • turned out Maven builds swc included
  • services configuration needed in Flex Project in order to work with BlazeDS – source/main/resources directory

    Phil 12.16.2010

    7:30 – 9:30VISIBILITY

    • Meeting with S33P folks Thursday the 23rd at 11:00
    • Brought in my other old windows box to Linuxify

    9:30 – 12:30 FP

    • Finishing paper
    • Ordered an audio oscillator and small amplifier kit. I had the thought last night that sound plus vibration could either augment the kinetic interaction, or possibly replace it. If that’s true, then it’s possible that we might be able to get by with simple force sensitive resistors, which would be pretty cool…

    12:30 – 5:30 VISIBILITY

    • Working on commons-net telnet sandbox application
    • Hmmm. MavenAssist isn’t creating eclipse-compatible jars. Looking into that.
    • Success!!!  To get the listing below, the program started telnet, logged in to 127.0.0.1, and sent the command ‘ls -la’ to the Cygwin intetd:
    • drwxr-xr-x+ 1 phil.feldman ????????       4096 2010-12-15 13:52 .
      drwxrwxrwt+ 1 phil.feldman Administrators    0 2010-12-15 13:26 ..
      -rw-------  1 phil.feldman Administrators  328 2010-12-16 17:02 .bash_history
      -rwxr-xr-x  1 phil.feldman ????????       1150

    Dong Shin 12.15.2010

    • set up dataObjectServer to use BlazeDS
    • use <finalName>${project.artifactId}</finalName> to build swf and war files, default is artifactId.version!!
    • trying to get blazeDS up and running…. looks like missing some jar files.

    Phil 12.15.2010

    8:00 – 4:00 VISIBILITY

    • Looks like the PPM new features meeting will be here Tuesday or Wednesday of next week at 11:00
    • PPM DB still growing and being used. After importing the data for Masha, no activity. Hmmm.
    • Let’s see if I can get the Cygwin telnet functioning…
      • Yes, after flailing until 2:00. In the end, I deleted the current install and pulled the version from the gatech ftp mirror. I think that the version at vatech may be corrupted.
    • Starting with the java user/telnet manager. I think it will need to do the following:
      • Create/Delete users. Note that this will have to be OS-specific.  In addition, in the case of cygwin on Windows, the user account will have to be added within cygwin as well by running mkpasswd as admin before the user can be logged in through telnet
      • Open a telnet channel on 127.0.0.1. Commands and responses go through this channel. For example “javac foo.java” is the command and error messages from the compiler are the responses.
      • Copy files from the client to the appropriate directory on the server (and with the correct permissions). This may require a pwd command to be run to determine where the user is. Or we do this all graphically (preferred), and keep track on the client
    • Spent some time pondering how apps might deploy using dynamically created virtual servers. Looks surprisingly straightforward?

    Phil 12.14.2010

    7:30 – 3:30 VISIBILITY

    • For the record, I’d like to state that it is too damn cold.
    • Fixed Masha’s data
    • Had a conversation with Christine about PPM. It looks like they are going to need a new section to track “real-time” inflows and outflows of cash from projects. Head’s up, Dong! Working on scheduling a meeting to go over things in detail.
    • Adding the Cygwin Telnet/Ftp server to my machine. So far, here are the steps (from http://www.wiley.com/legacy/compbooks/nilsson/InetdunderWindows2000.doc):
      1. Run “mkpasswd -l > /etc/passwd” at the Cygwin prompt.  This creates the passwd file which is similar in format and function to the Linux passwd file.  Run mkpasswd with no parameters for a usage summary.  You might need to add a -d parameter to grant domain users access.
      2. Edit /etc/passwd and delete everything but the accounts you want to have access permissions.  (In most cases, you’ll end up with only two lines in this file — your account and Administrator.)
      3. Make sure that your home directory (ie, c:cygwinhomephil.feldman) exists.
      4. Right-click “My Computer” and select Properties.  Click the “Environment Variables” button on the “Advanced” tab.  Add a new system variable…the name is CYGWIN and the value is “ntsec” (no quotes).  This tells Cygwin to use your Windows 2000 security.
      5. Add C:CygwinBin to the PATH system variable.  (Stick it at the end, separated from everything else with a semicolon (“;”)).
      6. Run “/usr/sbin/xinetd.exe –install-as-service”.
      7. Reboot!
      8. Well, that didn’t work. Started up the Windows Telnet server for now.  That’s just a matter of turning on the service.
    • Looking at the apache.commons-net package as my telnet interface

    Dong Shin 12.14.2010

    • working at home
    • DataObject
      • adding dependencies to the DataObject webapp project – lot more than Flex SDK 3.0?
      • modular webapp project doesn’t like properties…
        • set compiler using ${flexVersion} in SWF project
        • war project cannot figure out inherited ${flexVersion} property?
      • using 5.1.14 of mysql-connector-java, old 5.1.6 or 5.1.12?
      • using log4j 1.2.14, 1.2.15 causing missing artifact error!!!!
      • xerces 2.4.0 – org.apache.xml.*
      • found JDBC Utility for SQL ResultSet conversion to XML at http://www.developer.com/xml/article.php/10929_3329001_2/Converting-JDBC-Result-Sets-to-XML.htm
      • set up the server to post rest results in XML – done
      • downloaded the latest BlazeDS libs – 4.0.0.14931
        • flex-messaging-common.jar
        • flex-messaging-core.jar
        • flex-messaging-opt.jar
        • flex-messaging-proxy.jar
        • flex-messaging-remoting.jar
      • uploaded the BlazeDS libs to fgmdev.com repo – com.adobe.blazeds

      Phil 12.13.2010

      8:00 – 4:00 VISIBILITY

      • Spent some time with Brian on site this morning working out the details of what our server needs
      • Looking at ways to deal with interacting with the shell as a way of dealing with the server. Developers write code as text files that are compiled using whatever tools we integrate. Files are saved as files with some kind of namespacing. The key to all this is to have some kind of workable interface to the OS that is essentially a terminal window. From there we load commands, parse results, use command-line debuggers, etc.
      • Found a java telnet server that handles all the issues of sending commands to the OS and getting responses (and errors) back. It’s built around the same Runtime.getRuntime.exec() command that we are using in MavenAssist, just a lot more complete. It’s here: https://sourceforge.net/projects/pwts/. In addition to building a remote object around it, we should refit the version in MavinAssist.
      • Talked to Anne about Masha’s data woes. Promised to take a look at it tomorrow

      Dong Shin 12.13.2010

      • PPM Changes
        • Added Save/Don’t Save/Cancel Confirmations to Appropriations Mgmt and User Mgmt
        • Contract Management is self managed, no need for the confirmation
        • Resized Appropriations DG, added tooltips
      • using Maven to generate a project that can deploy a whole app at once
        • parent/child pom
        • cannot get the html wrapper mojo to work in war packaging
          • wrapperArtifact tag to be used, but sonatype documentations, ugh!
        • use maven-war-plugin to copy html over to war
        • build order is really important!
        • resetting project pom files

      Phil 12.10.2010

      7:30 – 4:30 VISIBILITY

      • Deployed Dong’s latest version. It still needs the following:
        • Appropriations Editor:
          • Needs Save/Don’t Save/Cancel for panel and appropriations closing
          • Columns should be wider. We have the room, and some of the text is falling off the edge. Also, add tooltips for cases wherethe text is too wide
        • User Management and Creation
          • Save/Don’tS ave/Cancel when panel is closed
        • Contract Management
          • Save/Don’t Save/Cancel when panel is closed
      • Backed up PPM
      • Talked to Mike about handling tooltips
      • Talked to Dong about the web-based IDE. He decided that he’d rather do the DataManager, so I’m writing up the IDE concept.

      Dong Shin 12.09.2010

      • PPM changes
        • Looked for browser height/width information. no native support. requires ExternalInterface between JavaScript and Flash
        • set the screen resolution to monitor resolution using systemManager.stage, refreshes on Show event
        • added Save, Don’t Save, Cancel to Alerts Create Project Panel and Funding Request Panel
        • clean up BudgetCenters buttons in BudgetCenterMgmtWindow
      • Smart Editor
        • created AutoCompleteList component
        • created AutoCompleteListItemRenderer, works different from mx itemRenderers!!!
        • AutoComplete pop up highlights and filters dynamically
        • still trying to figure out the position of the popup
        • got Y from GeometryUtil, X doesn’t look right, though.

      Phil 12.9.2010

      7:30 – 11:30 VISIBILITY

      • Deployed the new PPM. Found a couple of bugs
        • The “screen resolution” value is not showing the browser window size, it’s locked on the (fixed) application size. If we can’t figure out how to calculate browser size, we should probably delete this
        • The “Save? Dialog” that gets launched needs to match the new “Save/Don’t Save/Cancel” dialog. This should be the same for every save dialog in the application.
      • Backed up everything – another 1k of data
      • Starting the DataManager class

      11:30 – 3:30 FP

      • Finished transitioning the code from prototype 2 to prototype 3.
      • Put the fingers back on an worked with Tom on getting everything wired up and running. In the process, we probably killed the thumb and ring finger. At this point, the interface has the pinky and L/R palm control working – much fixing to do
      • Demo’d for class, which went well.