Category Archives: Projects

Phil 8.4.2010

7:30 – 9:30 – VISIBILITY

  • Made and account for Paul O. and sent him an email describing VISIBILITY
  • Sent Clift a writeup describing my understanding of the Paul O. project.

9:30 – 2:30FP

  • Going to start with holding torque on the wrist and then work on talking to the fingers
  • Got all the motors working, and moving to a home position
  • Built a servo motor controller class, but still trying to figure out how to deal with up to 8 axis.

2:30 – 4:00 OH/Savage Mill

  • Meeting with Larry and Steve to go over the new space

4:00 – 5:00 VISIBILITY

  • Put together CD for Brian WRT CATWALK billing

Mike 8.3.2010

  • Still working on the autocomplete text area with a number of headaches arising
  • Created a function for grabbing the compare string out of the text which can then be passed to the filterFunction, unfortunately there is apparently a decent delay between when a user types in a character and when it is actually added to the textField so I was constantly one character behind for awhile until I learned about the “callLater(function)”.  Ah event based programming…
  • Keys a user would usually use for navigating the and selecting from the drop-down list also move the text cursor around and add carriage returns so I put in functions to undo the adverse effects after they’ve completed.  Unfortunately I believe these will only work with word-wrap off which is fine for a code/script editor.
  • After that was done everything seems to be working fine except for the positioning of the pop-up is still in the top right corner and not near the cursor

Phil 8.3.2010

7:30 – 3:30

  • Hope to finish up MvnAssist today. Got my fingers, toes and eyes crossed.
    • Had to change the source directory in the .actionScriptProperties file to get package names agreeing between FB and maven, but libraries work now.
    • Tested Non-server apps. Still working
    • Got Air apps incorporated. They compile, but don’t run. Don’t know enough about Air to really pursue this, so I’m going to leave this be.
    • Produced new plugin. We’re at version 1.9.0. Checked in. You’ll need to have the following components set in your maven settings.xml file

<profile>
<id>VisibilityProfile</id>

<properties>
<javaVersion>1.6</javaVersion>
<flexVersion>3.7.1</flexVersion>
<flexMojoArchetype>3.7.1</flexMojoArchetype>
<flexMojoArchetypeRepo>http://repository.sonatype.org/content/groups/public</flexMojoArchetypeRepo&gt;
<mvnAssistUrl>http://viz-n.com/mvnAssist</mvnAssistUrl&gt;
</properties>

</profile>

  • Seeing if I can get subversion working with this install. Done.

Phil 8.2.2010

7:30 – 4:30

  • Working on the security error for launching swfs. Well that’s interesting. After checking for differences (and finding none) I did a clean and rebuild to find that everything is working. Hmmmm.
  • Adding MXML Application. Done, and it works. Can’t seem to get the html-template to create automatically
  • To specify the browser for your App, Window>Preferences>General>Web Browser.
  • Fixed the path information when assembling build-path information from the pom
  • Put together a technical drawing for a bulkhead
  • Did a little furniture browsing

Mike 7.30.2010

  • Still working on autocomplete text area
  • Have a popup list with options popping up correctly when I press ctrl+space, may add smarter logic for this later but this seems fine for now
  • Popup currently always appears in the top right corner of the text area.  Finding the x-y position based on the caret index in the text field may prove complicated so I’m saving it for once the proof of concept is working

Phil 7.30.2010

7:30 – 5:00

  • Demo’d new version of PPM
    • Entry forman need to extend years to match the number of years in the appropriation goals
    • Summarize by appropriation, and add the appropriation to the summary title
    • FY line needs to be between Sept and Oct. (or we need to switch to tabs)
    • The number of years there is funding for should dictate the number of entry forms there are. If the budget has a few years where the funds are zero, those don’t need to be shown. There is at least one project that has a budget for 8 years
    • Need to be able to add FY years to an existing project
    • If the PM doesn’t hit a goal, a dialog needs to pop up asking why. There are apparently 5 questions that will be provided to us next week
  • Walked through changes with Dong. He thinks this will take two weeks., and is going to take the opportunity to rewrite the financial entry form.
  • Filled out radio expense report. I am getting *nothing* done today…
  • We got fgmdev.com on Steadfast! Looks nice and fast.
  • More MvnAssist
    • Putting a POM inside an existing project does not work. I can’t get it to build with maven
    • It looks like the installation of FB4 has broken flexmojos. They look for template files that they can’t find.
    • Going back to trying to import working project files, since nothing else looks like it will work.
    • It looks like the problem may be tied to the compiler settings. When I try to see them, I get a null pointer error. Also the build path window flags an error as well
    • Not making the path to the pom files correctly. Need to include the version and other bits when assembling the string in PomDom.flexMojosStandin().
    • I may be getting grief from the server settings. Falling back to creating a non-server project. That compiles and runs. I have to make the html container, but FB puts that in for you. There is a security problem:
      • SecurityError: Error #2148: SWF file file:///C:/Users/phil.feldman/Desktop/test/myProject2/bin-debug/Main.swf cannot access local resource file:///C:/Users/phil.feldman/Desktop/test/myProject2/bin-debug/framework_4.0.0.14159.swf. Only local-with-filesystem and trusted local SWF files may access local resources.

Phil 7.29.2010

7:30 – 5:30

  • Helped Clift out with MvnAssist
  • Walked through PPM with Dong. Burned a CD for deployment tomorrow
  • Back to MvnAssist. Built a zip inflator. turns out that you have to build the directories and set the permissions on them with File() before you put the files in with FileOutputStream.
  • Worked on the design of the new office with Brian

Phil 7.28.2010

7:30 – 4:00

  • Coordinating with Clift about getting Flex projects working with Maven
  • Can’t get a flexmojo archetype for Flex to behave with Flashbuilder4. The compiler throws a null pointer error and neither Dong or I can really see why. I’m going to try a different strategy and see if I can just pull down a full basic project as a zip file, change some things and use that.
  • Ran all the properties files through dom4j. They all still work
  • Wrote a file downloader
  • Tomorrow, write an unzip method.

Mike 7.27.2010

Working on AutoComplete TextArea:

  • There doesn’t appear to be any open source (or even publicly visible closed source) text areas with an auto complete popup
  • There are at least 4 auto complete text input components that function a great deal like ComboBoxes
  • The best of which seems to be: http://web.me.com/hillelcoren/Site/Demo.html
  • I’ve started using this example to create a custom TextArea that will have similar behavior
  • I estimate this component will be around 1500 lines and take at least a week (433 lines so far)

After that’s done there are 2 parts left I can think of:

  • Figure out when to open the autocomplete popup (may depend on language).  For example, the Flex one opens after a period, colon, typing “override public function”, hitting ctrl-space, and probably other special occasions.
  • Figure out what to use as the dataprovider (auto complete insert options) which will definitely be language and possibly context specific

Phil 7.27.2010

8:00 – 4:30 VISIBILITY

  • John Gresh is leaving S2F
  • Walking through all the project creation/updates for MvnAssist
  • Did a quick test of flexmojos:flashbuilder. It couldn’t find com.adobe.flexunit:flexunit:0.85 and choked. Odd, because it’s right there in repository.sonatype.org/content/groups/flexgroup
  • Added some e4x capabilities to PomDom, since don4j’s is throwing exceptions. You can now search for an element with a fully qualified path name, and also get the fully qualified path name from the Element
  • Went to Savage Mill to check out the space. Need to put something together in Sketchup

Phil 7.26.2010

7:30 – 4:30

  • Got a head’s up from Clift about VISIBILITY being used in his project
  • Working the flexmojos bugs out of MavenAssist.
    • I think I got an auto-refresh forced when flexmojos is run. It’s in MvnAssist.saveFlexProjectFiles(). You get the WorkspaceRoot from the ResourcesPlugin, get the path and then the Ifile that points to the .actionscriptProperties file and calls refreshLocal on that.  This page was really helpful: http://wiki.eclipse.org/FAQ_When_should_I_use_refreshLocal%3F
    • Moved the refresh method to SwtUtils.java
    • Discovered a Flexmojos:flashbuilder goal that appears to extend the flexbuilder goal. Need to look into that some more
    • Got all of the project files into the right place, now I need to verify that all the substitutions are working.
    • Flailed against a problem where maven was taking a long time looking for help plugins, but now the problem has mysteriously gone away
  • Need to do self-review – done

Phil 7.23.2010

7:30 – 1:30 VISIBILITY

  • It did look like some people read the writeup I did on new capabilities yesterday. There were several edgeDemo logins yesterday scattered through the day
  • Working on adding dependencies in the .actionscriptProperties file. Got most of the pieces working, but not quite right. I think I’m deleting too many of the original <libraryPathEntries>. The <excludedEntries> are getting blown away

Phil 7.22.2010

8:00 – 4:30 VISIBILITY

  • Didn’t get called for Jury Duty. Yay!
  • Wrote up a description of new VISIBILITY capabilities for the customer. Information/Advertising
  • More flexmojo substitution
    • Pulling out old Create Project code – done
    • Build path entries are in .actionScriptProperties under <libraryPath>. Here’s EdgeUtils in my repo. Will need to interrogate the pomdom to get/set this. We’ll also need to trap flexmojo calls in the main app.
      • <libraryPathEntry kind=”3″ linkType=”1″ path=”C:/Phil/m2/repository/com/edgeti/EdgeUtils/EdgeUtils/1.0/EdgeUtils-1.0.swc” useDefaultLinkType=”false”/>
    • Got the project files (without adding libs to the library path) created for a library project.