Just a FYI. Your modern extension is empty L when I build it with ant. It builds it but it only contains the manifest file and the logo…
Sincerely
Gert Franz
RASIA GmbH
Spittelgasse 7
5103 Moeriken-Wildegg
Switzerland
Email: mailto:Gert_Franz @Gert_Franz
Skype: gert.franz
Phone Switzerland: +41 76 5680 231Von: lucee@googlegroups.com [mailto:lucee@googlegroups.com] Im Auftrag von Paul Klinkenberg
Gesendet: Mittwoch, 2. März 2016 08:49
An: lucee@googlegroups.com
Betreff: Re: [Lucee] Lucee 5 Extension creation
Hi,
For my extensions, I am using ant build code created by Micha, which creates both the classic and modern extension.
Code can be found on Github: https://github.com/paulklinkenberg/lucee-loganalyzer-installer
The build-modern.xml file shows you the structure of the modern .lex extensions.
Kind regards,
Paul Klinkenberg
Op 2 mrt. 2016 om 01:45 heeft ADK <@ADK> het volgende geschreven:
Thank you both. I believe Jesse is correct on the jars directory. It is mainly the “components” directory (with sub dir “org”, etc.) that I am having an issue with. It would be nice if someone from LAS could weigh in on the proper way to do this. Perhaps there isn’t one at the moment?
I will give Jesse’s suggestion a try, I am just a bit reluctant to spin my wheels, hacking my way toward a workable solution if there’s a better defined, best practice way of creating extensions.
Cheers for the help guys!
On Monday, February 29, 2016 at 9:20:02 AM UTC-8, Jesse Shaffer wrote:
I wonder if the jars need to also be referenced in the MANIFEST.MF file. I noticed this in the MongoDB extension I’m working on. The MANIFEST.MF has the Require-Bundle property. Something to try maybe.
I don’t believe so… just put any needed jars in the “jars” sub directory. If they are bundles they will be installed, if they are not OSGi bundles, I don’t know if they are automatically converted to be bundles or if they are just put in the lib directory. Micha would have to answer that part.
One thing you might do is create a component mapping to a folder with your org/whatever code (omit the components directory), then create a LAR from that mapping. Then put that lar into the /archives subdirectory of the extension, and it will automatically install.
As a side note, I’m working on a Maven plugin to build Lucee 5 archives/extensions. It is mostly working, still needs some improvement and cleanup, and it’s not documented…yet (this is my first crack at writing a maven plugin, so go easy on me if you see glaring problems). GitHub - dajester2013/lucee-maven-plugin: A maven plugin to simplify Lucee project development. (switch to the develop branch for the lucee extension portion).
You received this message because you are subscribed to the Google Groups “Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/1e42d60b-605a-4546-9eb2-7f1ae4dc4df2%40googlegroups.com https://groups.google.com/d/msgid/lucee/1e42d60b-605a-4546-9eb2-7f1ae4dc4df2%40googlegroups.com?utm_medium=email&utm_source=footer .
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups “Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/EA314C08-C569-438F-A714-9E69B135C7B3%40ongevraagdadvies.nl https://groups.google.com/d/msgid/lucee/EA314C08-C569-438F-A714-9E69B135C7B3%40ongevraagdadvies.nl?utm_medium=email&utm_source=footer .
For more options, visit https://groups.google.com/d/optout.