發表文章

目前顯示的是 4月, 2008的文章

Error retrieving feature.xml in Eclipse--Using Software Updates and then Find and install

If you are using Eclispe, maybe you will meet such error after you have installed a Eclipse plugin: Error retrieving "feature.xml". [error in opening zip file] When you open Help->Software Updates->Find and install to install a new plugin, this error will cause that you can not install the new one. What is the problem? Do you remember how did you install the last Eclipse plugin? I guess you download the package and unzip or just put it into Eclipse's directory, without using the Software Updates tool in Help menu in Eclipse. 1. Delete the site.xml file in your Eclipse directory. 2. Run Help->Software Updates->Find and install, the error will not appear. If the plugin has the official site, from where you can install it in Eclipse using Help->Software Updates->Find and install, I sugguest that you should not download it yourself and unzip it into your Eclipse directory. For example, EclipseMe, you can refer to http://eclipseme.org/docs/installEclipseME.

Tomcat並存

到 tomcat_home/conf/server.xml 中修改兩個地方 1. <Server port="8005" shutdown="SHUTDOWN" debug="0"> 預設是 8005,你可以調整成 8006, 8007, ...。 2. <Connector port="8080" .../> ,你必須用不同的 port 才行。

NS2 for Eclipse

Eclipse is an open source development platform comprised of extensible frameworks, tools and runtimes for building, deploying and managing software across the lifecycle. A large and vibrant ecosystem of major technology vendors, innovative start-ups, universities, research institutions and individuals extend, complement and support the Eclipse platform. Set up NS2 for Eclipse under Linux: Download Eclipse SDK Download Eclipse C++ Development Tooling Extract Eclipse SDK to a folder, i.e. /home/username/eclipse Extract Eclipse CDT to the same folder Download NS2 Extract NS2 to a folder, i.e. /home/username/ ns-allinone-2.29 Edit Makefile if necessary (see note below for details) Build NS2 Start Eclipse Choose your ns2 folder as your workspace folder, default:/home/username/ ns-allinone-2.29 Create new C++ Project Select File->New->Project... Select C++->Standard C++ Make Project Click Next Enter ns-2.29 as your project name Click Finish Create a Launch Configura