Tuesday, June 28, 2005

Eclipse基础--使用links方式安装Eclipse插件





�eclispe想必大家都很熟悉了,一般来说,eclipse插件都是安装在plugins目录下。不过这样一来,当安装了许多插件之后,eclipse变的很大,最主要的是不便于更新和管理众多插件。用links方式安装eclipse插件,可以解决这个问题。


�� 当前配置XP SP1,eclipse3.0.1



��
现在假设我的eclipse安装目录是D:\eclipse,待安装插件目录是D:\plug-in
,我将要安装LanguagePackFeature(语言包)、emf-sdo-xsd-SDK、GEF-SDK、Lomboz这四个插件。



��
先把这四个插件程序全部放在D:\plug-in目录里,分别解压。如Lomboz3.0.1.zip解压成Lomboz3.0.1目录,这个目录包含一个plugins目录,要先在Lomboz3.0.1目录中新建一个子目录eclipse,然后把plugins目录移动到刚建立的eclipse目录中,即目录结构要是这样的:D:\plug-in\Lomboz3.0.1\eclipse\plugins�



���Eclipse 将会到指定的目录下去查找 eclipse\features
目录和eclipse\plugins
目录,看是否有合法的功能部件和(或)插件。也就是说,目标目录必须包含一个
\eclipse
目录。如果找到,附加的功能部件和插件在运行期配置是将是可用的,如果链接文件是在工作区创建之后添加的,附加的功能部件和插件会作为新的配置变更来处理。




���
其它压缩文件解压后若已经包含eclipse\plugins目录,则不需要建立eclipse目录。




����然后在�eclipse安装目录D:\eclipse目录中建立一个子目录links,在links目录中建立一个link文件,比如�LanguagePackFeature.link,改文件内容为��path=D:/plug-in/LanguagePackFeature�
即这个link文件要对应一个刚解压后的插件目录。



说明:



 1.
插件可以分别安装在多个自定义的目录中。



 2. 一个自定义目录可以安装多个插件。



 3.
link文件的文件名及扩展名可以取任意名称,比如ddd.txt,myplugin都可以。



 4.
link文件中path=插件目录的path路径分隔要用\\或是/



 5.
在links目录也可以有多个link文件,每个link文件中的path参数都将生效。



 6. 插件目录可以使用相对路径。




���7.�可以在links目录中建立一个子目录,转移暂时不用的插件到此子目录中,加快eclipse启动。�



���8.� 如果安装后看不到插件,把eclipse
目录下的configuration目录删除,重启即可。



Saturday, June 11, 2005

km400+xorg+DRI:http://epia.kalf.org/


see a post @
http://forums.viaarena.com/messageview.aspx?catid=28&threadid=60045&highlight_key=y&keyword1=km400



hope maybe helpful:



Quote:Hi,

You should use VESA drivers if you want high resolutions
quickly.

If you want hardware 2D acceleration, need to patch your X windows
to a unichrome version (km400 has a unichrome graphics chipset). I
found this site very useful:
http://epia.kalf.org/ I run GENTOO, and there are all-in-one ebuilds
there.

If you also want 3D acceleration and video overlay, look
here:

http://forums.viaarena.com/messageview.cfm?catid=28&threadid=56855&STARTPAGE=1&FTVAR_FORUMVIEWTMP=Linear




Hope it helps,

Woek

____________________________________________________

Athlon XP 2000+, km400, Gentoo, 6.8.1-epia1, Xorg
6.7-unichrome



----------



i'll try :

wget
http://epia.kalf.org/portage/sys-kernel/epia-dev-sources/epia-dev-sources-2.6.7.ebuild



wget
http://epia.kalf.org/portage/x11-base/xorg-unichrome/xorg-unichrome-6.7.0-r20.ebuild



wget
http://epia.kalf.org/portage/sys-kernel/epia-drm-update/epia-drm-update-1.3.0-r1.ebuild



----------



DRI:


http://dri.freedesktop.org/wiki/Download#head-3f560e283d15911e1388fbf2c9b47a50422bfea7





Binaries

Snapshots

Nightly snapshots of the DRI drivers for Linux are available from
http://dri.freedesktop.org/snapshots/.
You need to download and install the correct snapshot for your
graphics card and a "common" snapshot in order to get all new DRI
features. The "common" snapshot does not need to be updated as
frequently as the card-specific snapshot.



Note: If you are using a radeon 8500 or
higher (8500, 8700, 9000, 9100, 9200, IGP9100, etc.) choose the
r200 shapshot, otherwise choose radeon (7000, 7200, 7500, IGP320,
IGP340, etc.).



Note: If you have a i830/45/55 graphics
chip you now need the i915 snapshot. The i830 driver is deprecated
and no new snapshots are produced for it.



Upgrading to X.org

Binary snapshots only work with a recent X.org X server. If you're
running a version of XFree86 then you must install an X.org server
(Xorg.bz2) and driver modules (Xorg-modules.tar.bz2).



Note: It is important that you install
X.org before you install the actual binary snapshots.



Note: After installing this upgrade X.org
will have no graphics drivers. You need to install the snapshots
(both common and the one for your graphics card) in order to make
X.org work.



This is how you install Xorg and
modules.tar.bz2:



Download Xorg.bz2 and
modules.tar.bz2.



Make a backup of /usr/X11R6/lib/modules
and move it out of the way.



Uncompress Xorg.bz2, copy it to
/usr/X11R6/bin and set permissions.



Uncompress Xorg-modules.tar.bz2 in
/usr/X11R6/lib.



Make a symbolic link from /etc/X11/X to
/usr/X11R6/bin/Xorg.



Copy XF86Config-4 to xorg.conf and change
the keyboard driver from "keyboard" to "kbd".



The following sequence of commands should
work in bash:



wget http://dri.freedesktop.org/snapshots/extras/Xorg.bz2


wget http://dri.freedesktop.org/snapshots/extras/modules.tar.bz2




bzip2 -d Xorg.bz2

cp Xorg /usr/X11R6/bin

chmod 4755 /usr/X11R6/bin/Xorg



mv /usr/X11R6/lib/modules /usr/X11R6/lib/modules.backup

tar -C /usr/X11R6/lib -xjf modules.tar.bz2



cd /etc/X11

rm X

ln -s /usr/X11R6/bin/Xorg X

cp XF86Config-4 xorg.conf

<edit xorg.conf>



laterly find

http://www.epiawiki.org/wiki/tiki-index.php


maybe i should try
epiam-sources-2.6.11-r5.ebuild



wget
http://www.epiawiki.org/wiki/tiki-download_file.php?fileId=15



--------------



quickpkg xorg-x11



备份xorg-x11.安装xorg-unichrome


Thursday, June 09, 2005

3:1 巴西面


没有马拉多纳,巴西就不行了?



想起了巴蒂



Don‘t Cry for
Me, Argentina