在 Manus 中运行任何 Skill
一键导入
一键导入
一键在 Manus 中运行任何 Skill
开始使用gf
星标3
分支0
更新时间2026年4月25日 08:12
GlassFish dev workflow CLI tool
安装
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
SKILL.md
readonly菜单
GlassFish dev workflow CLI tool
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | gf |
| description | GlassFish dev workflow CLI tool |
Run the GlassFish dev workflow command:
./gf $ARGUMENTS
If no arguments were provided, show the quick reference below instead of running a command.
| Command | Description |
|---|---|
./gf start [--no-debug] | Start domain (debug on port 9009 by default) |
./gf stop | Stop the domain |
./gf setup [--delete] | Configure JDBC/JMS/JNDI resources from db.properties + env.properties |
./gf run [--no-debug] | Start + build WAR + deploy (zero to running) |
./gf restart [--no-debug] | Stop + start + build + deploy |
| Command | Description |
|---|---|
./gf ui | rsync XHTML/CSS/JS/images + .jrxml reports to exploded deployment |
./gf classes [-v] | Incremental javac + JDWP hot-swap (~3-6s) |
./gf sync [-v] | UI sync + classes hot-swap (most common) |
./gf full | Clean WAR build + asadmin redeploy (~30-60s) |
./gf deploy | Build WAR + fresh deploy |
./gf undeploy | Remove the deployed application |
| Command | Description |
|---|---|
./gf log [--err] | Tail server log (--err filters errors only) |
./gf ui./gf ui./gf classes -v./gf sync -v./gf full./gf run./gf sync -v
│
├─ UI + resource sync (rsync)
│ src/main/webapp/ ──rsync──► GF exploded deployment dir
│ src/main/resources/reports/ ──rsync──► WEB-INF/classes/reports/
│
└─ Classes hot-swap
1. find -newer → changed .java files
2. javac (incremental, Lombok processorpath)
3. HotSwap.java → JDWP redefineClasses on port 9009
4. If IDE debugger attached → compile only, skip redeploy
5. If structural change → fallback: mvnw package + asadmin redeploy
| File | Purpose |
|---|---|
gf | Main CLI script (project root) |
tools/HotSwap.java | JDWP client that redefines classes in running GlassFish |
tools/.classpath.cache | Cached Maven classpath for incremental javac (gitignored) |