Skip to main content

Posts

Showing posts from January, 2008

cvs server on ubuntu gutsy

Note for my first time setting up cvs server on ubuntu gutsy. CVS, a version control system, allow you to work on sourcecode with your team. To install it on ubuntu, we need two packages from repos, cvs and the wrapper. pnix@pnix-a7n:~$ sudo aptitude install cvs cvsd [sudo] password for pnix: Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done Building tag database... Done The following NEW packages will be installed: cvs cvsd 0 packages upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 1756kB of archives. After unpacking 3973kB will be used. Writing extended state information... Done Get:1 http://th.archive.ubuntu.com gutsy/main cvs 1:1.12.13-8 [1669kB] Get:2 http://th.archive.ubuntu.com gutsy/universe cvsd 1.0.13 [87.4kB] ... Building tag database... Done pnix@pnix-a7n:~$ ...

include external jar into your own exported jar

One problem that almost java guys have is create jar with external jar include. In eclipse it has export function to export project but there's no way to add external jar with this method. Today I found one solution, the project Fat Jar Eclipse Plug-In can take care this problem. Installation is just unzip it to eclipse folder then restart eclipse in shell or command line with this command "eclipse -clean". Now your eclipse already have fatjar plugin. To use it export the project, from your package explorer, right click on your project and select "Export...". You will get "Export Dialog"[see pic], choose Other->Fat Jar Exporter. From here you will know what to do next.:)