I use Liferay7 to build my project. When I deploy my portlet by Gradle, my JS and CSS code won't be updated. Anybody knows why? Thank you very much.
portal-ext.properties
theme.css.fast.load=false
theme.images.fast.load=false
javascript.fast.load=true
javascript.log.enabled=false
layout.template.cache.enabled=false
Related
I want to automate the project check out and configuration, for that I am trying to create plugin. I tried to search the web but no luck so far.
I have started with the basic example templates but how to code checkout and configuration, can't figure out. Please suggest.
Thank you.
I created an ext-plugin for extending Liferay LDAP DefaultPortalToLDAPConverter. I created an ext plugin in eclipse. In the ext-impl/src/main/java/com/liferay/portal/security/ldap/CustomPortalToLDAPConverter i extended DefaultPortalToLDAPConverter and kept only the changed methods in my class. Also I added in ext-spring.xml
<bean id="portalToLDAPConverter" class="com.liferay.portal.security.ldap.CustomPortalToLDAPConverter" />
and then deployed the ext. The deployment went well without any errors. But the changes did not take place. Is there anything wrong in what I am doing? I use jboss7.1.1-final bundled Liferay6.1.2. I build using maven and then deploy by placing the war file in liferay-home/deploy. Then I tried restarting the server. Now I could see that my ext-spring.xml is missing in the jar file. Is there any specific reason for this? Please help.
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.
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
i am developing an java application using eclipse pulser ide, in that i have got `NoClassDefFoundError: com/sun/lwuit/layouts/Layout.
i have tried many solution's and tried to import LWUIT.jar and cleaned project's but even its not working can anybody head up with a solution.
Thank you.
Go to project Properties, Java Build Path, Order and Export and make sure that your LWUIT jar is marked.
I need to put some property files (config file required by a library) in the starting path of the Jetty server in DevMode but could not figure out where to put them. Where should I put them?
I googled but no luck for that. Any help is appreciated.
You need to share your project set up information. Maven? Also mention whether property file is for app or jetty and what you are trying to achieve.
Also you can try putting up the properties file in web-inf/classes if it is project specific.
I am guessing you are not using any standard GWT project set up. It will be very difficult to proceed further even if you get this solved. I recommend you should go with gwt standard set up. You can reference GWT samples folder from here.
Use Hello project set up as template. If you are beginner also read up on https://developers.google.com/web-toolkit/doc/latest/RefCommandLineTools#webAppCreator.
If you use maven in your project, placing them in the src/main/resources should work.
Otherwise put it in your WEB-INF/classes
I created a seam project using seam-gen utility tool. I want to change the name of the project. How can I update it ?
your help is highly appreciated.
Thanks
If your project is in an IDE (Eclipse, Netbeans), you can refactor it and rename it. If you haven't put too much work into it you can run seam-gen again with a different project name.