- continued with Maven/Flex Air issue on Windows. One of the suggestions found regarding the error was that the user has never run an Adobe Air app on the machine before. This most definitely was the case for me (being my Win install was new). After installation the Air app, I re-ran AirFileImageAppMaven. That was a success, except I need to reproduce the error since Phil was unable to get it to run on his machine.
- Sent Phil an email with findings and asking about his development environment (which version of Eclipse is used, etc). Will be setting up my development Win environment to match so that I can build/install in Windows (rather than using the build from my Mac) to see if I can reproduce the error.
Category Archives: Uncategorized
Dong Shin 01.05.2011
- PPM Changes
- continue working on DBMgmtPanel
- list of tables in the PPM database
- retrieve 35 records at a time
- search currently displayed data added
- delete working
- update working
- more table restructuring investigation
- ALTER TABLE children ADD CONSTRAINT fk_parent_keyfield FOREIGN KEY (parent_keyfield) REFERENCES parent (keyfield) ON DELETE NO ACTION ON UPDATE CASCADE
- parent_keyfield must be indexed!!!
- continue working on DBMgmtPanel
Christine 01.03.2011
- Continued reading up on Eclipse plugins; went through exercises in the book and a few online (for later editions of Eclipse) to familiarize myself with plugins
- Began working on Maven/Flex issue on Windows side
Christine 12.30.2010
- Met with Phil to see if building AirFileImageApp with Maven works on Windows. It doesn’t (will Windows and Mac every play nice). Will work further on task to get it working on Windows
- Phil talked about IDE project and different pieces that will be needed to complete. Will work on Maven parser once other task is complete
- Phil also showed me how the other projects work so I can get a better understanding of what currently exists, what’s in the works, etc.
- Was given Eclipse Plug-ins book so I can read up on and get more familiar with how Eclipse plug-ins work
Phil 12.30.2010
7:30 – 4:00 VISIBILITY
- Imported Anne’s spreadsheet. One column had paragraph-length descriptions, which wouldn’t fit in the DB. Not sure if this needs to be fixed or not…
- Working with Christie to see if her mavanized air app will compile and run on my machine. Close – It compiles but the air app does not install properly. Also an issue with getting the assets directory and its contents into the project
- Got my sandbox applet up and running. Much easier when you know what you’re doing. Next step is to upload and download binary data.
Christine 12.28.2010
- Continued working on Mavenizing AirFileImageApp
- Received 3 errors:
- Content error in AirFileImageApp-app.xml. Changed generic “this text will be overwritten…” to ${output} and error fixed.
- Received Error 303 : assets/BlackEye16.png (32, 48 & 128 too) Icon Missing from package. After looking into several possibilities (none of which applied to this issue), commented out the icons for now and it worked. This also ended up eliminating the 3rd error which said “failed to execute flexmojos-maven-plugin3.8:sign-air”
- Ran several clean installs and they all build the application successfully.
- Will write up exactly what was done to get application to execute via maven
- Received 3 errors:
- Downloaded lastest MavenAssist patch. Still have the same issue where app is not reading archetypeRepository from settings and using 4.0. The app just does not want to play nice.
Christine 12.27.2010
- Worked with Dong on MavenAssist issue. Problem is that flexmojos-maven-plugin 4.0 was being used by maven, rather than 3.8 (which is specified in settings). It appears MavenAssist isn’t reading my archetypeRepository settings. Immediate fix: added in archetypeRespository setting into MavenAssist archetype command so that flexmojos-maven-plugin 3.8 is found and used, rather than latest one.
- Reading through AirFileImageApp code
- Reading up on how to run a Flex Air application via Maven. Made first attempt and all went well until reached digital signature of application. Reading up on manually creating the certificate for flexmojos-maven-plugin:sign-air to work. Created cert, but sign-air still failed to execute
Tom.DeVito 12.27.2010
Notes on self-extractors
Here are some ways to make self-extracting files in windows and linux.
Windows
- No free viable solution so far… Was going to use IExpress(this is what i was talking about last thursday), but you can only add files not directory structures which needless to say is terrible.
- WinRar can make self-extracting files but they will not auto execute an installer.
- Winzip self-extractor(not what comes with the standard winzip package) is a very good option but files made with the trial version are not licensed for distribution. Full version cost $50.00
Windows is super annoying when it comes to compressing and decompressing files. For whatever reason all of the more standard tools either don’t support directory structures or are not accessible via the command line.
Assuming that you are not trying to make a self extractor, and just want to compress or decompress files from within your program, the files found on this site will help:
http://stahlworks.com/dev/index.php?tool=zipunzip
Just drop them into your programs root directory and call it through the shell. A lot of people like 7-zip for command line compressing and decompressing, but 7-zip needs to be installed in order to work whereas the zip.exe and unzip.exe files are completely self contained.
Linux
- http://www.linuxjournal.com/node/1005818 provides a good tutorial on this. I have not tried this yet but when I do I will append this post with notes on the process.
Linux is comparably much easier than windows. I am pretty sure that all linux distributions come with tar. Basically all you do is tar the file and then vi into it and add your self executing script to the beginning. The tutorial above tells you to make a script that will run after decompression but this could be a program too.
Christine 12.22.2010
- Apparently I was missing Flex SDK 4 plugin (had hero 4.5 and flex 3.5). Downloaded and added to Eclipse. Now FGMUtils works.
- Still looking into flexbuilder goal error with MavenAssist create project.
Tom.DeVito 12.17.2010(Ubuntu notes)
Problem:
Set up telnet so it can only be used by localhost
Solution:
- sudo apt-get install xinetd
- sudo apt-get install telnetd
- add the following to /etc/xinetd.conf:
service telnet
{
socket_type = stream
protocol = tcp
wait = no
user = root
server = /usr/sbin/in.telnetd
only_from = 127.0.0.1
}
- sudo /etc/init.d/xinetd restart
- should work from there.
Discussion:
The apt-get install command is the command used to download packages for ubuntu and debian. There are many packages that can achieve the goal of getting telnet to work only for the localhost, but xinetd seems to be the best one. Unlike standard inetd, xinetd does not use hosts.allow or inetd.conf. Instead it uses xinetd.conf to do both the service settings and the firewall settings. If you wanted the telnet server to be accessible by anyone you can take the only_from line out of the service configuration. Other services can be added to this file as well such as ftp.
- In order to get ftp working you will first need to get the package by running sudo apt-get install ftpd.
- add the following to /etc/xinetd.conf
service ftp
{
socket_type = stream
protocol = tcp
wait = no
user = root
server = /usr/sbin/in.ftp.d
}
- restat xinetd by running sudo /etc/init.d/xinetd restart.
Its basically the same idea but we aren’t restricting the access to only the localhost like we did for telnet, so the only_from line was removed.
Root Access
- Root has some undefined password by default. Run sudo passwd to assign UNIX password.
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.
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.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
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
Mike 12.9.2010
- Created a layout of 4 sample applications and saved off the layout as xml and was able to reload it after restarting, should work for a demo
- Learned a bit about Catalyst and tried making a skin with it. It’s not as flexible as I hoped. You can only create a very basic flex app with buttons, slides, and text inputs. I was hoping to create a whole theme by drawing panels, etc. in illustrator and converting them to flex skins.
- Started creating a Mac-ish dock component for minimizing windows, it’s working pretty well but needs more flair
- Started working on a tooltip overhaul which is needed for the dock component. Need tooltips that can contain more than just text and better looking tooltips won’t hurt anything else.

You must be logged in to post a comment.