OAM custom authentication module requires a custom manifest.mf file to be included in your custom plugin jar file. It is is easy to include your own manifest.mf file during jar building process in eclipse. But it not that easy if you are using Netbeans . If you do a clean build using Netbeans, you will end in having a default manifest.mf file in the jar file.
Here are the steps to include your OAM plugin specific manifest.mf file in the jar.
(1) Keep your custom manifest.mf file in /src/META-INF/ directory.
(2) Open /YourProject/nbproject/project.properties
comment this line
#manifest.file=manifest.mf
add this two lines that will do the magic
manifest.available=true
manifest.file=${src.dir}/META-INF/manifest.mf
(3) Now do a NetBean build, the generated jar file should have "/src/META-INF/manifest.mf" included already.
Monday, March 10, 2014
Including Custom MANIFEST.MF File in NetBeans jar Building Process
Labels:
Authentication Plugin,
manifest.mf,
NetBeans,
OAM
Subscribe to:
Post Comments (Atom)
Custom Software Development, Offshore Software Development, Open Source Development, Web Design & Development Services, Software Testing, Technical Maintenance and Support services
ReplyDelete