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
af3
AF3
Commits
acc63acb
Commit
acc63acb
authored
Jan 29, 2018
by
Florian Hölzl
Browse files
Testing copy resource solution.
refs 3250
parent
ed8d5030
Changes
1
Hide whitespace changes
Inline
Side-by-side
org.fortiss.af3.generator.common/trunk/src/org/fortiss/af3/generator/common/utils/SourceModelElementFactory.java
View file @
acc63acb
...
...
@@ -127,9 +127,12 @@ public class SourceModelElementFactory {
if
(
relativePath
!=
null
&&
!
""
.
equals
(
relativePath
.
trim
()))
{
loc
=
relativePath
+
File
.
separator
+
filename
;
}
System
.
out
.
println
(
"loc="
+
loc
);
try
{
Bundle
bundle
=
getBundle
(
pluginID
);
System
.
out
.
println
(
"bundle="
+
bundle
);
URL
fileURL
=
bundle
.
getEntry
(
loc
);
System
.
out
.
println
(
"fileURL="
+
fileURL
);
URL
resolvedFileURL
=
toFileURL
(
fileURL
);
// IMPORTANT: use this three parameter constructor with null as third argument
URI
resolvedURI
=
...
...
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