Monday, August 12, 2013

Confluence Publisher Plugin with Jenkins

No comments:
Confluence Publisher Plugin with Jenkins



1) First I installed the confluence publisher plugin in jenkins.

2) Created a account in confluence (on demand service).

3) Get the Server Base Url,




Wiki Url will be like,





4) Configure this Confluence Url in jenkins global configuration



5) Then confgiure which file need to be uploaded in Specific job configuration




6) The specified files will be uploaded to the confluence, the jenkins console will be like,




7) Attached files can be found in confluence in the link



--
Thank you.
Read More

Tuesday, August 6, 2013

Error extracting plugin descriptor: 'Goal: * already exists in the plugin descriptor for prefix: *

1 comment:

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 :)
Read More

Monday, June 17, 2013

Jquery combine two objects values into a single object

No comments:
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 :)
Read More

Tuesday, May 7, 2013

W3C DOM Parser

No comments:
W3C DOM Parser

We can use both jdom as well as w3c dom. In this I am going to explain about w3c dom.


Getting the document on w3c dom.



Some common function for Dom processing


We can specify the xpath value to get the specific tag/ Node.


From other resource example (stackoverflow),

Getting all the tags called "sites" and getting child node value using getTagValue common method.




Happy Coding :)
Read More

Saturday, May 4, 2013

Struts2 Application developemnt with Jquery

No comments:
Struts2 Application developemnt with Jquery

It is very easy to integrate Struts2 applicaiton with Jqery. There are many existing solution that can be used to solve it. No need to start from scratch.

http://struts.jgeppert.com/struts2-jquery-showcase

Which is popular among the jquery plugin. This site is having nice tutorial.

Other Sites :
http://malsup.com/jquery/form/#fields


http://struts.jgeppert.com is also having struts2-bootstap plugin, which contains bootstarp theme that can be integrated with struts2. Instead of struts2 default theme. We can use bootstarp theme.



--
Thank you.


Regards,
Kaleeswaran.S
Read More