You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I configured transformationSet in the following way: <transformationSet> <!--some config here--> <parameters> <parameter> <name>config_file</name> <value>${project.build.directory}/path/to/my/config.xml</value> </parameter> </parameters> </transformationSet>
Being executed on linux, it is failing with an error:
ERROR: 'opt'
ERROR: 'File not found: com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: opt'
ERROR: 'com.sun.org.apache.xalan.internal.xsltc.TransletException: java.io.FileNotFoundException: file://opt/jenkins/workspace/path/to/my/config.xml'
But when I added / at the start of content like this
/${project.build.directory}/path/to/my/config.xml
it worked.
Seems like one trailing slash is missing in "file://" protocol notation.
The text was updated successfully, but these errors were encountered:
On Wed, May 13, 2020 at 10:03 AM Valentin Baranov ***@***.***> wrote:
Hello,
I configured transformationSet in the following way:
<transformationSet> <!--some config here--> <parameters> <parameter>
<name>config_file</name>
<value>${project.build.directory}/path/to/my/config.xml</value>
</parameter> </parameters> </transformationSet>
Being executed on linux, it is failing with an error:
ERROR: 'opt'
ERROR: 'File not found:
com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: opt'
ERROR: 'com.sun.org.apache.xalan.internal.xsltc.TransletException:
java.io.FileNotFoundException:
file://opt/jenkins/workspace/path/to/my/config.xml'
But when I added / at the start of content like this
/${project.build.directory}/path/to/my/config.xml
it worked.
Seems like one trailing slash is missing in "file://" protocol notation.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#56>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAIBUGKWU3EVKJ4KQLAAOBDRRJH5RANCNFSM4M7QNCPA>
.
--
Look, that's why there's rules, understand? So that you think before
you break 'em.
Unfortunately, according to my company's security policy I can't share even a small part of the code where it is being reproduced.
Attached a part of my pom.xml with obfuscated sensitive date. Hope it helps. xml-plugin-example.txt
Please note that leading slash is added in line 23 as a workaround
Hello,
I configured transformationSet in the following way:
<transformationSet> <!--some config here--> <parameters> <parameter> <name>config_file</name> <value>${project.build.directory}/path/to/my/config.xml</value> </parameter> </parameters> </transformationSet>
Being executed on linux, it is failing with an error:
ERROR: 'opt'
ERROR: 'File not found: com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: opt'
ERROR: 'com.sun.org.apache.xalan.internal.xsltc.TransletException: java.io.FileNotFoundException: file://opt/jenkins/workspace/path/to/my/config.xml'
But when I added / at the start of content like this
/${project.build.directory}/path/to/my/config.xml
it worked.
Seems like one trailing slash is missing in "file://" protocol notation.
The text was updated successfully, but these errors were encountered: