Add configuration file $HOME/.gradle/init.d/eclipse.gradle
:
allprojects {
apply plugin: 'eclipse'
if (project != rootProject) {
eclipse.project.name = (rootProject.name + project.path).replaceAll(':', '.')
}
telnet smtp.mydomain.com 25 | |
ehlo mydomain.com | |
mail from: from@mydomain.com | |
rcpt to: to@foreigndomain.com | |
data | |
subject: My subject | |
blah blah | |
blah blah | |
. |
echo "console.log('Hello, World')" > index.ts | |
tsc index.ts | |
node index.js |
git log --all --full-history -- "**/*.xml" |
import static com.github.tomakehurst.wiremock.client.WireMock.equalTo; | |
import static com.github.tomakehurst.wiremock.client.WireMock.matchingXPath; | |
import static org.junit.jupiter.api.Assertions.assertFalse; | |
import static org.junit.jupiter.api.Assertions.assertTrue; | |
import java.util.HashMap; | |
import java.util.Map; | |
import org.junit.jupiter.api.Test; |
package ch.keller.spring; | |
import java.lang.annotation.Documented; | |
import java.lang.annotation.ElementType; | |
import java.lang.annotation.Inherited; | |
import java.lang.annotation.Retention; | |
import java.lang.annotation.RetentionPolicy; | |
import java.lang.annotation.Target; | |
import javax.transaction.Transactional; |
git ls-files | while read f; do git blame --line-porcelain $f | grep '^author '; done | sort -f | uniq -ic | sort -n |
Update Gradle project from 4.10.x to 5.x with building JPA model classes, see https://stackoverflow.com/questions/54218556/how-to-generate-jpa-metamodel-with-gradle-5-x
Update build.gradle
:
dependencies {
annotationProcessor('org.hibernate:hibernate-jpamodelgen:5.4.2.Final')
}
import java.io.File; | |
import java.io.FileWriter; | |
import java.io.IOException; | |
import java.io.Writer; | |
import java.nio.charset.Charset; | |
import javax.xml.bind.JAXBContext; | |
import javax.xml.bind.JAXBException; | |
import javax.xml.bind.Marshaller; | |
import javax.xml.stream.XMLOutputFactory; |