JSBuilder2
所属分类:WEB开发
开发工具:Java
文件大小:850KB
下载次数:0
上传日期:2019-12-05 22:40:04
上 传 者:
tiancaidong
说明: jar文件用于js文件的压缩,使用方法,写一个描述文件 a.jsb3:
{
"projectName": "",
"deployDir": "",
"licenseText": "",
"pkgs": [
{
"text": "All Classes Needed",
"file": "render.js",
"isDebug" : false,
"fileIncludes": [
{
"path": "../pj/static/js/",
"text": "ab.js"
},{
"path": "../pj/static/js/",
"text": "bc.js"
}
]
}
],
"resources": []
}
然后命令行之行:java -Dfile.encoding=UTF-8 -jar JSBuilder2.jar --projectFile a.jsb3 -d ./bin
即可得到压缩后js文件
(Jar file is used to compress JS file. Write a description file a.jsb3:
{
"projectName": "",
"deployDir": "",
"licenseText": "",
"Pkgs":
{
"text": "All Classes Needed",
"file": "render.js",
"isDebug" : false,
"fileIncludes": [
{
"path": "../pj/static/js/",
"text": "ab.js"
}, {
"path": "../pj/static/js/",
"text": "bc.js"
}
]
}
]
"resources": []
}
Then on the command line: Java - dfile. Encoding = UTF-8 - jar jsbuilder2. Jar -- projectfile a.jsb3 - D. / bin
You can get the compressed JS file)
文件列表:
JSBuilder2.jar (917172, 2009-07-08)
近期下载者:
相关文件:
收藏者: