Removed old oxt extension files
This commit is contained in:
parent
9a66e68dca
commit
6ad91477cc
133 changed files with 15 additions and 5815 deletions
57
build.gradle
57
build.gradle
|
@ -76,45 +76,6 @@ jar {
|
|||
}
|
||||
}
|
||||
task xhtml(type: Jar) {
|
||||
manifest {
|
||||
attributes("Implementation-Title": rootProject.name,
|
||||
"Implementation-Version": project.version,
|
||||
"RegistrationClassName" : "org.openoffice.da.comp.writer2xhtml.W2XRegistration",
|
||||
"Class-Path" : "jasp.jar parser.jar")
|
||||
}
|
||||
baseName = "writer2xhtml-filter"
|
||||
from {
|
||||
configurations.bundledLibs.collect {
|
||||
it.isDirectory() ? it : zipTree(it)
|
||||
}
|
||||
}
|
||||
from sourceSets.main.output
|
||||
exclude '.gradle'
|
||||
exclude '**/*Test.class'
|
||||
exclude '**/AllTests.class'
|
||||
exclude '**/*.java'
|
||||
include 'w2phtml/pageSplitters/**/*.class'
|
||||
include 'pro/litvinovg/**/*.class'
|
||||
include 'org/openoffice/da/comp/wl2common/**/*.class'
|
||||
include 'org/openoffice/da/comp/writer2xhtml/**/*.class'
|
||||
include 'org/openoffice/da/comp/wl2common/**/*.properties'
|
||||
include 'w2phtml/api/**/*.class'
|
||||
include 'w2phtml/base/**/*.class'
|
||||
include 'w2phtml/epub/**/*.class'
|
||||
include 'w2phtml/office/**/*.class'
|
||||
include 'w2phtml/util/**/*.class'
|
||||
include 'w2phtml/xhtml/**/*.class'
|
||||
include 'w2phtml/xhtml/**/*.xml'
|
||||
include 'w2phtml/xmerge/**/*.class'
|
||||
from 'src/main/java'
|
||||
include 'w2phtml/xhtml/**/*.properties'
|
||||
include 'w2phtml/xhtml/**/**/*.properties'
|
||||
from sourceSets.main.output
|
||||
include 'org/**/*'
|
||||
include 'net/**/*'
|
||||
}
|
||||
|
||||
task xhtml2(type: Jar) {
|
||||
archiveName 'writer2phtml.jar'
|
||||
manifest {
|
||||
attributes("Implementation-Title": rootProject.name,
|
||||
|
@ -185,21 +146,7 @@ task xhtml2(type: Jar) {
|
|||
task oxt(type: Zip){
|
||||
dependsOn = [ 'xhtml', 'setVersion' ]
|
||||
archiveName 'w2phtml.oxt'
|
||||
from 'src/main/oxt'
|
||||
include '*'
|
||||
include '**'
|
||||
from 'build/libs/writer2xhtml-filter.jar'
|
||||
include '*'
|
||||
from 'src/main/idl/writer2xhtml'
|
||||
include 'writer2xhtml.rdb'
|
||||
from 'releasenotes.txt'
|
||||
include '*'
|
||||
}
|
||||
|
||||
task oxtNew(type: Zip){
|
||||
dependsOn = [ 'xhtml2', 'setVersion' ]
|
||||
archiveName 'w2phtml-new.oxt'
|
||||
from ('src/main/oxt2'){
|
||||
from ('src/main/oxt'){
|
||||
include '*'
|
||||
include '**'
|
||||
exclude '.gradle'
|
||||
|
@ -227,7 +174,7 @@ task regressionTests(type: Test) {
|
|||
|
||||
task setVersion(){
|
||||
ant.taskdef(name: 'xmltask', classpath: 'buildPlugins/xmltask.jar', classname: 'com.oopsconsultancy.xmltask.ant.XmlTask')
|
||||
ant.xmltask(source: 'src/main/oxt2/description.xml', dest: 'src/main/tmp/description.xml', report:'true') {
|
||||
ant.xmltask(source: 'src/main/oxt/description.xml', dest: 'src/main/tmp/description.xml', report:'true') {
|
||||
replace(path: "//*[local-name()='version']/@value", withText: "${project.version}")
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue