/jcombine

Combine multiple Java source files into a single file

Primary LanguagePython

jcombine

Introduction

A Python script to combine multiple Java source files into a single file.

Usage

python3 jcombine.py source_dir target_file

Use jcombine.py --help for more help.

Example: python3 jcombine.py /home/ramin/project/src /home/ramin/Main.java

Caution: A source file with the same name as the target file must be present in the source directory (or its subdirectories).

History

This script was written during the Advanced Programming course I took at Tehran Polytechnic (AUT), in order for me and my friends to easily upload a single Java file to Quera, where our exercises where hosted.

Contribution

If you find any problems or have any suggestions, feel free to open a pull request or start an issue and get in touch with me.

Gratitude

In case you find this script useful, I'd be glad if you could give it a star.