i tried so hard to do what you said , i m not a java developper , i don't know what the files are supposed to contain . can you please send me an exemple of jar file so i can make changes . please i need this
Le mar. 26 mars 2019 à 16:02, Nick Couchman <[email protected]> a écrit : > > > On Tue, Mar 26, 2019 at 10:48 AM Kamal Ezzaki <[email protected]> > wrote: > >> Okey i get it now , so i need to regenerate the .war isn't ? >> >> >> > A JAR file, actually - since it's an extension, you generate an extension > JAR, just like the other authentication extensions, and drop it into the > GUACAMOLE_HOME/extensions directory. Creating the JAR is pretty easy - > create the directory structure, with the guac-manifest at the base, and the > folders and files as specified in the manifest (e.g. resources/logo.png for > the logo, if that's where the guac-manifest.json file specifies it). Once > you have everything as you want it, zip up the folder into a JAR file. Do > this inside the folder, so that guac-manifest.json is at the base of the > zip. > > So, you have a directory structure like this: > guacamole-branding > ├── guacamole.manifest > ├── resources > │ └── logo.png > └── translations > └── en.json > > You would then: > $ cd guacamole-branding > $ zip -r ../guacamole-branding.jar > > Then drop "guacamole-branding.jar" into your GUACAMOLE_HOME/extensions > folder and reload the application. You might also have to clear browser > cache to get things to display properly, especially if you rework the > branding several times as you adjust things. > > -Nick > -- *EZZAKI Kamal* *Élève** ingénieur en **Administration Réseaux et **Systèmes* *à l'ENSEM* *Tél : +212 6 81 78 28 64* *Email : [email protected] <[email protected]>*
