Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tapasco
tapasco
Commits
7e0a9532
Commit
7e0a9532
authored
Jun 07, 2017
by
Jens Korinth
Browse files
Bugfix in Import, fixed wrong names of zips
parent
fead6df4
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/scala/tapasco/activity/Import.scala
View file @
7e0a9532
...
...
@@ -69,7 +69,7 @@ object Import {
// write core.json to output directory (as per config)
val
p
=
cfg
.
outputDir
(
c
,
t
).
resolve
(
"ipcore"
).
resolve
(
"core.json"
)
importCore
(
c
,
t
,
p
)
importCore
(
c
,
t
,
p
,
vlnv
)
}
/**
...
...
@@ -80,7 +80,7 @@ object Import {
* @param p Output path for core description file.
* @param cfg Implicit [[Configuration]].
**/
private
def
importCore
(
c
:
Core
,
t
:
Target
,
p
:
Path
)(
implicit
cfg
:
Configuration
)
:
Boolean
=
{
private
def
importCore
(
c
:
Core
,
t
:
Target
,
p
:
Path
,
vlnv
:
VLNV
)(
implicit
cfg
:
Configuration
)
:
Boolean
=
{
Files
.
createDirectories
(
p
.
getParent
)
logger
.
trace
(
"created output directories: {}"
,
p
.
getParent
.
toString
)
...
...
@@ -89,7 +89,7 @@ object Import {
// write core.json
logger
.
debug
(
"writing core description: {}"
,
p
.
toString
)
Core
.
to
(
c
,
p
)
Core
.
to
(
c
.
copy
(
descPath
=
p
,
_zipPath
=
Paths
.
get
(
"%s.zip"
.
format
(
vlnv
.
name
)))
,
p
)
res
}
...
...
Jens Korinth
@jk
mentioned in commit
a831b501
·
Jul 14, 2017
mentioned in commit
a831b501
mentioned in commit a831b5015df6bd8f8d23ddd334a3b1159392de92
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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