Search This Blog
Monday, October 31, 2011
Setup Jboss port with NetBeans
Have a look on: http://mochamatari.wordpress.com/2011/01/31/netbeans-6-9-jboss-5-1ga-and-port-issues/
It holds for NB7.0 and Jboss AS 6 and/or 7.
Sunday, January 9, 2011
JavaOne Bejing December 2010
| Getting ready to start |
To be honest with you, I didn't spend all our time at the conference only, of course :). You can imagine how good tastes Tsingtao beer after such a day at the conference, even if it is a bit "waterish" :). A good time in the evenings was guaranteed since I had chance to have a dinner with Java evangelists and once when we weren't too tired we dropped in a cosy jazz bar in the city center. Well, 4 days is not enough :).
![]() | |
| Terrence and Roger on Great Wall |
And if you think about traveling to Bejing, here are some advices I picked up on the airport:
1. Bring some Euros or Dollars. You will need them in case ATM will decide not to give you money ;).
2. It is not as warm as you may think. And if you think +5 is still OK then forget about it in windy and humid Beijing.
3. Write down name and address of hotel in Chinese letters ;)
It's really pity I had only 4 days at conference and then only 3 days off. But the country is marvelous and I'll be back :). So China, start using NetBeans and hope to see you guys at JavaOne once ;).
Links
Download NetBeansReal stories from NetBeans developer
Why to switch to NetBeans
Labels:
conference,
Java,
JavaOne,
OpenWorld
Location:
Beijing, China
Thursday, January 6, 2011
How to get rid of __MACOSX metadata folder?
I was developing a NetBeans Zend Framework sample on Mac OSx and run into strange problem. Zipped directory contains metadata and unzipped folder has different structure as requested. I always got one more directory called __MACOSX after unpacking archive. You will not face this problem if you unpack using MAC archiving utility. But if you use this utility to pack and then you unpack under another OS or using another utility you most likely will get into troubles. Most problems are with automated unpacking because desired data are elsewhere then where you are looking for it.
As far as I understood what I googled up, metadata in archive are only stored when compressing a folder using Archiver utility. So, basically, when you create archive using "compress" from pop-up menu. They are created before, when you create a folder or a file. Metadata are stored in .DS_Store (Desktop Services Store) files.
So what to do about it? Solution is actually simple, use command-line zip utility to zip your folder and you should be good. Don't forget to delete metadata files .DS_Store before.
test how unzip behaves
if there are no .DS_Stores file and/or __MACOSX directory then you should have archive without metadata and you should be good to go without worries :).
Wikipedia on metadata
Mac OS X Resource Fork and Command Line Tips
As far as I understood what I googled up, metadata in archive are only stored when compressing a folder using Archiver utility. So, basically, when you create archive using "compress" from pop-up menu. They are created before, when you create a folder or a file. Metadata are stored in .DS_Store (Desktop Services Store) files.
So what to do about it? Solution is actually simple, use command-line zip utility to zip your folder and you should be good. Don't forget to delete metadata files .DS_Store before.
rm -rf `find . -name .DS_Store`
zip -r archiveName.zip *
test how unzip behaves
mkdir unzip-test
unzip archiveName.zip -d unzip-test/
if there are no .DS_Stores file and/or __MACOSX directory then you should have archive without metadata and you should be good to go without worries :).
Links
Wikipedia on metadata
Mac OS X Resource Fork and Command Line Tips
Location:
Prague, Czech Republic
Subscribe to:
Posts (Atom)
