ext plugin not working in liferay 6.1.2 jboss7

前端 未结 2 1515
忘掉有多难
忘掉有多难 2021-01-26 11:13

I created an ext-plugin for extending Liferay LDAP DefaultPortalToLDAPConverter. I created an ext plugin in eclipse. In the ext-impl/src/

相关标签:
2条回答
  • 2021-01-26 11:40

    Most of the tutorials say that the META-INF should be placed in the ext-impl/src or ext-impl/src/main folder. Doing so was not placing my ext-spring.xml in the jar build. Shifting the jar to ext-impl/src/main/resources helped and the META-INF was detected. Upon restarting, the changes took effect.

    0 讨论(0)
  • 2021-01-26 11:55

    Not compiled files that are meant to be put inside of class-path of resulting artifact should be placed in main/resources path: http://maven.apache.org/guides/getting-started/index.html#How_do_I_add_resources_to_my_JAR

    0 讨论(0)
提交回复
热议问题