ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 43888] - Could not create a directory
Date Wed, 28 Nov 2007 17:43:38 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43888>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43888


stevel@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO
            Summary|[antlib:org.apache.tools.ant|Could not create a directory
                   |] Could not load definitions|
                   |from resource               |
                   |org/apache/tools/ant/antlib.|
                   |xml. It could not be found. |




------- Additional Comments From stevel@apache.org  2007-11-28 09:43 -------
These are unrelated issues. The message "Could not load definitions from resource
org/apache/tools/ant/antlib.xml." is an early warning that a an XML namespace
was encountered, and there was no matching resource there at the time the
document was parsed.

This is not an error until you get to the task/type use.

the real error is 

BUILD FAILED
/cmdev_src/neu/build.xml:16: Directory /cmdev_src/neu/build/compile creation was
not successful for an unknown reason
        at org.apache.tools.ant.taskdefs.Mkdir.execute(Mkdir.java:64)

and that line calls File.mkdirs(). Which, from javadocs says. 

Creates the directory named by this abstract pathname, including any necessary
but nonexistent parent directories. Note that if this operation fails it may
have succeeded in creating some of the necessary parent directories.

    Returns:
        true if and only if the directory was created, along with all necessary
parent directories; false otherwise

So. Ant could not create the directory. no information why not is given by the
API call. Something is wrong with your machine.

Try creating the same directory by hand. 
mdkir /cmdev_src/neu/build/compile
If it fails, you may get more diagnostics. There may be a file of that name, you
may not have the right permissions.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message