- 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.
Author Archives: pgfeldman
Mike 12.15.2010
- Fixed a problem with DynamicPanels getting lost to the right / bottom out of bounds of the application, as usual it was the parent’s fault
- Fixed several issues with panels getting states mixed up / display in the wrong size
- Fixed issues with making a panel minimized before adding it to the display list
- Got all the kinks out and DynamicPanel seems to be working well. Did not add any resize animation as I’m almost positive it would screw up any layout that contain them. Animations can be left to the layouts.
- Documented the hell out of the component. With documentaion and skin classes it’s 1,480 lines.
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?
Tom.DeVito 12.14.2010(cygwin inetd configuration)
This is how to get telnet running locally using cygwin:
- Install inetutiles and tcp-wrapper package for cygwin (Use the gatech ftp mirror).
- Run cygwin as Administrator or just run it if you have UAC disabled
- Enter the command:
-
cygrunsrv -I inetd -d "Cygwin inetd" -p /usr/sbin/inetd -a -D
-
Or try this: cygrunsrv --install inetd --path /usr/sbin/inetd --disp "Cygwin inetd" --args -D
-
- Open etc/inetd.config in VI and uncomment the line for telnet(should say “telnet stream tcp nowait root /usr/sbin/tcpd telnetd”)
- Now that the service is installed you can start it with
-
cygrunsrv -S inetd
-
- to start it or to stop it:
-
cygrunsrv -E inetd
-
- Run telnet and enter “open 127.0.0.1 23” enter your user name and password and the hippo should welcome you.
Permissions were not required to be changed because localhost has full permission by default. You may need to disable all the windows telnet features you enabled so that you don’t end up using the microsoft telnet client when you type telnet(best to do it anyways for security). One kinda annoying thing if you use this manually is that as you type it puts a space between each letter and doesn’t delete the console characters when you back space. I omitted a lot of stuff I did that I don’t think mattered in the end so if you have any problems tell me and I’ll figure out what exactly was missing.
Mike 12.14.2010
Started work on DynamicPanel for Flex 4 today:
- Started by making a Resizeable panel that extends the Spark TitleWindow
- Added logic for drag / drop moving of the panel
- added in a resize button and a listener to the title bar for double-click maximizing
- Created a SparkSkin to be the layout for the panel, including the buttons, title, content, and resize handle
- Tried to put the minimized and maximized dimension stuff in the skin but it turns out that if explicit(Width|Height) is set in actionscript, the skin can no longer resize itself
- This is a pretty annoying fact because if we want to reskin out minimizable panel down the road with, say, a title bar that’s smaller, we have to go in to the non-skin related code and change the minimized height instead of doing it in the skin where it belongs
- Started putting logic in for minimize/maximize/restore size and position but either I’m making a mistake saving/setting values, the transitions are screwing things up, or the states are getting mixed up/overlapped somewhere
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):
- 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.
- 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.)
- Make sure that your home directory (ie, c:cygwinhomephil.feldman) exists.
- 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.
- Add C:CygwinBin to the PATH system variable. (Stick it at the end, separated from everything else with a semicolon (“;”)).
- Run “/usr/sbin/xinetd.exe –install-as-service”.
- Reboot!
- 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
- The main project page: http://commons.apache.org/net/
- An article about commons-net with an example of how to create and use a TelnetClient: http://www.informit.com/guides/content.aspx?g=java&seqNum=40
- JTelnet is old and probably not supported, but might be useful for reference: http://sourceforge.net/projects/jtelnet/
- JavaSSH is less old and has more hits. Could also be useful: http://javassh.org
- Their javadoc: http://javassh.org/download/source/index.html
- Tom says that Telnet can be made secure by moving it to another port. Also that the xinetd application from cygwin is supposed to be secure.
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
Christine 12.13.2010
- On Friday, met with Dong who helped me get MavenAssist up and running; also learned more about POM files, dependencies, etc.
- Spent time Friday learning what MavenAssist is about
- Continued with MavenAssist today and tried to create an Air project with MavenAssist, which failed.
- Error thrown was that Flex plug-in was needed for Eclipse
- Contact Dong about Flex plugin and Eclipse version were compatible for Mac and installed on my machine (now I am using Flash Builder Burrito with Eclipse Helios 32-bit version.
- Ran MavenAssist again – another error.
- Now I’m told I MUST have Maven version 3 installed. And I thought I was set to go. If time permits tonight I’ll install version 3, otherwise the fun continues tomorrow.
- Am documenting the various environments and what works/doesn’t work (esp. for Mac users) so the environment setup craziness is kept to a minimum
Mike 12.13.2010
- Finished up the focusing / unfocusing of tooltips
- Combined the window dock and tooltipping so now docked windows will present a preview image in the tooltip much like Mac and Windows taskbars
- Need to work on remaking DynamicPanel for Flex 4
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
Mike 12.10.2010
Continued working on the tooltip system:
- Have it working so that any component can be embedded within a tooltip
- simply setting a tooltip’s text will make the text display in a nicer looking ‘bubble’
- put a video of Phil taken with my phone inside a tooltip as proof a tooltip can hold anything
- working on letting a user ‘focus’ a tooltip so it sticks around after moving the mouse away, almost done
Dong Shin 12.10.2010
- testing x, y points with SmartEditor
- helped Christine on general Maven stuff and MavenAssist
- went over DataManager with Phil
- updated DataManager requirements with server stuff
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
- Appropriations Editor:
- 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.
Christine 12.9.2010
- Downloaded MavenAssist and dropped into Eclipse Plugin directory
- Installed Tomcat
- Currently working on installing and setting up MySQL (recently updated OS so I needed to make a few adjustments to laptop sw)
- Reading through Sonatypes Maven documentation

You must be logged in to post a comment.