Making a plug-in for a new repository?

View: New views
2 Messages — Rating Filter:   Alert me  

Making a plug-in for a new repository?

by Chris Pioli :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hey guys,

Can I create a new repository or change the default repository's settings via a
plug-in? It would be nice to get a new build of Nuxeo running without having to
reconfigure the default repository, so I thought I could make a plug-in to get
the repository set up when I want to.

I tried making a plug-in for a new repository by running the code in Chapter
37.2.5 (Setting up a new repository configuration) into some contrib.xml files
for a plug-in (also adding them to the META-INF.MF file in the proper lines as
well) but after building the jar file and running Nuxeo, it ran into some errors:

Component Loading Status: Pending: 3 / Total: 186

* service: myRepository.com.lmco.wdl.myProject.themes requires
           [service:org.nuxeo.ecm.platform.api.DefaultPlatform]
* service:org.nuxeo.ecm.platform.ui.web.auth.service.Pluggable/
          AuthenticationService.audit requires
          [service:org.nuxeo.ecm.platform.audit.service.NXAuditEventsService]
* service:org.nuxeo.ecm.platform.workflow.audit.events requires
          [service:org.nuxeo.ecm.platform.audit.service.NXAuditEventsService]

Is it possible to come up with a plug-in to automatically handle custom
repository settings?

Thanks,

Chris

_______________________________________________
ECM mailing list
ECM@...
http://lists.nuxeo.com/mailman/listinfo/ecm

Re: Making a plug-in for a new repository?

by Chris Pioli :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Oh, I forgot to mention:

I'm running Nuxeo EP 5.1.5



_______________________________________________
ECM mailing list
ECM@...
http://lists.nuxeo.com/mailman/listinfo/ecm
LightInTheBox - Buy quality products at wholesale price!