﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>BlogJava-菠萝三国-随笔分类-Eclipse</title><link>http://www.blogjava.net/boluobn/category/25698.html</link><description>大江东去,浪淘尽...</description><language>zh-cn</language><lastBuildDate>Thu, 24 Jan 2008 21:03:52 GMT</lastBuildDate><pubDate>Thu, 24 Jan 2008 21:03:52 GMT</pubDate><ttl>60</ttl><item><title>eclipse配置weblogic(转)</title><link>http://www.blogjava.net/boluobn/archive/2008/01/24/177510.html</link><dc:creator>菠萝</dc:creator><author>菠萝</author><pubDate>Thu, 24 Jan 2008 07:33:00 GMT</pubDate><guid>http://www.blogjava.net/boluobn/archive/2008/01/24/177510.html</guid><wfw:comment>http://www.blogjava.net/boluobn/comments/177510.html</wfw:comment><comments>http://www.blogjava.net/boluobn/archive/2008/01/24/177510.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/boluobn/comments/commentRss/177510.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/boluobn/services/trackbacks/177510.html</trackback:ping><description><![CDATA[<font color="#555555">安装WebLogic8.1 <br />
安装WebLogic比较容易，在这里就不再累述了，大家可以参阅相关文档。现在着重讲一下WebLogic的配置，因为后面在配置MyEclipse时将用到这里的有关信息。 <br />
(1)运行开始\程序\BEA WebLogic PlatFORM 8.1\Configuration Wizard。 <br />
(2)选择Create a new WebLogic configuration，下一步。 <br />
(3)选择Basic WebLogic Server Domain，下一步。 <br />
(4)选择Custom，下一步。 <br />
(5)在Name处输入admin，Listen Address处选择localhost，以下两个Port均采用默认值，下一步。 <br />
(6)选择Skip跳过Multiple Servers，Clusters，and Machines Options，下一步。 <br />
(7)选择Skip跳过JDBC连接池的配置（注：JDBC连接池的配置可以在启动WebLogic后到控制台上进行，大家可以参阅相关文档），下一步。 <br />
(选择Skip跳过JMS的配置（同样留到控制台上做），下一步。 <br />
(9)继续跳过，下一步。 <br />
(10)选择Yes，下一步。 <br />
(11)在User页点击Add，随意添加一个用户user，密码12345678，下一步。 <br />
(12)将用户user分配到Administrators组（还可以同时分配到其它组，方法是选中待加入的组，然后勾中user前的复选框即可），下一步。 <br />
(13)直接点击下一步跳过。 <br />
(14)设置用户user的权限，选中Admin，勾中user前的复选框（要指定其它权限依次类推），下一步。 <br />
(15)采用默认设置，直接点击下一步跳过。 <br />
(16)同样采用默认设置，直接点击下一步跳过。 <br />
(17)配置JDK，采用WebLogic的默认值，直接点击下一步跳过。 <br />
(1最后在Configuration Name处输入dev，然后点击Create生成配置，完毕点击Done关闭Configuration Wizard对话框。 <br />
5.配置MyEclipse的WebLogic服务器 <br />
MyEclipse默认的应用服务器为JBoss3，这里我们使用WebLogic8.1。启动Eclipse，选择&#8220;窗口\首选项&#8221;菜单，打开首选项对话框。展开MyEclipse下的Application Servers结点，点击JBoss 3，选中右面的Disable单选按钮，停用JBoss 3。然后点击WebLogic 8，选中右边的Enable单选按钮，启用WebLogic服务器。同时下面的配置如下： <br />
(1)BEA home directory：D:\BEA。假定WebLogic安装在D:\BEA文件夹中。 <br />
(2)WebLogic installation directory：D:\BEA\weblogic81。 <br />
(3)Admin username：user。 <br />
(4)Admin password：12345678。 <br />
(5)Execution domain root：D:\BEA\user_projects\dev。 <br />
(6)Execution domain name：dev。 <br />
(7)Execution server name：admin。 <br />
(8)Hostname:PortNumber：localhost:7001。 <br />
(9)Security policy file：D:\BEA\weblogic81\server\lib\weblogic.policy。 <br />
(10)JAAS login configuration file：省略。 <br />
接着展开WebLogic 8结点，点击JDK，在右边的WLS JDK name处选择WebLogic 8的默认JDK。这里组合框中缺省为j2re1.4.2_03，即之前单独安装的jre。单击Add按钮，弹出WebLogic &gt; Add JVM对话框，在JRE名称处随便输入一个名字，如jre1.4.1_02。然后在JRE主目录处选择WebLogic安装文件夹中的JDK文件夹，如D:\BEA\jdk141_02，程序会自动填充Javadoc URL文本框和JRE系统库列表框。单击确定按钮关闭对话框。这时候就可以在WLS JDK name组合框中选择jre1.4.1_02了。之后还要在下面的Optional Java VM arguments，如-ms64m -mx64m -Djava.library.path="D:/BEA/weblogic81/server/bin" -Dweblogic.management.discover=false -Dweblogic.ProductionModeEnabled=false <br />
最后点击Paths，在右边的Prepend to classpath列表框中，通过Add JAR/ZIP按钮，加入D:\BEA\weblogic81\server\lib\weblogic.jar、D:\BEA\weblogic81\server\lib\webservices.jar。如果用到数据库，还需把数据库的驱动类库加进来，这里我们用WebLogic自带的SQL Server数据库驱动库D:\BEA\weblogic81\server\lib\mssqlserver4v65.jar。 <br />
至此，MyEclipse中WebLogic8的配置工作就算完成了。下面可以看看在Eclipse中能否启动WebLogic了？自从安装了MyEclipse之后，Eclipse工具栏中就会有一个Run/Stop Servers下拉按钮。点击该按钮的下拉部分，选择&#8220;WebLogic 8\Start&#8221;菜单，即开始启动WebLogic了。通过查看下面的控制台消息，就可以知道启动是否成功，或有什么异常发生。停止WebLogic可选择&#8220;WebLogic\Stop&#8221;菜单。&nbsp;</font><br />
<img src ="http://www.blogjava.net/boluobn/aggbug/177510.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/boluobn/" target="_blank">菠萝</a> 2008-01-24 15:33 <a href="http://www.blogjava.net/boluobn/archive/2008/01/24/177510.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>J2EE配置WebLogic-Eclipse插件(转)</title><link>http://www.blogjava.net/boluobn/archive/2008/01/24/177508.html</link><dc:creator>菠萝</dc:creator><author>菠萝</author><pubDate>Thu, 24 Jan 2008 07:32:00 GMT</pubDate><guid>http://www.blogjava.net/boluobn/archive/2008/01/24/177508.html</guid><wfw:comment>http://www.blogjava.net/boluobn/comments/177508.html</wfw:comment><comments>http://www.blogjava.net/boluobn/archive/2008/01/24/177508.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/boluobn/comments/commentRss/177508.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/boluobn/services/trackbacks/177508.html</trackback:ping><description><![CDATA[Eclipse插件设计用于从Eclipse IDE运行 WebLogic Server.借助WebLogic Server插件，可以从Eclipse中启动和停止WebLogic Server，可以通过 Eclipse调试WebLogic Server中部署的应用程序。在Eclipse中安装WebLogic插件，并在Eclipse中设置<a class="channel_keylink" href="http://server.chinaitlab.com/" target="_blank">服务器</a>类路径和JVM选项后，即可通过Eclipse IDE配置和管理WebLogic Server.
<p>　　<strong>概述</strong></p>
<p>　　J2EE开发人员经常需要管理WebLogic Server并调试WebLogic Server上部署的应用程序。 WebLogic Server管理控制台虽然能够启动和停止WebLogic Server，却不能设置JVM选项和<a class="channel_keylink" href="http://server.chinaitlab.com/" target="_blank">服务器</a>类路径。必须使用startWebLogic脚本来设置JVM选项和服务器类路径。而要调试WebLogic Server上部署的应用程序，则需要带远程调试器的IDE.有了WebLogic插件后，就可以通过Eclipse IDE管理WebLogic Server. 在文本中，我们将开发一个包括会话EJB和servlet的J2EE应用程序、通过Eclipse IDE在WebLogic Server中部署应用程序、在Eclipse中调试应用程序。</p>
<p>　　<strong>安装准备</strong></p>
<p>　　<a class="channel_keylink" href="http://download.chinaitlab.com/" target="_blank">下载</a>并安装Eclipse 3.0 IDE：<a href="http://www.eclipse.org/">www.eclipse.org</a></p>
<p>　　<a class="channel_keylink" href="http://download.chinaitlab.com/" target="_blank">下载</a>并安装WebLogic Server 8.1：</p>
<p>　　<a href="http://www.bea.com/framework.jsp">www.bea.com/framework.jsp</a>？CNT=index.htm&amp;FP=/content/products/weblogic/server</p>
<p>　　<strong>安装WebLogic-Eclipse插件</strong></p>
<p>　　现在安装WebLogic-Eclipse IDE.在Eclipse IDE上，选择Help&gt;Software Updates&gt;Find and Install，将显示Install/Update窗体。选择Search for new features to install，然后单击Next按钮。在显示的Install窗体中，单击New Remote Site按钮指定要从其安装插件的更新Web站点。在New Update Site窗体中，指定名称和安装WebLogic-Eclipse插件的URL.WebLogic-Eclipse插件的URL是 <a href="https://eclipse-plug-in.projects.dev2dev.bea.com/update">https://eclipse-plug-in.projects.dev2dev.bea.com/update</a>.这样便添加好了更新站点配置。在用于EclipseWebLogic的复选框中选择"Sites to include in search"，然后单击Next按钮。在Install窗体的功能区选择WebLogic-Eclipse Feature，然后单击Next按钮。</p>
<p>　　选择许可条款并单击Next按钮。在Install location窗体中指定将安装WebLogic-Eclipse插件的目录。单击Finish按钮完成WebLogic插件的配置。在显示的JAR Verification窗体中，单击Install按钮安装WebLogic-Eclipse插件。重启Eclipse工作台完成插件安装。现在WebLogic-Eclipse插件便安装在 Eclipse IDE中了。Eclipse中新添了Run&gt;Start WebLogic和Run&gt;Stop WebLogic两个功能。</p>
<p>　　<strong>配置WebLogic-Eclipse插件</strong></p>
<p>　　安装了WebLogic-Eclipse插件后，我们将在Eclipse IDE中配置该插件。首先，创建一个用于配置WebLogic插件的项目。选择File&gt;New&gt;Project.在New Project窗体中选择<a class="channel_keylink" href="http://java.chinaitlab.com/" target="_blank">Java</a>&gt;<a class="channel_keylink" href="http://java.chinaitlab.com/" target="_blank">Java</a> Project，然后单击Next按钮。在Create a Java project窗体中指定项目名称，然后单击Next按钮。在Java Settings窗体中为项目添加源文件夹。单击Add Folder按钮。在New Source Folder窗体中指定文件夹名称。出现一个消息窗体提示设置bin文件夹作为构建输出文件夹。接下来，添加项目所需的库。示例应用程序需要在类路径中添加J2EE JAR.选择Libraries选项卡，然后单击Add External JARs按钮。</p>
<p>　　为项目添加J2EE 1.4 j2ee.jar文件。1.4 j2ee.jar将在项目库中列出。单击Finish按钮完成项目配置。这样便将一个项目添加到Eclipse IDE Package Explorer视图中。</p>
<p>　　接下来指定WebLogic Server配置。选择Window&gt;Preferences.在出现的Preferences窗体中，选择WebLogic节点。在WebLogic preference页面，选择要配置的WebLogic Server版本。指定不同的字段值，如 表1 所示。由于安装服务器和配置域的目录不同，值也有所不同。单击Apply按钮应用指定的值。</p>
<p>　　<strong>字段描述值</strong></p>
<p align="center"><img style="border-left-color: #000000; border-bottom-color: #000000; border-top-color: #000000; border-right-color: #000000" src="http://java.chinaitlab.com/UploadFiles_8734/200711/20071101121042264.bmp" border="1"  alt="" /></p>
<p align="center">　　<strong>表1 WebLogic-Eclipse插件</strong></p>
<p>　　如果必须向服务器类路径添加JAR文件，请选择WebLogic&gt;Classpath节点。可以在添加WebLogic库之前或之后添加JAR/Zip文件或目录。选择WebLogic&gt;JavaVM Options节点指定JavaVM选项。例如，修改weblogic.ProductionModeEnabled属性。将属性值设置为false可使用开发模式启动服务器。单击Apply按钮应用JavaVM选项。</p>
<p>　　接下来，指定要使用WebLogic Server配置进行调试的项目。单击Add按钮，选择要添加到插件配置的项目。若要调试某个项目，该项目必须位于插件配置中。单击OK按钮。</p>
<p>　　这样便将选择的项目添加到项目列表中了。单击Apply按钮，然后单击OK按钮，使用项目和WebLogic Server完成WebLogic插件的配置。</p>
<p>　　<strong>开发和调试WebLogic应用程序</strong></p>
<p>　　配置了WebLogic插件后，将开发一个J2EE应用程序在WebLogic Server中进行部署和调试。示例J2EE应用程序由Session EJB和客户端servlet组成。可从资源zip文件中获取该 J2EE应用程序（关于本文的源代码，可在线查看WLDJ归档文件中的文章 <a href="http://wldj.sys-con.com/read/issue/archives/">http://wldj.sys-con.com/read/issue/archives/</a>，Vol. 5，iss. 2）。将资源zip文件提取到目录。在上文中配置的Eclipse项目EclipseWebLogic中，选择File&gt;Import导入J2EE应用程序的src目录。在Import窗体中，选择File System节点，然后单击Next按钮。在File system窗体中，选择directories/files添加项目，然后单击Finish按钮（见图1）。</p>
<p align="center"><img height="437" alt="配置WebLogic-Eclipse插件 图-1" src="http://java.chinaitlab.com/UploadFiles_8734/200711/20071101121049853.jpg" width="434" /></p>
<p align="center">　　<strong>图1</strong></p>
<p>　　这样便将示例J2EE应用程序文件添加到项目中。使用Ant build.xml文件构建项目。右键单击build.xml，选择Run&gt;Ant Build即可构建J2EE应用程序并将其部署在WebLogic Server应用程序目录中。接下来，选择Run&gt;Start WebLogic在Eclipse IDE中启动WebLogic Server.这样便将Session EJB/Servlet应用程序部署在 WebLogic Server中，如应用程序节点所示。</p>
<p>　　在浏览器中输入URL <a href="http://localhost/">http://localhost</a>：7001/weblogic/webLogicPlug-in运行WebLogicServlet. servlet的输出将在浏览器中显示。接下来向客户端servlet添加一个异常（NullPointerException），以验证WebLogic插件的调试功能。在WebLogicServlet servlet中将：</p>
<p>　　out.println（sessionEJB.getEclipsePlug-in（））；</p>
<p>　　替换为：</p>
<p>　　String str=null；</p>
<p>　　out.println（str.toString（））；</p>
<p>　　选择Run&gt;Add Java Exception Breakpoint向servlet添加一个断点。在Add Java Exception Breakpoint窗体中，选择NullPointerException.删除之前构建的目录并使用build.xml构建应用程序。选择Debug perspective.在Debug perspective可以看到WebLogic Server正运行在localhost主机中。</p>
<p>　　在浏览器中运行示例servlet（带NullPointerException）。因为servlet带有异常，所以服务器被中断，并且Debug perspective显示NullPointerException.使用Run菜单项中的调试功能可以调试应用程序。</p>
<p>　　结束语</p>
<p>　　综上所述，使用WebLogic插件可以通过Eclipse IDE管理WebLogic Server，还可通过Eclipse IDE调试服务器中部署的应用程序。WebLogic插件的局限性在于不支持JSP调试。该插件的2.0版本将有更多功能。</p>
J2EE配置WebLogic-Eclipse插件
<img src ="http://www.blogjava.net/boluobn/aggbug/177508.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/boluobn/" target="_blank">菠萝</a> 2008-01-24 15:32 <a href="http://www.blogjava.net/boluobn/archive/2008/01/24/177508.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Aptana 插件</title><link>http://www.blogjava.net/boluobn/archive/2007/11/19/161735.html</link><dc:creator>菠萝</dc:creator><author>菠萝</author><pubDate>Mon, 19 Nov 2007 14:32:00 GMT</pubDate><guid>http://www.blogjava.net/boluobn/archive/2007/11/19/161735.html</guid><wfw:comment>http://www.blogjava.net/boluobn/comments/161735.html</wfw:comment><comments>http://www.blogjava.net/boluobn/archive/2007/11/19/161735.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/boluobn/comments/commentRss/161735.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/boluobn/services/trackbacks/161735.html</trackback:ping><description><![CDATA[<h1 class="firstHeading">Plugging Aptana into an existing Eclipse configuration</h1>
<div id="bodyContent">
<h3 id="siteSub">From Aptana</h3>
<div id="contentSub"></div>
<!-- start content -->
<p>This page describes how to install into an existing Eclipse configuration. </p>
<table class="toc" id="toc">
    <tbody>
        <tr>
            <td>
            <div id="toctitle">
            <h2>Contents</h2>
            <span class="toctoggle">[<a class="internal" id="togglelink" href="javascript:toggleToc()">hide</a>]</span></div>
            <ul>
                <li class="toclevel-1"><a href="http://www.aptana.com/docs/index.php/Plugging_Aptana_into_an_existing_Eclipse_configuration#Introduction"><span class="tocnumber">1</span> <span class="toctext">Introduction</span></a>
                <li class="toclevel-1"><a href="http://www.aptana.com/docs/index.php/Plugging_Aptana_into_an_existing_Eclipse_configuration#Instructions"><span class="tocnumber">2</span> <span class="toctext">Instructions</span></a>
                <li class="toclevel-1"><a href="http://www.aptana.com/docs/index.php/Plugging_Aptana_into_an_existing_Eclipse_configuration#Installing_manually"><span class="tocnumber">3</span> <span class="toctext">Installing manually</span></a>
                <li class="toclevel-1"><a href="http://www.aptana.com/docs/index.php/Plugging_Aptana_into_an_existing_Eclipse_configuration#Related_Topics"><span class="tocnumber">4</span> <span class="toctext">Related Topics</span></a> </li>
            </ul>
            </td>
        </tr>
    </tbody>
</table>
<p><script type="text/javascript"> if (window.showTocToggle) { var tocShowText = "show"; var tocHideText = "hide"; showTocToggle(); } </script></p>
<div class="editsection" style="float: right; margin-left: 5px">[<a title="Plugging Aptana into an existing Eclipse configuration" href="http://www.aptana.com/docs/index.php?title=Plugging_Aptana_into_an_existing_Eclipse_configuration&amp;action=edit&amp;section=1">edit</a>]</div>
<a name="Introduction"></a>
<h2>Introduction </h2>
<p>If you are already an Eclipse user, you can install Aptana as a plug-in directly into your current Eclipse configuration. </p>
<div class="editsection" style="float: right; margin-left: 5px">[<a title="Plugging Aptana into an existing Eclipse configuration" href="http://www.aptana.com/docs/index.php?title=Plugging_Aptana_into_an_existing_Eclipse_configuration&amp;action=edit&amp;section=2">edit</a>]</div>
<a name="Instructions"></a>
<h2>Instructions </h2>
<p>To plug Aptana (Milestone 8+) into an existing Eclipse (v3.2) configuration: </p>
<p>
<ol>
    <p>&nbsp;</p>
    <li>From the <strong>Help</strong> menu in Eclipse, select <strong>Software Updates &gt; Find and Install...</strong> to open an <strong>Install/Update</strong> pop-up window (shown below).
    <p><a class="image" title="Image:installUpdate.png" href="http://www.aptana.com/docs/index.php/Image:InstallUpdate.png"><img height="406" alt="Image:installUpdate.png" src="http://www.aptana.com/docs/images/9/99/InstallUpdate.png" width="477" longdesc="/docs/index.php/Image:InstallUpdate.png" /></a></p>
    <li>On the <strong>Install/Update</strong> pop-up window, choose the <strong>Search for new features to install</strong> option, and click the <strong>Next</strong> button.
    <li>Add a new remote site to add the Aptana plug-in:
    <ol>
        <li>Click the <strong>New Remote Site...</strong> button to open a <strong>New Update Site</strong> pop-up window.
        <li>On the <strong>New Update Site</strong> pop-up window, type <strong>Aptana</strong> in the site <strong>Name</strong> text box.
        <li>In the <strong>URL</strong> text box, type the URL for the Aptana update site: <a class="external free" title="http://update.aptana.com/install/3.2/" href="http://update.aptana.com/install/3.2/" rel="nofollow">http://update.aptana.com/install/3.2/</a> (shown below) and click <strong>OK</strong>.
        <p><a class="image" title="Image:updateAptana.png" href="http://www.aptana.com/docs/index.php/Image:UpdateAptana.png"><img height="154" alt="Image:updateAptana.png" src="http://www.aptana.com/docs/images/6/60/UpdateAptana.png" width="356" longdesc="/docs/index.php/Image:UpdateAptana.png" /></a></p>
        <li>Click the <strong>Finish</strong> button to switch to the <strong>Updates</strong> window.</li>
    </ol>
    <li>On the <strong>Updates</strong> window, check the <strong>Aptana</strong> box (shown below), and click the <strong>Finish</strong> button.
    <p><a class="image" title="Image:includeAptana.png" href="http://www.aptana.com/docs/index.php/Image:IncludeAptana.png"><img height="423" alt="Image:includeAptana.png" src="http://www.aptana.com/docs/images/7/7c/IncludeAptana.png" width="485" longdesc="/docs/index.php/Image:IncludeAptana.png" /></a></p>
    <li>On the next screen, check the <strong>Aptana</strong> box, and click the <strong>Next</strong> button.
    <li>Choose the option to accept the terms of the license agreement, and click the <strong>Next</strong> button.
    <li>Click the <strong>Finish</strong> button.
    <li>Click the <strong>Install All</strong> button.
    <p>&nbsp;</p>
    </li>
</ol>
<p>&nbsp;</p>
<p>Eclipse installs the Aptana plug-in. To finish the installation process, follow the prompts to shut down and re-start Eclipse. </p>
<p>To access all of Aptana's features as they are described in the Aptana documentation, you will need to change your Eclipse Perspective to the Aptana perspective. See <a title="Changing your Eclipse Perspective" href="http://www.aptana.com/docs/index.php/Changing_your_Eclipse_Perspective">Changing your Eclipse Perspective</a> for instructions on how to change your Eclipse Perspective. </p>
<p><br />
</p>
<div class="editsection" style="float: right; margin-left: 5px">[<a title="Plugging Aptana into an existing Eclipse configuration" href="http://www.aptana.com/docs/index.php?title=Plugging_Aptana_into_an_existing_Eclipse_configuration&amp;action=edit&amp;section=3">edit</a>]</div>
<a name="Installing_manually"></a>
<h2>Installing manually </h2>
<p>Download the latest release from <a class="external free" title="http://update.aptana.com/install/3.2/" href="http://update.aptana.com/install/3.2/" rel="nofollow">http://update.aptana.com/install/3.2/</a> and follow the manual installation instructions on the page. </p>
<p><strong>Note:</strong> You may need to start Eclipse from the command-line with the "clean" option: eclipse -clean if the update didn't seem to work correctly. </p>
<div class="editsection" style="float: right; margin-left: 5px">[<a title="Plugging Aptana into an existing Eclipse configuration" href="http://www.aptana.com/docs/index.php?title=Plugging_Aptana_into_an_existing_Eclipse_configuration&amp;action=edit&amp;section=4">edit</a>]</div>
<a name="Related_Topics"></a>
<h2>Related Topics</h2>
<ul>
    <li><a title="Installing Aptana" href="http://www.aptana.com/docs/index.php/Installing_Aptana">Installing Aptana</a>
    <li><a title="Downloading and installing the Aptana IDE" href="http://www.aptana.com/docs/index.php/Downloading_and_installing_the_Aptana_IDE">Downloading and installing the Aptana IDE</a>
    <li><a title="Aptana System Requirements" href="http://www.aptana.com/docs/index.php/Aptana_System_Requirements">Aptana System Requirements</a>
    <li><a title="Changing your Eclipse Perspective" href="http://www.aptana.com/docs/index.php/Changing_your_Eclipse_Perspective">Changing your Eclipse Perspective</a> </li>
</ul>
<!-- Saved in parser cache with key wikidb:pcache:idhash:1352-0!1!0!0!!en!2 and timestamp 20071119042045 -->
<div class="printfooter">Retrieved from "<a href="http://www.aptana.com/docs/index.php/Plugging_Aptana_into_an_existing_Eclipse_configuration">http://www.aptana.com/docs/index.php/Plugging_Aptana_into_an_existing_Eclipse_configuration</a>"</div>
<div id="catlinks">
<p class="catlinks"><a title="Special:Categories" href="http://www.aptana.com/docs/index.php?title=Special:Categories&amp;article=Plugging_Aptana_into_an_existing_Eclipse_configuration">Categories</a>: <a class="new" title="Category:AptanaHelp" href="http://www.aptana.com/docs/index.php?title=Category:AptanaHelp&amp;action=edit">AptanaHelp</a></p>
</div>
</div>
<img src ="http://www.blogjava.net/boluobn/aggbug/161735.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/boluobn/" target="_blank">菠萝</a> 2007-11-19 22:32 <a href="http://www.blogjava.net/boluobn/archive/2007/11/19/161735.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>To install JSEclipse</title><link>http://www.blogjava.net/boluobn/archive/2007/10/31/157328.html</link><dc:creator>菠萝</dc:creator><author>菠萝</author><pubDate>Wed, 31 Oct 2007 14:16:00 GMT</pubDate><guid>http://www.blogjava.net/boluobn/archive/2007/10/31/157328.html</guid><wfw:comment>http://www.blogjava.net/boluobn/comments/157328.html</wfw:comment><comments>http://www.blogjava.net/boluobn/archive/2007/10/31/157328.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/boluobn/comments/commentRss/157328.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/boluobn/services/trackbacks/157328.html</trackback:ping><description><![CDATA[<ol class="hcp4" type="1">
    <li class="kadov-p">Open the Eclipse workbench.
    <li class="kadov-p">To install new software with the Update manager, in the main Eclipse menu, go to Help &gt; Software Updates -&gt;Find and Install.
    <li class="kadov-p">In the user interface that opens, select the <span class="Labels">Search for new features to install.</span>
    <li class="kadov-p"><span class="Labels">In the next step you choose what locations will be searched. If this is the first time installing JSEclipse, you have to add a <span class="Labels">New remote site</span>. If you already have it defined, skip to step 7.</span>
    <li class="kadov-p">To define a new site to be searched for available plugins, in the user interface click the <span class="Labels">New Remote Site</span> button.
    <li class="kadov-p">The New Update Site dialog box opens. It contains two fields that must be completed:
    <ul type="disc">
        <li class="kadov-p"><span class="Labels">Name</span>: this will be the label displayed in the Install or Update software user interface. You can enter <strong>JSEclipse</strong>.
        <li class="kadov-p"><span class="Labels">URL</span>: this is the URL to the remote site containing the plugins. Enter:<br />
        <a title="http://download.macromedia.com/pub/labs/jseclipse/autoinstall/site.xml" href="http://download.macromedia.com/pub/labs/jseclipse/autoinstall/site.xml">http://download.macromedia.com/pub/labs/jseclipse/autoinstall/</a><O:P></O:P><br />
        </li>
    </ul>
    <li class="kadov-p">Check the newly added entry's checkbox. This will set it as active for the software search. You can disable or enable sites on which the software search is performed by checking, respectively un-checking them in the user interface
    <li class="kadov-p">Click <span class="Labels">Finish</span> to start searching for software. A new window will appear showing the search progress.
    <li class="kadov-p">Once the search completes, a list of the features available on the remote site will be displayed, with their respective version, using an hierarchical display
    <li class="kadov-p">Select the feature to install by checking its checkbox. Click <span class="Labels">Next</span> to continue.
    <li class="kadov-p">The license agreement for each selected feature is displayed next. You must accept the licence agreement in order to continue with the install process. Click the <span class="Labels">I accept the terms in the license agreement</span> radio button, then <span class="Labels">Next</span> to move on.
    <li class="kadov-p">Next select where to install the plugin. By default, it is the current folder. Use the default and click <span class="Labels">Finish</span> to install.
    <li class="kadov-p">If your configuration is set to check plugins for a digital signature, a confirmation window is displayed, warning if the plugin is not digitally signed. Simply click <span class="Labels">Install</span> to close the window and install the plugin
    <li class="kadov-p">After the installation is completed, and all features have been copied to the desired location, a dialog box will ask for a restart of the workbench. Although some features can be enabled without restarting the workbench, a restart is recommended. Select <span class="Labels">Yes</span>.
    <li class="kadov-p"><span class="Labels">JSEclipse</span> has been installed. </li>
</ol>
<img src ="http://www.blogjava.net/boluobn/aggbug/157328.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/boluobn/" target="_blank">菠萝</a> 2007-10-31 22:16 <a href="http://www.blogjava.net/boluobn/archive/2007/10/31/157328.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Eclipse支持PHP自动提示</title><link>http://www.blogjava.net/boluobn/archive/2007/10/22/154955.html</link><dc:creator>菠萝</dc:creator><author>菠萝</author><pubDate>Mon, 22 Oct 2007 04:51:00 GMT</pubDate><guid>http://www.blogjava.net/boluobn/archive/2007/10/22/154955.html</guid><wfw:comment>http://www.blogjava.net/boluobn/comments/154955.html</wfw:comment><comments>http://www.blogjava.net/boluobn/archive/2007/10/22/154955.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/boluobn/comments/commentRss/154955.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/boluobn/services/trackbacks/154955.html</trackback:ping><description><![CDATA[其实如果你已经安装好了php环境(安装过程见)的话，只需要下面2步就可以了。hoho，很简单的。<br />
<br />
1,下载eclipse中php的插件<br />
地址：<a href="http://www.phpeclipse.de/tiki-view_articles.php" target="_blank">http://www.phpeclipse.de/tiki-view_articles.php</a><br />
<a href="http://prdownloads.sourceforge.net/phpeclipse/PHPEclipse1.1.3-2005-01-29.zip?use_mirror=jaist" target="_blank">http://prdownloads.sourceforge.n ... ip?use_mirror=jaist</a><br />
<br />
2,解压缩。plugins文件夹下内容copy至eclipseplugins文件夹下，features文件夹下内容copy至eclipsefeatures文件夹下。<br />
<br />
使用Eclipse环境来编写PHP程序，以下是详细说明。有基础的朋友可以不看。<br />
<br />
简单介绍：<br />
Eclipse，著名开源软件，IDE，广泛用于Java开发等。<br />
加上相应插件后，可支持大部分编程语言。<br />
<br />
使用前提：<br />
已正确搭建安装了AMP（A=Apache, M=Mysql, P=PHP）环境，操作系统平台不限<br />
<br />
下载：<br />
Eclipse3.0.1: <a href="http://www.eclipse.org/downloads/index.php" target="_blank">http://www.eclipse.org/downloads/index.php</a><br />
(选择适合你系统的相应版本，支持windows,linux,max等，建议选择最新版本3.0.1)<br />
<br />
PHPeclipse插件： <a href="http://sourceforge.net/project/" target="_blank">http://sourceforge.net/project/</a> showfiles.php?group_id=57621<br />
(同上，最新版本1.1.2)<br />
<br />
安装：<br />
均为绿色软件，无须安装 <br />
将下载回来的Eclipse压缩包解开，放到常用安装软件文件夹即可（请勿急着马上启动Eclipse）<br />
将PHPeclipse插件（下载的压缩包内有features及plugins两个文件夹，跟Eclipse目录下的一样，应该是对应的）解压到Eclipse相应目录下即可<br />
注意：<br />
如果已经事先安装过Eclipse或者在未解压插件之前已经启动过，因为它第一次启动会扫描全部xml文件并缓存以加快启动速度，所以PHP插件不会被马上识别。需要用选项-clean来强行启动一次。（win下直接cmd到Eclipse目录再Eclipse.exe &#8211;clean即可，其他平台类似）<br />
<br />
配置：<br />
1、Eclipse启动比较慢，在硬件配置比较好的机器上也需要好几秒钟，请耐心等待。首次启动会让你选择工作目录(workspace)，制定后打个勾下次就不会再问。<br />
2、另外指定一个用来放置PHP项目的目录，如果不指定默认就在workspace的子目录下，最好事先想好名字，比如我的：workspace/phpeclipse<br />
3、修改httpd.conf文件，新建一个指向workspace/phpeclipse的别名(Alias)---PHP安装的问题，恕不多述。我这里还是叫phpeclipse。当然如果你把PHP项目放在DocumentRoot下的话这步就可以省略了。<br />
4、本次启动后会发现菜单和工具栏上多了一些东西（如果你之前用过Eclipse的话，呵呵）<br />
到Window - Preferences &#8211; PHPeclipse Web Development &#8211; PHP中指定一下你的PHP环境中Apache,php,mysql三个执行文件的相应位置，至于参数似乎默认的就可以了，我用的是Apache2，修改了一下，启动用：-w -n "Apache2" -k start ；停止用：-w -n "Apache2" -k stop；重启用-w -n "Apache2" -k restart<br />
这样工具栏上的那几个apache和mysql的按钮就可以用了。<br />
<br />
使用：<br />
菜单－&gt;new－&gt;Project－&gt;PHP－&gt;PHP Project，指定一个名字，然后就可以用了，不过要注意跟前面的别名部分对应，否则无法访问<br />
在Navigator栏的项目名称上右击，new一个php file,然后保存，Eclipse就自动打开web browser显示结果了。相当不错。主要是看中它集成开发的方便性，代码块伸缩，自动完成等众多特性。<br />
<br />
关于在Eclipse中加入PHP插件的更详细内容可以参考这篇文章（英文）：<br />
<a href="http://www.phpbuilder.com/columns/c...921.php3?page=1" target="_blank">http://www.phpbuilder.com/columns/c...921.php3?page=1</a><br />
PHPeclipse插件的主页在 <a href="http://phpeclipse.de/" target="_blank">http://phpeclipse.de/</a> ，安装中如果有问题或者需要更详细的文档可以到上面去找寻。
<img src ="http://www.blogjava.net/boluobn/aggbug/154955.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/boluobn/" target="_blank">菠萝</a> 2007-10-22 12:51 <a href="http://www.blogjava.net/boluobn/archive/2007/10/22/154955.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>PropEdit的安装,Eclipse下properties的转码问题</title><link>http://www.blogjava.net/boluobn/archive/2007/09/10/143880.html</link><dc:creator>菠萝</dc:creator><author>菠萝</author><pubDate>Mon, 10 Sep 2007 01:24:00 GMT</pubDate><guid>http://www.blogjava.net/boluobn/archive/2007/09/10/143880.html</guid><wfw:comment>http://www.blogjava.net/boluobn/comments/143880.html</wfw:comment><comments>http://www.blogjava.net/boluobn/archive/2007/09/10/143880.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/boluobn/comments/commentRss/143880.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/boluobn/services/trackbacks/143880.html</trackback:ping><description><![CDATA[<span>在此想和大家分享一个不错的编写properties文件的Eclipse插件（plugin），有了它我们在编辑一些简体中文、繁体中文等Unicode文本时，就不必再使用native2ascii编码了。您可以通过Eclipse中的软件升级（Software Update）安装此插件，步骤如下：</span><br />
<div style="padding-right: 36px; padding-left: 36px"><span>1、展开Eclipse的Help菜单，将鼠标移到Software Update子项，在出现的子菜单中点击Find and Install；</span><br />
2、在Install/Update对话框中选择Search for new features to install，点击Next；<br />
3、在Install对话框中点击New Remote Site；<br />
4、在New Update Site对话框的Name填入&#8220;PropEdit&#8221;或其它任意非空字符串，在URL中填入http://propedit.sourceforge.jp/eclipse/updates/；<br />
5、在Site to include to search列表中，除上一步加入的site外的其它选项去掉，点击Finsih；<br />
6、在弹出的Updates对话框中的Select the features to install列表中将所有结尾为&#8220;3.1.x&#8221;的选项去掉（适用于Eclipse 3.2版本的朋友）；<br />
7、点击Finish关闭对话框；<br />
8、在下载后，同意安装，再按提示重启Eclipse，在工具条看到形似vi的按钮表示安装成功，插件可用。此时，Eclpise中所有properties文件的文件名前有绿色的P的图标作为标识。 </div>
<img src ="http://www.blogjava.net/boluobn/aggbug/143880.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/boluobn/" target="_blank">菠萝</a> 2007-09-10 09:24 <a href="http://www.blogjava.net/boluobn/archive/2007/09/10/143880.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>