This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Steps to clear the SSL certificate errors | |
1. Go to cacert location. (C:/Program Files/Java/jre7/lib/security/cacerts) | |
2. Dump the info in cacerts into java_cacerts text file using below command. | |
keytool -list -v -keystore cacerts > java_cacerts.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\blackduck-cxf-utilities-1.1.jar | |
commons-collections-3.2.1.jar | |
commons-lang-2.6.jar | |
commons-logging-1.1.1.jar | |
cxf-2.7.6.jar | |
cxf-bundle-2.7.8.jar | |
cxf-xjc-boolean-2.6.2.jar | |
cxf-xjc-bug671-2.6.2.jar | |
cxf-xjc-dv-2.6.2.jar | |
cxf-xjc-ts-2.6.2.jar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.apache.commons.codec.digest.DigestUtils; | |
import java.io.*; | |
import java.nio.file.Files; | |
import java.util.Arrays; | |
import java.util.Comparator; | |
import java.util.List; | |
import java.util.Vector; | |
//https://stackoverflow.com/a/46899517/2018343 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.din.pack; | |
import java.io.BufferedReader; | |
import java.io.File; | |
import java.io.FileReader; | |
import java.io.IOException; | |
import java.util.ArrayList; | |
import java.util.List; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Prerequisite: 1. Make sure you have set your user name and password in the settings.xml (check in Resource folder included in package)in (C:\Users\Dinesh\.m2). (if <localRepository> tag is present, then it is the path of local repo. ) | |
Prerequisite: 2. Take only the projects pom.xml file. | |
1. Create a folder and put the POM.xml file in it. | |
2. Open command prompt and cd(change directory) to that folder which contains POM.xml file. | |
3. First to get the binaries use below command. | |
mvn dependency:copy-dependencies -DoutputDirectory=\your directory\ | |
3.1. Build may get Failure due to some dependencies may not be available in the public repository. | |
3.2. Hence for dealing such case, Note down the missing dependencies from the command prompt and we have to get the source manually from the desired source. | |
3.3. Alter the POM file to point it to all that downloaded dependency files. | |
We must include 2 additional tag under that each missing dependency. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
log4j.rootLogger=DEBUG, CA, FA | |
#Console Appender | |
log4j.appender.CA=org.apache.log4j.ConsoleAppender | |
log4j.appender.CA.layout=org.apache.log4j.PatternLayout | |
log4j.appender.CA.layout.ConversionPattern=%d - %m%n | |
#%d [%-6p] %c{1} - %m%n | |
#File Appender | |
log4j.appender.FA=org.apache.log4j.FileAppender | |
log4j.appender.FA.Append=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.so.practice; | |
import java.io.File; | |
import java.io.FileNotFoundException; | |
import java.io.IOException; | |
import java.util.ArrayList; | |
import java.util.HashMap; | |
import java.util.List; | |
import org.apache.commons.io.FileUtils; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.din.own; | |
import java.awt.BorderLayout; | |
import java.awt.Component; | |
import java.awt.Dimension; | |
import java.awt.datatransfer.DataFlavor; | |
import java.awt.datatransfer.Transferable; | |
import java.awt.event.ActionEvent; | |
import java.awt.event.ActionListener; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.din.own; | |
import java.awt.GridBagConstraints; | |
import java.awt.GridBagLayout; | |
import javax.swing.JLabel; | |
import javax.swing.JOptionPane; | |
import javax.swing.JPanel; | |
import javax.swing.JTextField; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.List; | |
import jetbrains.exodus.entitystore.Entity; | |
import jetbrains.exodus.entitystore.EntityIterable; | |
import jetbrains.exodus.entitystore.PersistentEntityStore; | |
import jetbrains.exodus.entitystore.PersistentEntityStores; | |
import jetbrains.exodus.entitystore.StoreTransaction; | |
//https://github.com/JetBrains/xodus/wiki/Entity-Stores#search-queries | |
//https://mvnrepository.com/artifact/org.jetbrains.xodus/xodus-entity-store/1.0.4 |
NewerOlder