How to Set Up Netty? - eclipse

I'm trying to figure out how to use the Netty API with Eclipse and this might sound really dumb but how do I set it up?
I found the download link here: http://netty.io/downloads.html and downloaded the latest version which has a file extension of .tar.bz2 but I'm not sure what directory I'm supposed to place it in and what to do with it now.
Any help will be appreciated!

if you extract the archive you'll find a jar in there like netty-all-5.0.0.Alpha1.jar in the all-in-one folder. Just put this in your build path.

Related

Joomla 3 custom plugin installation: add a folder with images from zip to images folder

My custom plugin needs add a folder with images in "images" folder of joomla. Is this possible and if yes how can i tell my install script to take this folder and copy it in images path?
Ok i found a way to do it . In my xml file i added
<media folder="" destination="../images">
<folder>testfolder</folder>
</media>
The primary issues being how to include an archive file with your installation package and then how to deal with zip files using exclusively PHP functionality to un-package and place where you want them.
EDIT
I made an error, the original link didn't contain the required information to create installation scripts to run during your extensions install. The new second link is however specific to doing this. I would recommend storing the images somewhere in you installation package, and manually moving them during installation to where you need them in the images folder using one of the available methods to hook into.
Sorry for the error, good luck!
http://docs.joomla.org/Package
http://docs.joomla.org/J2.5:Developing_a_MVC_Component/Adding_an_install-uninstall-update_script_file

How to install the Xpand in Eclipse?

I m trying to install Xpand in Eclipse. I am doing it through update manager. However the download stack at around 29%. I use the following link:
http://download.eclipse.org/modeling/m2t/xpand/updates/nightly/
Alternatively I downloaded the zip file from this link:
http://www.eclipse.org/modeling/m2t/downloads/?project=xpand
Then I tried to do install->new software-> Add -> Archive and I pointed at the zip file. I thought that this would gonna work since it uses the local zip file.Again it stucks around 29%.
Now I am thinking to manually add the plug-in to the eclipse but I m not sure how:
The content of the zip are:
- binary(folder)
- features(folder)
- plugins(folder)
- artifact.jar
- content.jar
I know that I have to copy the features and the plugins folder in the corresponding ones in the eclipse folder. However I don`t know what to do with the binary(folder) and the artifact.jar/content.jar files.
Anybody could help me out please?
Thnx
I don't know why the installation is getting stuck at 29%. It may be a firewall/proxy problem on your end, or it may be corrupt metadata in the archive. It's worth following up on the Xpand mailing list or forum.
But, if you want to install it, you can unzip the archive into your dropins folder inside of your eclipse. This will work unless Xpand requires any third party jars.
i use this updatesite for xpand install. and it works well
xpand - http://download.eclipse.org/modeling/m2t/xpand/updates/
go to menu:
help-install new software-(add the link)-select all-finish

Where is the bin folder of GWT Internal Jetty Server in DevMode?

I need to put some property files (config file required by a library) in the starting path of the Jetty server in DevMode but could not figure out where to put them. Where should I put them?
I googled but no luck for that. Any help is appreciated.
You need to share your project set up information. Maven? Also mention whether property file is for app or jetty and what you are trying to achieve.
Also you can try putting up the properties file in web-inf/classes if it is project specific.
I am guessing you are not using any standard GWT project set up. It will be very difficult to proceed further even if you get this solved. I recommend you should go with gwt standard set up. You can reference GWT samples folder from here.
Use Hello project set up as template. If you are beginner also read up on https://developers.google.com/web-toolkit/doc/latest/RefCommandLineTools#webAppCreator.
If you use maven in your project, placing them in the src/main/resources should work.
Otherwise put it in your WEB-INF/classes

Weka in Eclipse (for my Google App Engine)

I have never used Weka, but for my GAE Project I'm going to need it. I checked jar files on Weka website to use in Eclipse but I'm not sure which one should be downloaded. So I checked another web site and there are lots of jar files about Weka. I'm looking for a basic version of it. Could you please tell me which one is best for me. Here the links for download:
http://grepcode.com/snapshot/repo1.maven.org/maven2/nz.ac.waikato.cms.weka/weka-dev/3.7.5
http://www.cms.waikato.ac.nz/ml/weka/
All files of Weka:
http://sourceforge.net/projects/weka/files/
Thank you.
You should download all project, then build it by maven.
You can use SVN to checkout code from this link:
https://svn.cms.waikato.ac.nz/svn/weka/trunk/weka

How to install JScience library in Eclipse?

Or just any library, in general? I downloaded the bin.zip file, but I can't seem to do much with it? This is driving me up the wall...
EDIT: In other words, there is no "standard" way to do it? I know how to add the Jar files, is it ok to just put them (and the docs) anywhere?
Shouldn't be much harder than putting the JARs into your project build path.
Unzip the archive and put the JARs where Eclipse can find them.