• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

what files or directories to deploy

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If I recompile JForum and copy the entire jforum folder to the Tomcat webapps folder, it wipes out any customization. I would like to refresh as much as possible on every deployment, without destroying anything that was created dynamically in my forum. Can someone give me a list of everything that should NOT be replaced when the app is redeployed?

Thanks.
[originally posted on jforum.net by jstrunk]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

jstrunk wrote:If I recompile JForum and copy the entire jforum folder to the Tomcat webapps folder, it wipes out any customization. I would like to refresh as much as possible on every deployment, without destroying anything that was created dynamically in my forum. Can someone give me a list of everything that should NOT be replaced when the app is redeployed?

Thanks.


The two key files you should keep are your jforum-custom.conf and your database configuration file (mine happens to be mysql.properties since I use MySQL).

I use a custom theme too, so that is in a different directory than "default" .. so it doesn't get overwritten. If you have any customized files, you should make a list of them and make sure you have a backup of them for any future upgrades.

I don't typically deploy a new .war file for my upgrades, but do a cp -R of the updated files (running Linux).
[originally posted on jforum.net by GatorBait3]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks, this is helpful.
[originally posted on jforum.net by jstrunk]
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic