Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
Robodata
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Savage
Robodata
Commits
1352cdc8
Commit
1352cdc8
authored
3 years ago
by
Terry D. Norbraten
Browse files
Options
Downloads
Patches
Plain Diff
[Terry N.] update to launch via ant target
parent
384b03e3
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
DFDL/examples/pairsTransform/build.xml
+43
-0
43 additions, 0 deletions
DFDL/examples/pairsTransform/build.xml
DFDL/examples/pairsTransform/nbproject/project.properties
+19
-6
19 additions, 6 deletions
DFDL/examples/pairsTransform/nbproject/project.properties
with
62 additions
and
6 deletions
DFDL/examples/pairsTransform/build.xml
+
43
−
0
View file @
1352cdc8
...
...
@@ -70,4 +70,47 @@
nbproject/build-impl.xml file.
-->
<target
name=
"quick.parse.validate"
depends=
"init"
description=
"daffodil.apache.org pairs transform example"
>
<exec
executable=
"${bin.dir}/daffodil"
dir=
"."
vmlauncher=
"false"
>
<arg
value=
"-v"
/>
<arg
value=
"parse"
/>
<!-- Daffodil tunables to suppress warnings about dfdl:encodingErrorPolicy -->
<arg
line=
"-T suppressSchemaDefinitionWarnings=encodingErrorPolicyError"
/>
<arg
line=
"-s ${pairstransform.dfdl.xsd}"
/>
<arg
value=
"--stream"
/>
<arg
line=
"-o ${output.xml}"
/>
<arg
line=
"-V on"
/>
<arg
value=
"${input.data}"
/>
</exec>
</target>
<target
name=
"daffodil.performance.pairs.transform"
depends=
"init"
description=
"daffodil.apache.org pairs transform performance run"
>
<exec
executable=
"${bin.dir}/daffodil"
dir=
"."
vmlauncher=
"false"
>
<arg
value=
"-v"
/>
<arg
value=
"performance"
/>
<!-- Daffodil tunables to suppress warnings about dfdl:encodingErrorPolicy -->
<arg
line=
"-T suppressSchemaDefinitionWarnings=encodingErrorPolicyError"
/>
<arg
line=
"-s ${pairstransform.dfdl.xsd}"
/>
<arg
value=
"--stream"
/>
<arg
line=
"-N 10"
/>
<arg
line=
"-I null"
/>
<arg
value=
"${input.data}"
/>
</exec>
</target>
<!-- Add test targets to the "depends" attrib test.csv,test.pcap -->
<target
name=
"tests"
depends=
"quick.parse.validate,daffodil.performance.pairs.transform"
description=
"Tests for various input/output formats plus performance metrics"
/>
<target
name=
"-post-clean"
>
<delete>
<fileset
dir=
"."
>
<include
name=
"*.xml"
/>
<exclude
name=
"build.xml"
/>
</fileset>
</delete>
</target>
</project>
This diff is collapsed.
Click to expand it.
DFDL/examples/pairsTransform/nbproject/project.properties
+
19
−
6
View file @
1352cdc8
...
...
@@ -50,7 +50,6 @@ run.classpath=\
javac.processorpath
=
\
${javac.classpath}
dist.javadoc.dir
=
${dist.dir}/javadoc
test.src.dir
=
${file.reference.test-java}
run.modulepath
=
\
${javac.modulepath}
annotation.processing.enabled
=
true
...
...
@@ -59,7 +58,6 @@ debug.modulepath=${run.modulepath}
javac.compilerargs
=
javadoc.noindex
=
false
javadoc.private
=
false
test.resources.dir
=
${file.reference.test-resources}
javadoc.author
=
false
main.class
=
junit.selected.version
=
4
...
...
@@ -129,13 +127,10 @@ debug.test.modulepath=${run.test.modulepath}
build.test.classes.dir
=
${build.dir}/test/classes
javadoc.windowtitle
=
build.test.results.dir
=
${build.dir}/test/results
file.reference.test-resources
=
src/test/resources
file.reference.test-java
=
src/test/java
dist.dir
=
dist
build.dir
=
build
dist.archive.excludes
=
annotation.processing.source.output
=
${build.generated.sources.dir}/ap-source-output
file.reference.main-resources
=
src/main/resources
build.generated.dir
=
${build.dir}/generated
javadoc.version
=
false
javac.test.modulepath
=
\
...
...
@@ -154,6 +149,24 @@ run.test.classpath=\
dist.jlink.output
=
${dist.jlink.dir}/PairsTransform
annotation.processing.run.all.processors
=
true
javac.modulepath
=
src.resources.dir
=
${file.reference.main-resources}
jlink.additionalparam
=
debug.classpath
=
${run.classpath}
file.reference.main-resources
=
src/main/resources
file.reference.test-resources
=
src/test/resources
file.reference.test-java
=
src/test/java
src.dir
=
src
lib.dir
=
../../lib
bin.dir
=
../../bin
src.resources.dir
=
${file.reference.main-resources}
test.src.dir
=
${file.reference.test-java}
test.resources.dir
=
${file.reference.test-resources}
# Project specific resources
pkg.path
=
com/example/pairstransform
pairstransform.dfdl.xsd
=
${file.reference.main-resources}/${pkg.path}/xsd/pairstransformParseOnly.dfdl.xsd
# change this to one of nine pcap examples in the data directory
input.file
=
latLonLists.txt
input.data
=
${file.reference.test-resources}/${pkg.path}/data/${input.file}
original.output.xml
=
${file.reference.test-resources}/${pkg.path}/infosets/${input.file}.xml
output.xml
=
${input.file}.parse.xml
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment