https://bz.apache.org/bugzilla/show_bug.cgi?id=57954

            Bug ID: 57954
           Summary: Unable to read encrypted values from properties file
           Product: Ant
           Version: 1.6.0
          Hardware: Other
                OS: other
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: Core tasks
          Assignee: [email protected]
          Reporter: [email protected]

I am trying to deploy code on Weblogic server. We have the credentials to
deploy on the server in import.properties file. The values of username and
password are encrypted using base64 algorithm. But when the file is loaded into
the ant script it throws an exception as below:

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-antrun-plugin:1.6:run (sca-deploy) on project
ABC: An Ant BuildException has occured: Unable to load file:
java.io.UnsupportedEncodingException: base64 -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal
org.apache.maven.plugins:maven-antrun-plugin:1.6:run (sca-deploy) on project
ABC: An Ant BuildException has occured: Unable to load file:
java.io.UnsupportedEncodingException: base64

Please let me know what is missed.

We are loading the file as:

<loadproperties srcFile="import.properties" encoding="base64" />

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to