Skip to content

Extension Builder errors when adding Jars #28

@cybersonic

Description

@cybersonic

n the "Java Libraries" page I click Choose File and select a file off my hard drive. Then when I click the "add jar" button, a message box appears with the following message:

An error occurred!
Action: extension.addjar
Error: can't write file [zip://C:\project\ext\test.zip!/jars/C:/project/WEB-INF/railo/temp/jettison-1.1.jar] as a file, missing parent directory [zip://C:\project\ext\test.zip!/jars/C:/project/WEB-INF/railo/temp/]
Template: C:\project\services\ExtensionManager.cfc
Line: 392

I'm not super familiar with referencing folders directly inside a zip, but I'm guessing the second expanded path from C:\ shouldn't be there. Perhaps it should have been zip://C:\project\ext\test.zip!/jars/jettison-1.1.jar
Just guessing, really. I am unable to use the Extension Builder to create extensions that need Jar files.

Environment:
Railo 4.1.0.011 rc
Windows 7 (6.1) 64bit
Apache Tomcat/7.0.39
1.7.0_21 (Oracle Corporation) 64bit

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions