eclipse

Spring框架

非 Y 不嫁゛ 提交于 2020-12-27 00:58:40
第一步: 创建项目,导入jar包(只需要导入Spring的四个核心包和common-logging日志包即可) 第二步:创建一个普通的类UserService: 第三步:创建Spring配置文件: Spring使用的xsd规则文件,对应spring-beans*.xsd,在Spring解压包schema/beans 目录下。 Eclipse配置xsd规则文件步骤: 注意:Schema location的key,在spring-beans、-4.3.16.RELEASE.jar的解压路劲下的META-INF/spring.schema文件中可以找到。 配置路劲的时候,去掉http后面的反斜杠。 创建applicationContext.xml文件(在src目录创建即可) (1)创建一个xml文件,选择Spring-beans规则文件模板 (2)选择生成文件的属性 (3)配置applicationContext.xml文件,将UserService放入Spring容器中。 第四步:从Spring容器中获取对象 创建一个测试类UserServiseTEST 5.Spring容器的两个实现 (1)ClassPathXmlApplicationContenxt从classpath路径中加载xml文件 (2

Unity之SDK接入(Unity与Android通信)

血红的双手。 提交于 2020-12-27 00:29:25
首先介绍一点关于Android与unity通信的知识: 完成通信主要靠unity中的class.jar包(在unity的安装目录下)。 在unity中调用android的方法: jo.call("方法名"[,参数名]) 其中[]代表可有可无。 在endroid中调用unityu的方法: 导入class.jar包,继承UnityPlayerActivity,使用UnityPlayer.UnitySendMessage("游戏对象名","unity中的方法名","参数") 现在,我们已经有基础了,可以动手操作了 1.eclipse中新建Android工程,导入Unity安装目录下的class.jar类,添加MainActivity.java代码: package com.example.test; import com.unity3d.player.UnityPlayer; import com.unity3d.player.UnityPlayerActivity; import android.os.Bundle; public class MainActivity extends UnityPlayerActivity { protected void onCreate(Bundle savedInstanceState) { super .onCreate

powerdesigner16 因分辨率而消失的 右侧悬浮菜单

十年热恋 提交于 2020-12-26 15:03:30
powerdesigner16 因分辨率而消失的 右侧悬浮菜单 使分辨率可用 新电脑分辨率有点高并不一定是好事儿,很可能会带来许多意想不到的麻烦,安装好powerdesigner16 之后因分辨率太高,它跟Eclipse一样,图标和文字小到看不见!!!之前Eclipse就参考了几个比较很费劲的那种修改软件配置文件来使UI部分图标和文字变大的博文 Eclipse解决侧边栏(Package Explorer)字体修改 ,但其实治标不治本字体大了但图标还是小用着很不爽; 这个powerdesigner软件更是直接连文字也都只是能改个工作簿部分的文字大小,剩下各种标签菜单等等UI的图标文字依然小到没法用。改了半天还是用不了,不得已不得不继续搜索解决方案,幸好搜到一个解决分辨率高软件没法使用的通病的解决方案博文 解决屏幕分辨率太高,软件界面上的图标太小的问题_rainyspring4540的专栏-CSDN博客_软件图标太小 悬浮菜单消失 在修改好分辨率的兼容性之后,突然发现再次打开 工作空间 之后 --右侧悬浮菜单 因为还是因为分辨率问题而消失。。。然后上网搜解决方法, 什么 在菜单view下的toolbox ; tools→customize toolbars→勾选pallete ; 都不管用。 解决方案 其实是第三种方法了,首先要确定打开的是个项目而不是刚启动的空白界面(没意义)

Change PHP Language Library in eclipse Oxygen

倾然丶 夕夏残阳落幕 提交于 2020-12-26 04:26:49
问题 Eclipse for PHP Developers Version: Oxygen Release (4.7.0) Build id: 20170620-1800 How can I change the PHP Language Library to PHP 7 (see screen below)? The project results from a previous eclipse version which has been imported to Oxygen. On my machine no PHP is installed, I use Xdebug with a Linux VM, the workspace is on a samba share on that VM (runs PHP 7.0 on Apache). In the preferences I can add PHP paths, but I have no access to the PHP directory on the Linux VM. But when I create a

Change PHP Language Library in eclipse Oxygen

若如初见. 提交于 2020-12-26 04:25:36
问题 Eclipse for PHP Developers Version: Oxygen Release (4.7.0) Build id: 20170620-1800 How can I change the PHP Language Library to PHP 7 (see screen below)? The project results from a previous eclipse version which has been imported to Oxygen. On my machine no PHP is installed, I use Xdebug with a Linux VM, the workspace is on a samba share on that VM (runs PHP 7.0 on Apache). In the preferences I can add PHP paths, but I have no access to the PHP directory on the Linux VM. But when I create a

Change PHP Language Library in eclipse Oxygen

半城伤御伤魂 提交于 2020-12-26 04:25:19
问题 Eclipse for PHP Developers Version: Oxygen Release (4.7.0) Build id: 20170620-1800 How can I change the PHP Language Library to PHP 7 (see screen below)? The project results from a previous eclipse version which has been imported to Oxygen. On my machine no PHP is installed, I use Xdebug with a Linux VM, the workspace is on a samba share on that VM (runs PHP 7.0 on Apache). In the preferences I can add PHP paths, but I have no access to the PHP directory on the Linux VM. But when I create a

Change PHP Language Library in eclipse Oxygen

生来就可爱ヽ(ⅴ<●) 提交于 2020-12-26 04:25:05
问题 Eclipse for PHP Developers Version: Oxygen Release (4.7.0) Build id: 20170620-1800 How can I change the PHP Language Library to PHP 7 (see screen below)? The project results from a previous eclipse version which has been imported to Oxygen. On my machine no PHP is installed, I use Xdebug with a Linux VM, the workspace is on a samba share on that VM (runs PHP 7.0 on Apache). In the preferences I can add PHP paths, but I have no access to the PHP directory on the Linux VM. But when I create a

eclipse使用svn

折月煮酒 提交于 2020-12-25 14:02:20
主干(trunk)、分支(branch )、标记(tag) 用法示例 + 图解 以svn为例,git的master相当于trunk,dev分支相当于branches -------------------------------------------------------------------------------------------------------------------------------------------- trunk:是用来做主方向开发的一直向前进行,一个新模块的开发,这个时候就放在trunk,当模块开发完成后,需要修改,就用branch。 branch:是用来做并行开发的,这里的并行是指和trunk进行比较。 tag:是用来做一个milestone(里程碑)的,不管是不是发布版本,但都是一个可用的版本,不需要修改如果要修改就要选一个tag进行branche开发。 -------------------------------------------------------------------------------------------------------------------------------------------- 为什么要分3个目录?且都是重复的代码Copy有意义吗?来看下下面这个例子就明白这样做的好处了。 例如

eclipse中使用svn提交代码,更新代码。

我与影子孤独终老i 提交于 2020-12-25 13:45:29
首先在提交代码的时候,会看到有的文件前会有雪花标志,代表该文件被修改过。 提交代码的时候,点击整个项目,右键---team---与资源库同步,这个目的是检查本地的代码和服务器上的代码有没有冲突,如果有冲突的话,应该像将冲突解决,否则提交代码会出错,解决冲突看我的另一篇博客。 点击与资源库同步按钮之后,会跳转到Team Synchronizing界面,这个时候eclipse会自动检测本地的代码和服务器上的代码有没有冲突,有的话会在eclipse的左侧显示出来,如果没有冲突,那么会跳出弹框 Synchronzing No Changes found . 在解决完冲突后或者在升级后,那么,点击上图中上传代码的按钮,跳转到上传代码的页面 选择要提交的文件,然后右键,提交。会跳出一个弹框,让你输入对你这次提交的代码的描述,主要就是写你完成的需求的详细的内容,和编码上传者(这个是本公司的需求) 点击OK,上传成功。 上传成功之后,你会发现,上传的文件之前的雪花标志已经消失不见。意味者上传成功。 有的时候,代码之前会出现问号,意味着,这个文件是新增加的。 在提交代码之前与资源库同步,不同的提交文件之前会出现不同的标识,看下图,有的图标意味着本地的文件与服务器上的文件有冲突,在有冲突 的时候,要将本地的代码和服务器上的代码进行比较,如果要将本地的代码吧服务器上的代码覆盖掉,那么就直接提交