Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
Gazelle Objects Checker
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Gazelle
Library
Gazelle Objects Checker
Commits
ffcff757
Commit
ffcff757
authored
3 years ago
by
Achraf Achkari
Browse files
Options
Downloads
Patches
Plain Diff
Fix Pipeline Jacoco
parent
585b9f57
No related branches found
No related tags found
2 merge requests
!2
Release GOC
,
!1
Release GOC
Pipeline
#328936
failed
3 years ago
Stage: build
Stage: tests
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
hl7templates/hl7templates-packager-jar/src/main/java/net/ihe/gazelle/lib/hl7templatespackager/peripherals/HL7Templates2GOC.java
+16
-4
16 additions, 4 deletions
...ib/hl7templatespackager/peripherals/HL7Templates2GOC.java
with
16 additions
and
4 deletions
hl7templates/hl7templates-packager-jar/src/main/java/net/ihe/gazelle/lib/hl7templatespackager/peripherals/HL7Templates2GOC.java
+
16
−
4
View file @
ffcff757
...
@@ -200,6 +200,8 @@ public class HL7Templates2GOC {
...
@@ -200,6 +200,8 @@ public class HL7Templates2GOC {
try
{
try
{
parser
.
parseArgument
(
args
);
parser
.
parseArgument
(
args
);
addSubDirectoryToOutput
(
"/validator"
);
// initialize log variable
// initialize log variable
initLog
();
initLog
();
GOCLogger
gocLogger
=
new
GOCLoggerImpl
(
getWorkspaceRoot
(
getOutputFile
()),
generationDate
);
GOCLogger
gocLogger
=
new
GOCLoggerImpl
(
getWorkspaceRoot
(
getOutputFile
()),
generationDate
);
...
@@ -211,10 +213,7 @@ public class HL7Templates2GOC {
...
@@ -211,10 +213,7 @@ public class HL7Templates2GOC {
environementChecker
.
checkMVNPath
(
mvnExecPath
,
processExecutor
);
environementChecker
.
checkMVNPath
(
mvnExecPath
,
processExecutor
);
environementChecker
.
checkJavaVersion
();
environementChecker
.
checkJavaVersion
();
if
(
this
.
bbr
==
null
||
this
.
outputFile
==
null
)
{
log
.
info
(
HL7Templates2GOC
.
DOCUMENTATION_STRING
);
return
;
}
HL7TEMP_RESOURCES_PATH
=
HL7TEMP_RESOURCES_PATH
==
null
?
HL7TEMP_RESOURCES_PATH
=
HL7TEMP_RESOURCES_PATH
==
null
?
getWorkspaceRoot
(
outputFile
)+
"/hl7templates-resources"
:
HL7TEMP_RESOURCES_PATH
;
getWorkspaceRoot
(
outputFile
)+
"/hl7templates-resources"
:
HL7TEMP_RESOURCES_PATH
;
...
@@ -265,6 +264,19 @@ public class HL7Templates2GOC {
...
@@ -265,6 +264,19 @@ public class HL7Templates2GOC {
return
getOutputFile
().
substring
(
0
,
getOutputFile
().
lastIndexOf
(
"/"
)
+
1
);
return
getOutputFile
().
substring
(
0
,
getOutputFile
().
lastIndexOf
(
"/"
)
+
1
);
}
}
/**
* Method to add sub-directories to the provided output path
* To encapsulate validator and logs in one directory
* Provide empty string to use the old behavior
* @param subDirectory sub-directorie(s), started with '/'
*/
private
void
addSubDirectoryToOutput
(
String
subDirectory
){
if
(
subDirectory
==
null
){
subDirectory
=
""
;
}
this
.
outputFile
=
this
.
outputFile
+
subDirectory
;
}
public
static
void
main
(
String
[]
args
)
{
public
static
void
main
(
String
[]
args
)
{
HL7Templates2GOC
hl7Templates2GOC
=
new
HL7Templates2GOC
();
HL7Templates2GOC
hl7Templates2GOC
=
new
HL7Templates2GOC
();
hl7Templates2GOC
.
execute
(
args
);
hl7Templates2GOC
.
execute
(
args
);
...
...
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