mkdir empty_dir
robocopy empty_dir the_dir_to_delete /s /mir
rmdir empty_dir
rmdir the_dir_to_delet...
Monday, 4 June 2018
Thursday, 8 January 2015
Monday, 8 December 2014
Maven portlet development - Liferay service builder portlet
MicrosoftInternetExplorer402DocumentNotSpecified7.8Normal0
1. Navigate to the folder where you want to create Liferay plugin
2. Execute the command mvn archetype:generate. This will take some time for the first time. You might need to rerun this command for twice to get it complete.
3. It will ask to choose a number&nb...
Monday, 8 September 2014
Spring Web Service Client Using Maven with Liferay Portlet
Monday, September 08, 2014
development, Liferay, maven, opensource, portlet, spring
No comments
Hardik
Create one simple maven base project in Eclipse.
Save your wsdl file in the resource directory with WSDL extension. Make sure about the extension
Copy following build and dependencies tag.
<build>
<plugins>
<plugin>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-codegen-plugin</artifactId>
<version>${cxf.version}</version>
<executions>
<execution>
<id>generate-sources</id>
<phase>generate-sources</phase>
<configuration>
<sourceRoot>src/main/java</sourceRoot>
<wsdlOptions>
<wsdlOption>
<wsdl>${basedir}/src/main/resources/TestService.wsdl</wsdl>
</wsdlOption>
</wsdlOptions>
</configuration>
<goals>
<goal>wsdl2java</goal>
</goals>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>xerces</groupId>
<artifactId>xercesImpl</artifactId>
<version>2.9.1</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-tools-common</artifactId>
<version>${cxf.version}</version>
</dependency>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-frontend-simple</artifactId>
<version>${cxf.version}</version>
</dependency>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-transports-http</artifactId>
<version>${cxf.version}</version>
</dependency>
</dependencies>
<properties>
<cxf.version>2.7.7</cxf.version>
</properties>
build...
Tuesday, 2 September 2014
Spring MVC portlet using maven
Create Maven base Liferay portlet
Please following the below link to create a Liferay portlet using maven command prompt.
http://wellofjava.blogspot.com/2014/08/maven-portlet-development-for-command.html
Define Maven dependencies for Sping MVC portlet
Now you will need to add following dependencies in Maven file to make spring portlet.
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc-portlet</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
...
Thursday, 7 August 2014
Maven Portlet Development - For Command Prompt Lovers
Navigate to the folder where you want to create Liferay plugin
Execute the command mvn archetype:generate. This will take some time for the first time. You might need to rerun this command for twice to get it complete.
It will ask to choose a number or apply filter. Enter filter for Liferay, simply type liferay and hit enter.
Select proper archetype for particular pulgin e.g for Liferay portlet pulgin select liferay-portlet-archetype
Enter liferay portlet archetype version. E. g. Version of Liferay, for our case we need to choose 6.2.0-RC5.
Define...
Wednesday, 30 July 2014
Simple Captcha Text Producer Implementation
Wednesday, July 30, 2014
captcha, internationlization, Liferay, marketplace, opensource, simplecaptcha
No comments
Hardik
This blog is in reference to the Liferay hook in Marketplace. Following is the link for the Captcha Internationalization.
Captcha Internationalization Hook
Same Concept can be used to implement multilingual Captcha for any web site.
Simple Captcha is the opensource implementation for captcha service. Please check the following URL for more details about SimpleCaptcha.
http://simplecaptcha.sourceforge.net/
Simple Captcha is providing textProducer for Captcha implementation. The textProducer class produces a string with some random Character...
Subscribe to:
Posts (Atom)