会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
jason_bo
博客园
首页
新随笔
联系
管理
订阅
2024年9月13日
Eclipse + Maven+Tycho 打包知识整理
摘要: 环境: Eclipse:2023-06(4.28.0) Maven: 3.9.5 Tycho: 4.0.8 JRE: 17 需要创建下面几种工程 - org.test.root //父工程,用来统一配置tycho插件,以及要构建的模块 | - org.test.feature //feature插件
阅读全文
posted @ 2024-09-13 15:44 jason_bo
阅读(555)
评论(0)
推荐(0)
2024年1月4日
eclipse 创建虚拟目录和创建链接文件
摘要: 虚拟目录:不是真实存在的目录 链接文件:是真实存在的,只是通过链接的方式显示出来 linkedName -> 显示的虚拟文件夹的名字 project -> 当前工程的对象(IProject) IFolder folder = project.getFolder(linkedName); // fol
阅读全文
posted @ 2024-01-04 10:28 jason_bo
阅读(178)
评论(0)
推荐(0)
2023年7月28日
Java 线程任务超时设置
摘要: **JDK 8** ``` ExecutorService executor = Executors.newSingleThreadExecutor(); Callable task = () -> { test1(); return "Task excute success!"; }; Futur
阅读全文
posted @ 2023-07-28 14:43 jason_bo
阅读(714)
评论(0)
推荐(0)
2023年7月20日
eclipse 某个插件获取不到bundle,可能是bundle ID与META-INF.xml中的配置不一致
摘要:  **这个名字,一定要和你的Activator(继承了AbstractUIActivator的类,插件入口,
阅读全文
posted @ 2023-07-20 16:06 jason_bo
阅读(63)
评论(0)
推荐(0)
2023年7月6日
eclipse 如何通过OSGI 服务从一个插件给另一个插件发通知
摘要: **注册服务:** ``` BundleContext bundleContext = FrameworkUtil.getBundle(当前类.class).getBundleContext(); EventHandler eventCreateNewConfigEventHandler = new
阅读全文
posted @ 2023-07-06 16:43 jason_bo
阅读(34)
评论(0)
推荐(0)
2023年6月27日
Git 如何将现在修改追加到之前提交的提交记录上
摘要: **重要:操作前,请做好备份** 暂存某个文件的命令 git stash --文件路径 将本地所有修改先暂存起来 git stash git log 找到想要追加的commit id 的前一次提交的id git rebase -i 想追加的commid的前一次的commit id 弹出的框中将要修改
阅读全文
posted @ 2023-06-27 11:31 jason_bo
阅读(362)
评论(0)
推荐(0)
2023年3月27日
Java8 LocalDatetime与 java.util.Date 互转
摘要: Date to LocalDateTime Date todayDate = new Date(); LocalDateTime localDate = todayDate.toInstant().atZone( ZoneId.systemDefault()).toLocalDateTime();
阅读全文
posted @ 2023-03-27 15:36 jason_bo
阅读(82)
评论(0)
推荐(0)
2023年3月22日
java.util.Date 如何保存数据到数据库的datetime类型的字段
摘要: ` SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); String formatedDateTime = format.format(new Date()); Timestamp fdt = Timestam
阅读全文
posted @ 2023-03-22 10:31 jason_bo
阅读(211)
评论(0)
推荐(0)
2023年1月4日
Eclipse 开发时使用Consolas 字体发现中文很小,修改脚本为中欧字符就会变大了
摘要:
阅读全文
posted @ 2023-01-04 18:09 jason_bo
阅读(51)
评论(0)
推荐(0)
2022年8月26日
mysql8.0.30安装
摘要: 1. 下载 MySQL :: Download MySQL Community Server 2. 安装 执行 mysqld install 提示安装成功 3. 初始化data(安装目录下是没有data的,执行此命令后会生成) 执行 mysqld --initialize-insecure 4. 启
阅读全文
posted @ 2022-08-26 11:05 jason_bo
阅读(876)
评论(0)
推荐(0)
下一页
公告