Code Monkey home page Code Monkey logo

litongjava-dev-tools-file-sync's Introduction

litongjava-dev-tools-file-sync

简介

[主要功能]
1.检测目录下的文件是否有变化,如果有变化通过ssh协议上传到linux

[替代产品]
idea的Tools-->Deployment

[软件架构]
jfinal+sqllite

[用途]
检测到编译后的class文件变动,将class文件上传到linux服务器,linux服务器使用HotSwapWatcher检测的class文件变动会自动重启服务.实现在windows上编写代码,在linux上运行

使用

下载release中的文件
在windows启动start.bat
启动成功后访问http://127.0.0.1:10037/dev-tools-file-sync/ 配置同步信息
image-20210711115508910

参数 简介
本地路径 E:\dev_workspace\java\java-study\java-ee-spring-boot-study\java-ee-spring-boot-2.1.6-study本地工程目录
远程路径 上传位置/root/dev_workspace/java/java-study/java-ee-spring-boot-study/java-ee-spring-boot-2.1.6-study
远程IP 远程服务器IP
用户名 服务器ssh用户名
密码 服务器ssh密码
端口 服务器ssh端口

配置完成后点击同步文件

文件同步成功后开启服务

内存消耗为113MB

测试视频

https://www.bilibili.com/video/bv1Uw411R7aS

litongjava-dev-tools-file-sync精简版.gif

litongjava-dev-tools-file-sync's People

Watchers

James Cloos avatar Tong Li avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.