Citation:
Envoyé par
joel.drigo
Utilise ton manifest.txt et pas le mien, déjà (le mien c'était juste pour essayer pour voir, mais c'est un retour-chariot windows, pas mac, d'où l'octet supplémentaire).
Sur la remarque de @Thelvin, elle est d'autant plus judicieuse que visiblement il a une expérience de bukkit, dont j'ai dit que je n'en avais aucune. La documentation indique qu'on peut faire comme j'ai dit (et également comme il a dit), mais ça ne veut pas dire que ça fonctionne.
Citation:
@to175 your libraries are not plugins, don't drop them in the plugins folder. For Maven shading, google around a bit and you will find tutorials which explain you how to use it. If you don't use Maven (which I expect at the moment), build your jar as you usually do, and:
Open the jar with an extraction tool (7-zip, winrar, etc).
Open the META-INF folder, and open manifest.MF.
Set Class-Path to ../lib/HtmlUnit.jar (or whatever the filename is).
Save, close, perform any action required to update the manifest.MF file (so the next time you view it, your changes should be visible).
In your server root, create a folder 'lib'.
In that folder, put HtmlUnit.jar (or whatever the filename is).
Put your plugin in the plugins folder.
Restart your server.
Donc moi je cherche à faire ce qu'il me dit avec le Class-path :calim2: