jlogar / st-copy

Sublime text copy file on save for web project (javaee/glassfish)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

st-copy

Plugin

Netbeans automatically copies files on save from 'webapp' folder to 'target' subtree for Java Glassfish deployed project.

This plugin enables using Sublime Text for web related work. Directory structure is hardcoded for author's specific project, but it should be easy to adapt it for different kind of structure.

copying from source: *\\src\\main\\webapp\\*some.file to: *\\target\\*SNAPSHOT\\*some.file

For example:

File:

root_folder\my_web_project_name\src\main\webapp\some\relative\substructure\hello.html

Gets copied to:

root_folder\my_web_project_name\target\my_web_project_name-1.0-SNAPSHOT\some\relative\substructure\hello.html

Installation

Copy cloned/downloaded repo folder to:

  • OS X: ~/Library/Application Support/Sublime Text 2/Packages/
  • Linux: ~/.Sublime Text 2/Packages/
  • Windows: %APPDATA%/Sublime Text 2/Packages/

About

Sublime text copy file on save for web project (javaee/glassfish)