Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Energy ADE
ADE Xjc
Commits
76c237b4
Commit
76c237b4
authored
Apr 13, 2021
by
Claus Nagel
Browse files
bumping version to 2.9.1
parent
c568c72e
Changes
3
Hide whitespace changes
Inline
Side-by-side
build.gradle
View file @
76c237b4
...
...
@@ -6,17 +6,18 @@ plugins {
}
group
'org.citygml4j'
version
'2.9.
0
'
version
'2.9.
1
'
sourceCompatibility
=
1.8
mainClassName
=
'org.citygml4j.ade_xjc.ADESchemaCompiler'
java
{
sourceCompatibility
=
JavaVersion
.
VERSION_1_8
}
repositories
{
jcenter
()
mavenCentral
()
}
ext
{
citygml4jVersion
=
'2.
9.0
'
citygml4jVersion
=
'2.
11.3
'
date
=
new
Date
()
}
...
...
@@ -30,20 +31,27 @@ jar {
attributes
(
'Implementation-Title'
:
project
.
name
,
'Implementation-Version'
:
project
.
version
,
'Specification-Version'
:
citygml4jVersion
,
'Main-Class'
:
mainClassName
)
}
into
(
'META-INF'
)
{
from
'LICENSE'
'Main-Class'
:
application
.
mainClass
,
'Class-Path'
:
configurations
.
runtimeClasspath
.
collect
{
it
.
name
}.
join
(
' '
)
)
into
(
'META-INF'
)
{
from
'LICENSE'
}
}
}
startScripts
{
defaultJvmOpts
=
[
'-Djavax.xml.accessExternalSchema=file'
]
doLast
{
def
windowsScript
=
getWindowsScript
()
def
unixScript
=
getUnixScript
()
windowsScript
.
text
=
windowsScript
.
text
.
replaceFirst
(
'set APP_HOME=.*'
,
'$0\r\nset WORKING_DIR=%CD%'
)
unixScript
.
text
=
unixScript
.
text
.
replaceFirst
(
'APP_HOME=.*'
,
'$0\nexport APP_HOME\nexport WORKING_DIR=\\$SAVED'
)
application
{
mainClass
=
'org.citygml4j.ade_xjc.ADESchemaCompiler'
executableDir
=
''
startScripts
{
defaultJvmOpts
=
[
'-Djavax.xml.accessExternalSchema=file'
]
doLast
{
def
windowsScript
=
getWindowsScript
()
def
unixScript
=
getUnixScript
()
windowsScript
.
text
=
windowsScript
.
text
.
replaceFirst
(
'set APP_HOME=.*'
,
'$0\r\nset WORKING_DIR=%CD%'
)
unixScript
.
text
=
unixScript
.
text
.
replaceFirst
(
'APP_HOME=.*'
,
'$0\nexport APP_HOME\nexport WORKING_DIR=\\$SAVED'
)
}
}
}
...
...
sample/run-sample
View file @
76c237b4
...
...
@@ -11,4 +11,4 @@ PACKAGE="ade.sub.jaxb"
BINDING
=
"binding.xjb"
SCHEMA
=
"CityGML-SubsurfaceADE-0_9_0.xsd"
exec
../bin/ade-xjc
-clean
-output
$OUTPUT
-package
$PACKAGE
-binding
$BINDING
$SCHEMA
\ No newline at end of file
exec
../ade-xjc
-clean
-output
$OUTPUT
-package
$PACKAGE
-binding
$BINDING
$SCHEMA
\ No newline at end of file
sample/run-sample.bat
View file @
76c237b4
...
...
@@ -10,4 +10,4 @@ set PACKAGE="ade.sub.jaxb"
set
BINDING
=
"binding.xjb"
set
SCHEMA
=
"CityGML-SubsurfaceADE-0_9_0.xsd"
call
..\bin\ade
-xjc
.bat
-clean -output
%OUTPUT%
-package
%PACKAGE%
-binding
%BINDING%
%SCHEMA%
\ No newline at end of file
call
..\ade
-xjc
.bat
-clean -output
%OUTPUT%
-package
%PACKAGE%
-binding
%BINDING%
%SCHEMA%
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment