jdeploy 2.0.9 → 3.0.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/JDeploy.jar +0 -0
- package/bin/libs/clove-io-0.1.jar +0 -0
- package/bin/{lib/CN1-Compatlib.jar → libs/cn1-compatlib-1.0-SNAPSHOT.jar} +0 -0
- package/bin/libs/commons-cli-1.4.jar +0 -0
- package/bin/libs/commons-compress-1.21.jar +0 -0
- package/bin/{lib → libs}/commons-exec-1.3.jar +0 -0
- package/bin/libs/commons-io-2.11.0.jar +0 -0
- package/bin/libs/commons-lang3-3.12.0.jar +0 -0
- package/bin/libs/commons-text-1.9.jar +0 -0
- package/bin/libs/icns-core-1.1.jar +0 -0
- package/bin/libs/jdeploy-installer-template-linux-amd64-1.0-SNAPSHOT.jar +0 -0
- package/bin/libs/jdeploy-installer-template-mac-amd64-1.0-SNAPSHOT.jar +0 -0
- package/bin/libs/jdeploy-installer-template-win-amd64-1.0-SNAPSHOT.jar +0 -0
- package/bin/libs/jdeploy-shared-1.0-SNAPSHOT.jar +0 -0
- package/bin/{lib/jetty-runner.jar → libs/jetty-runner-1.0-SNAPSHOT.jar} +0 -0
- package/bin/libs/jmdns-3.4.1.jar +0 -0
- package/bin/libs/jtar-1.1.jar +0 -0
- package/bin/libs/slf4j-api-1.7.32.jar +0 -0
- package/bin/libs/thumbnailator-0.4.15.jar +0 -0
- package/bin/libs/xmllib-1.0-SNAPSHOT.jar +0 -0
- package/bin/libs/zip4j-2.9.1.jar +0 -0
- package/package.json +6 -2
- package/bin/README.TXT +0 -32
- package/bin/jdeploy.js +0 -36
- package/bin/lib/commons-cli-1.3.1-javadoc.jar +0 -0
- package/bin/lib/commons-cli-1.3.1.jar +0 -0
- package/bin/lib/commons-io-2.5.jar +0 -0
package/bin/JDeploy.jar
CHANGED
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jdeploy",
|
|
3
|
-
"version": "
|
|
4
|
-
"repository":
|
|
3
|
+
"version": "3.0.0-alpha.4",
|
|
4
|
+
"repository": {
|
|
5
|
+
"type": "git",
|
|
6
|
+
"url": "https://github.com/shannah/jdeploy.git",
|
|
7
|
+
"directory": "cli"
|
|
8
|
+
},
|
|
5
9
|
"description": "Deploy java apps using NPM",
|
|
6
10
|
"main": "index.js",
|
|
7
11
|
"scripts": {
|
package/bin/README.TXT
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
========================
|
|
2
|
-
BUILD OUTPUT DESCRIPTION
|
|
3
|
-
========================
|
|
4
|
-
|
|
5
|
-
When you build an Java application project that has a main class, the IDE
|
|
6
|
-
automatically copies all of the JAR
|
|
7
|
-
files on the projects classpath to your projects dist/lib folder. The IDE
|
|
8
|
-
also adds each of the JAR files to the Class-Path element in the application
|
|
9
|
-
JAR files manifest file (MANIFEST.MF).
|
|
10
|
-
|
|
11
|
-
To run the project from the command line, go to the dist folder and
|
|
12
|
-
type the following:
|
|
13
|
-
|
|
14
|
-
java -jar "JDeploy.jar"
|
|
15
|
-
|
|
16
|
-
To distribute this project, zip up the dist folder (including the lib folder)
|
|
17
|
-
and distribute the ZIP file.
|
|
18
|
-
|
|
19
|
-
Notes:
|
|
20
|
-
|
|
21
|
-
* If two JAR files on the project classpath have the same name, only the first
|
|
22
|
-
JAR file is copied to the lib folder.
|
|
23
|
-
* Only JAR files are copied to the lib folder.
|
|
24
|
-
If the classpath contains other types of files or folders, these files (folders)
|
|
25
|
-
are not copied.
|
|
26
|
-
* If a library on the projects classpath also has a Class-Path element
|
|
27
|
-
specified in the manifest,the content of the Class-Path element has to be on
|
|
28
|
-
the projects runtime path.
|
|
29
|
-
* To set a main class in a standard Java project, right-click the project node
|
|
30
|
-
in the Projects window and choose Properties. Then click Run and enter the
|
|
31
|
-
class name in the Main Class field. Alternatively, you can manually type the
|
|
32
|
-
class name in the manifest Main-Class element.
|
package/bin/jdeploy.js
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
#! /usr/bin/env node
|
|
2
|
-
var shell = require("shelljs/global");
|
|
3
|
-
var userArgs = process.argv.slice(2);
|
|
4
|
-
var javaArgs = [];
|
|
5
|
-
var programArgs = [];
|
|
6
|
-
userArgs.forEach(function(arg) {
|
|
7
|
-
if (arg.startsWith('-D') || arg.startsWith('-X')) {
|
|
8
|
-
javaArgs.push(arg);
|
|
9
|
-
} else {
|
|
10
|
-
programArgs.push(arg);
|
|
11
|
-
}
|
|
12
|
-
});
|
|
13
|
-
var cmd = 'java';
|
|
14
|
-
javaArgs.forEach(function(arg) {
|
|
15
|
-
cmd += ' "'+arg+'"';
|
|
16
|
-
});
|
|
17
|
-
cmd += ' -jar "'+__dirname+'/JDeploy.jar" ';
|
|
18
|
-
programArgs.forEach(function(arg) {
|
|
19
|
-
cmd += ' "'+arg+'"';
|
|
20
|
-
});
|
|
21
|
-
var child = exec(cmd, {async: true});
|
|
22
|
-
process.stdin.setEncoding('utf8');
|
|
23
|
-
|
|
24
|
-
process.stdin.on('readable', () => {
|
|
25
|
-
var chunk = process.stdin.read();
|
|
26
|
-
if (chunk === null) {
|
|
27
|
-
|
|
28
|
-
return;
|
|
29
|
-
}
|
|
30
|
-
try {
|
|
31
|
-
child.stdin.write(chunk);
|
|
32
|
-
} catch(e){}
|
|
33
|
-
});
|
|
34
|
-
child.on('close', function(code) {
|
|
35
|
-
process.exit(code);
|
|
36
|
-
});
|
|
Binary file
|
|
Binary file
|
|
Binary file
|