You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2014/08/05 22:44:53 UTC

[Bug 56819] New: taskdef classpath fails on windows when directory starts with "U"

https://issues.apache.org/bugzilla/show_bug.cgi?id=56819

            Bug ID: 56819
           Summary: taskdef classpath fails on windows when directory
                    starts with "U"
           Product: Ant
           Version: 1.9.4
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core tasks
          Assignee: notifications@ant.apache.org
          Reporter: davidkwilliams@yahoo.com

I am on Windows 7. I am using the maven-antrun-plugin with
org.apache.ant:ant:1.8.4 or org.apache.ant:ant:1.9.4 replacing the original
dependency. I specify a classpath for taskdef as follows:

        <taskdef resource="scala/tools/ant/antlib.xml">
            <classpath>
                <pathelement
location="C:\Users\foo\project\lib\scala-library-2.9.2.jar"/>
                <pathelement
location="C:\Users\foo\project\lib\scala-compiler-2.9.2.jar"/>
            </classpath>
        </taskdef>

The error message in part reads: "The following error occurred while executing
this line: [ERROR] Unable to find
jar:file:/C:/Users/foo/project/lib/scala-compiler-2.9.2.jar!/scala/tools/ant/antlib.xml".

Through trial and error I received a warning or error at one point about
unicode. To see if this was related, I moved these two libraries to "C:\". This
worked without error.

I then tried these various work-arounds which did not work:
* Use / in place of \
* use \\ in place of \
* Use the \uxxxx characters for \ and U

None worked.

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

[Bug 56819] taskdef classpath fails on windows when directory starts with "U"

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56819

David Williams <da...@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID
                 OS|                            |All

--- Comment #1 from David Williams <da...@yahoo.com> ---
I have since tested this with ant 1.9.4, bypassing the maven-antrun-plugin. It
works fine. I will open a bug with the maven plugin.

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