Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions xtext-apidiff/src/de/dhuebner/japicmp/CheckFolder.xtend
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ import java.io.File
import java.io.FileInputStream
import java.util.Properties

/**
* Test
*/
class CheckFolder {

def static void main(String[] args) {
Expand All @@ -24,13 +27,13 @@ class CheckFolder {
val from = properties.getProperty("old.version")
val to = properties.getProperty("new.version")
if (properties.getProperty("docuName") == null) {
properties.setProperty("docuName", '''Xtext API Changes (from - �to�)''')
properties.setProperty("docuName", '''Xtext API Changes («from» - «to»)''')
}
if (properties.getProperty("old.location") == null) {
properties.setProperty("old.location", '''tmf-xtext-Update-from/plugins''')
properties.setProperty("old.location", '''tmf-xtext-Update-«from»/plugins''')
}
if (properties.getProperty("new.location") == null) {
properties.setProperty("new.location", '''tmf-xtext-Update-�to�/plugins''')
properties.setProperty("new.location", '''tmf-xtext-Update-«to»/plugins''')
}
if (properties.getProperty("xmlOutputFile") == null) {
properties.setProperty("xmlOutputFile", properties.getProperty("htmlOutputFolder") + "/report.xml")
Expand Down Expand Up @@ -99,4 +102,4 @@ class CheckFolder {
}
}

}
}
5 changes: 4 additions & 1 deletion xtext-apidiff/src/de/dhuebner/japicmp/FolderComparator.xtend
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ import java.util.jar.JarFile
import javassist.ClassPool
import javassist.CtClass

/**
Test 2
*/
class FolderComparator {

def createReport(Options options, Properties properties) {
Expand Down Expand Up @@ -115,4 +118,4 @@ class FolderComparator {
return classes
}

}
}