Thursday, May 3, 2012
packaging with value jar is invalid ?
While trying to build my new project using maven, I got "packaging' with value 'jar' is invalid" error.
I have a parent pom and a separate pom in each modules' folder; but in none of my pom files, I set packaging as "jar".
After googling a little, I saw that the default packaging is "jar" and in the parent pom I didn't specify any packaging type.
So it uses "jar" as packaging type of the parent which is wrong.
After adding "<packaging> pom <packaging>" to my parent pom's attributes, the maven error is gone.
Monday, February 6, 2012
8 reasons for switching to git
Do you use SVN? CVS?
Have you ever heard of GIT? If you want a short but good description why you should use GIT check this link
Have you ever heard of GIT? If you want a short but good description why you should use GIT check this link
Wednesday, December 7, 2011
test your http posts
Recently, I write an HTTP client for making post requests. Then I search for a way to test it. It's possible to write unit tests of course but that would be great if I see the real deal. Then I find 'Henry's HTTP Post Dumping Server'. Using his server you can easily test your post request and see its content.
Saturday, December 3, 2011
mongodb is evil?
NoSQL databases were quite popular (with cloud computing and scala) at this year's devoxx and one of these databases was MongoDB. The way you define your models with json-style and the performance benefits seemed like the real power of MongoDB but the following article states that you should reconsider your choice if you choose MongoDB in something other than a toy project. See if mongoDB is evil.
Monday, November 28, 2011
flex likes surprises
Recently I got an odd error while working on flex.
While debugging, I saw that the following code seems to have a value in "container.eGrid.selectedItem" part. It's populated with an object of type MyObject.
But "e" of type MyObject is null. Seems nonsense right? I'm just setting what's in right to left.
A bit later, I saw that I mapped MyObject to a wrong java remoteclass. When I fixed this issue my "e" variable got populated.
While debugging, I saw that the following code seems to have a value in "container.eGrid.selectedItem" part. It's populated with an object of type MyObject.
But "e" of type MyObject is null. Seems nonsense right? I'm just setting what's in right to left.
A bit later, I saw that I mapped MyObject to a wrong java remoteclass. When I fixed this issue my "e" variable got populated.
var e:MyObject = container.eGrid.selectedItem as MyObject;
Subscribe to:
Posts (Atom)