0

How can I check what OpenCms version is used? I've got only the access to the web site source files. I haven't access to a web server and a database. Thank you:)

Wolandello
  • 127
  • 4
  • 15

1 Answers1

0

In the web site source files, if you're talking about the expanded war file, there is a folder named 'setup' and under it a file named 'versions.txt'. In there, you see the OpenCms version number.

Mathias Conradt
  • 28,420
  • 21
  • 138
  • 192
  • what do you mean with "website source code" ? All files of OpenCms are stored in it's VFS (virtual file system), which is usually a mysql database. There are no files on the real file system, only the OpenCms framework files themselves. Even then, if you don't have a war file, I assume you are talking about the expanded files that initially came from the war file. There should also be a setup folder then. Please let me know what exactly you mean with 'website source code'. – Mathias Conradt May 03 '12 at 04:04
  • I've only got java files and openCms synchronized files – Wolandello May 03 '12 at 06:48
  • Also I've got access to the remote openCms web gui, but I must work locally, so I should expand my own openCms and java source on my machine. – Wolandello May 03 '12 at 06:56
  • 1
    If you have access to the OpenCms Web GUI, then you find the version number on the OpenCms workplace login page. It's on that page. Usually http:///opencms/opencms/system/login or similar, depending on your servlet mapping and context name. – Mathias Conradt May 03 '12 at 07:53
  • Do you mean you need to work with the OpenCms core code and deploy your customized opencms.jar, without even having access to the entire system? That sounds like a weird construct and hard task to manage... good luck. – Mathias Conradt May 03 '12 at 07:54
  • Thank you for your reply. I 've checked the version and I must install the project on my local machine and I really don't know how to do that – Wolandello May 03 '12 at 08:14
  • Websites in OpenCms are usually packaged as modules, inside OpenCms. You can usually go into the Web UI / Administration / Module Management and export the website as a module, if it has been setup as a module properly. Then, you'd install OpenCms locally (you don't need the OpenCms sources, just the 'binary' version of it), run the setup. Then import the website module from the live server to your local OpenCms (also via Web UI, Admin, Module Management). – Mathias Conradt May 03 '12 at 09:19