Releases: fals3bool/JTCL
Releases · fals3bool/JTCL
JTCL 1.4
What's Changed
Pulled from #1
- Build, deploy and clean based on pom.xml file.
- Windows compatibility
- Error handler using the "result pattern"
- Logging with colors, yay! colors!
- New command:
deploywhich deploys an existing java application without building it again
Full Changelog: v1.3.0...v1.4
JTCL 1.3
Removed all the useless functionalities.
Executable renamed to jtcl.
Just three commands executable in any order:
jtcl clean
jtcl build
jtcl run
jtcl clean build run
You can run jtcl run build clean run for example. I don't know why anyone would do that, but it's possible.
Full Changelog: v1.1...v1.3.0
(Forgot the 1.2)
1.1
sudo nano /etc/profile
# write inside '/etc/profile'
export JTCL_HOME="/home/fabri/Data/code/c/JTCL"
export PATH=$JTCL_HOME/build/bin:$PATH
# Also needs CATALINA_HOME
export CATALINA_HOME="/opt/apache-tomcat"# open text user interface (TUI)
WAR="war_file_without_extension" jcatl listen
# you'll see 4 clickable buttons
[ SET ] [ RUN ] [ STOP ] [ REMOVE ]
# exit TUI with q or ctrl+c1.0
How to Use
Build your war file
mvn clean packageUse JTCL
# copy target/war_file to $CATALINA_HOME/webapps
WAR="war_file_without_extension" jcatl set
# run tomcat/startup
WAR="war_file_without_extension" jcatl run
# run tomcat/shutdown
WAR="war_file_without_extension" jcatl stop
# remove war file & folder from $CATALINA_HOME/webapps
WAR="war_file_without_extension" jcatl remove