Open GoogleCodeExporter opened 9 years ago
How do you do the re-deployment?
There are two configurable keys in SystemGlobals.properties/jforum-custom.conf:
# Directory to store the files
attachments.upload.dir = upload
attachments.store.dir = ${application.path}/${attachments.upload.dir}
# Directory to store the avatar files
avatar.image.dir = images/avatar
avatar.store.dir = ${application.path}/${avatar.image.dir}/
You could unpack the war file, modify it, and then package the war file again.
Original comment by andow...@gmail.com
on 18 Jul 2012 at 12:03
I am using Tomcat and it's web console to manually deploy. Tomcat is basically
replacing entire war file so everything is lost.
I could create deployment script to copy those folders to temporary directory,
deploy and then copy back to web folder on Tomcat. But I would prefer not to
rely on script to do it.
I tried to specify the location of attachments using "../../upload" so it
stores files outside of web context, but this also seems to be dirty trick.
Also, it doesn't seem to be working with download of avatars.
How hard would it be to modify code and store it on DB? Is there any reason
against that approach?
-marcin
Original comment by koziars...@gmail.com
on 18 Jul 2012 at 4:39
Original issue reported on code.google.com by
koziars...@gmail.com
on 17 Jul 2012 at 2:10