Home
TeamSite
How to compile java class file without executing build.sh?
kumardas
Hi,
I was just wondering is there a way to compile java class files in livesite without executing/running build.sh. Actually when ever i create a new java class file or if i update any existing java class file, i need to execute build.sh. When i execute build.sh it internally executes toolkit and also compiles my java class file and creates a jar file automatically. So the entire teamsite will not be available for some time (5 to 10 mins), while this process is running. To avoid this type of interruption, i want to compile java class files manually, without running build.sh. So that the teamsite will not go down.
Thanks in advance......
Find more posts tagged with
Comments
vpatel
In order to make any sort of Java changes, you have to refresh the app. Whether you compile your java classes with build.bat/sh or do it outside and then drop them into TS, it doesn't matter. For your updates to show up, you'll have to refresh the CC web app. That refresh will take a few mins. There is no easy way getting around this. This is how any standard Java apps work. I would suggest to stick with build.bat/sh. If anything, you can run scheduled builds so that you are minimizing the impact for TS users.