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
a841259b
Commit
a841259b
authored
Dec 09, 2008
by
Claus Nagel
Browse files
No commit message
No commit message
parent
597b03c7
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/org/citygml4j/ade_xjc/ADE_XJC.java
View file @
a841259b
...
...
@@ -74,7 +74,7 @@ public class ADE_XJC {
if
(
version
)
{
System
.
out
.
println
(
"ade-xjc version \"0.1.0\""
);
System
.
out
.
println
(
"built for citygml4j version \"0.1.0\""
);
System
.
out
.
println
(
"
JAXB xjc wrapper
built for citygml4j version \"0.1.0\""
);
System
.
exit
(
0
);
}
...
...
@@ -174,7 +174,7 @@ public class ADE_XJC {
throw
new
FileNotFoundException
(
"Could not open folder "
+
schema_dir
.
getAbsolutePath
());
if
(!
nonStrict
)
{
LOG
.
info
(
"Running in strict mode. Checking sanity of subfolder
\"
schema
\"
"
);
LOG
.
info
(
"Running in strict mode. Checking sanity of subfolder
'
schema
'
"
);
BigInteger
md5
=
new
BigInteger
(
"0"
);
File
[]
children
=
schema_dir
.
listFiles
();
...
...
@@ -185,7 +185,7 @@ public class ADE_XJC {
md5
=
Util
.
file2md5
(
file
.
getAbsolutePath
(),
md5
);
if
(!
md5
.
toString
(
16
).
equals
(
"b51bc6a36f36e2bac8c8674f1cb69042"
))
throw
new
Exception
(
"Contents of subfolder
\"
schema
\"
have been altered. Please restore its original state."
);
throw
new
Exception
(
"Contents of subfolder
'
schema
'
have been altered. Please restore its original state."
);
}
if
(!
adeSchemaFile
.
exists
()
||
!
adeSchemaFile
.
isFile
()
||
!
adeSchemaFile
.
canRead
())
...
...
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