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
fc4e005c
Commit
fc4e005c
authored
Jan 30, 2009
by
Claus Nagel
Browse files
No commit message
No commit message
parent
7687bad9
Changes
63
Hide whitespace changes
Inline
Side-by-side
schema/GML/3.1.1/xlink/xlinks.xsd
→
schema
s
/GML/3.1.1/xlink/xlinks.xsd
View file @
fc4e005c
File moved
schema/xAL/2.0/xAL.xsd
→
schema
s
/xAL/2.0/xAL.xsd
View file @
fc4e005c
File moved
src/org/citygml4j/ade_xjc/ADE_XJC.java
View file @
fc4e005c
...
...
@@ -23,7 +23,7 @@ public class ADE_XJC {
private
static
final
Logger
LOG
=
Logger
.
getInstance
();
// some dirs we will need
private
File
schema_dir
=
new
File
(
"schema"
);
private
File
schema_dir
=
new
File
(
"schema
s
"
);
// some files we will need
private
File
baseProfileFile
=
new
File
(
schema_dir
.
getAbsoluteFile
()
+
"/CityGML/citygml4j_profile.xsd"
);
...
...
@@ -99,12 +99,13 @@ public class ADE_XJC {
int
status
=
0
;
try
{
LOG
.
info
(
"
Checking
build environment"
);
LOG
.
info
(
"
Setting up
build environment"
);
checkBuildEnvironment
();
LOG
.
info
(
"Setting up build environment"
);
if
(
clean
)
if
(
clean
)
{
LOG
.
info
(
"Cleaning output folder"
);
Util
.
rmdir
(
outputFolder
);
}
createBuildEnvironment
();
...
...
@@ -114,9 +115,9 @@ public class ADE_XJC {
System
.
exit
(
1
);
}
LOG
.
info
(
"Using ADE schema "
+
adeSchemaFile
.
get
AbsolutePath
());
LOG
.
info
(
"Using ADE schema "
+
adeSchemaFile
.
get
CanonicalFile
());
if
(
adeBindingFile
!=
null
)
LOG
.
info
(
"Using JAXB binding "
+
adeBindingFile
.
get
AbsolutePath
());
LOG
.
info
(
"Using JAXB binding "
+
adeBindingFile
.
get
CanonicalFile
());
LOG
.
info
(
"Generating JAXB classes. This may take some time..."
);
...
...
@@ -150,7 +151,7 @@ public class ADE_XJC {
code
.
build
(
outputFolder
,
(
PrintStream
)
null
);
File
packageDir
=
new
File
(
outputFolder
.
getAbsolutePath
());
LOG
.
info
(
"JAXB classes successfully written to "
+
packageDir
.
get
Absolute
Path
());
LOG
.
info
(
"JAXB classes successfully written to "
+
packageDir
.
get
Canonical
Path
());
}
catch
(
Exception
e
)
{
if
(
e
.
getMessage
()
!=
null
)
LOG
.
error
(
e
.
getMessage
());
...
...
Prev
1
2
3
4
Next
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