A simple java based client-server chat application.
NOTE: All scripts are required to be executed from outside the actual project's directory.
$ ./make.sh project-name your.package.name YourFile.java
To create a project root directory with java package structure, and additionally create a java file
project-name
(required): the root project name, a default java source path will automatically get created inside it (i.e.src/main/java
)your.package.name
(optional): the package name, separated by.
, for which a folder structure will get created under default source path (i.e.your/package/name
)YourFile.java
(optional): the source file name, which will include apackage
statement
$ ./build.sh project-name jar-file-name main.class.File
It compiles all the java files in a project and packs an executable/non-executable jar file, as required
project-name
(required): the root project to buildjar-file-name
(optional): the name of packedjar
archive, no extension requiredmain.class.File
(optional): the fully qualified name of the main class, if you want to pack an executablejar
archive
$ ./clean.sh project-name
This cleans all of the previously compiled class
and jar
files
project-name
(required): the root project to clean