Sunday, January 19, 2014
Ant task to invoke a jar file
Ant task to invoke a jar file

<target name="start-jar"> <echo message="Starting the jar file "/> <java jar="${jar_path}.jar" fork="true"> <arg value="${args}"/> <arg value="${args}"/> </java> </target>
Specify the jar path and pass the arguments.
Happy Coding.
--
Thank you.
Regards,
Kaleeswaran S
Regards,
Kaleeswaran S
Thursday, October 3, 2013
java.sql.SQLException: No suitable driver found for jdbc:mysql on Hibernate
java.sql.SQLException: No suitable driver found for jdbc:mysql
To fix this issue add property
<property name="hibernate.connection.driver_class">com.mysql.jdbc.Driver</property>
in hibernate.cfg.xml file.
Monday, August 12, 2013
Confluence Publisher Plugin with Jenkins
Tuesday, August 6, 2013
Error extracting plugin descriptor: 'Goal: * already exists in the plugin descriptor for prefix: *
Do you face this issue ?
Error extracting plugin descriptor: 'Goal: * already exists in the plugin descriptor for prefix: *
[ERROR] Existing implementation is: *.*Mojo
[ERROR] Conflicting implementation is: *.*Mojo'
[ERROR] -> [Help 1]
Solution :
You may encounter this error when changing a build -> directory on pom.xml
By default build directory will be target directory. If you face this issue, delete the target directory as well as newly specified build directory and install again.
Happy Coding :)
Monday, June 17, 2013
Jquery combine two objects values into a single object
Jquery is having inbuilt function called extend, which can be used to merge two objects values in a single object.
var data1 = { duration: 100 }; var data2 = { duration: 110 }; console.log("Before Data1 " + JSON.stringify(data1)); console.log("Before Data2 " + JSON.stringify(data2)); /* merge data2 into data1 */ $.extend(data1, data2); console.log("After Data1 " + JSON.stringify(data1)); console.log("After Data2 " + JSON.stringify(data2));
OUTPUT :![]()
Happy Coding :)
Subscribe to:
Posts (Atom)