You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Zapo <ar...@yahoo.com> on 2008/05/23 10:03:01 UTC
ANT fails while trying to compile a target
Hi All,
I am using apache-ant-1.7.0 on XP.
While running ANT I get the following error on windows-xp Filename too long
(please see the dump bold).
Looks like my path have gone for a toss, I tried using absolute path instead
of relative still no luck.
I also tried from Eclipse still the same, I making some rudimentary error.
Can some one point out where I should look?
Buildfile: C:\dev\workspace\help\src\build.xml
compile_common:
[mkdir] Created dir: C:\dev\workspace\help\src\build\common
[javac] Compiling 15 source files to
C:\dev\workspace\help\src\build\common
[javac] error: error reading
c:\OraHome1\j2ee\home\..\..\jlib\..\j2ee\home\..\..\jlib\..\j2ee\home\..\..\jlib\..\j2ee\home\..\..\jlib\..\j2ee\home\..\..\jlib\..\j2ee\home\..\..\jlib\..\j2ee\home\..\..\jlib\..\j2ee\home\..\..\jlib\..\j2ee\home\..\..\jlib\..\j2ee\home\..\..\lib\xmlparserv2.jar;
Filename too long
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note:
C:\dev\workspace\help\src\sra\iims\control\common\MessageHolder.java uses
unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 1 error
I have uploaded the file for reference build.xml, I have checked the path
all looks ok, any pointers appreciated.
Regards
Zapo http://www.nabble.com/file/p17420575/build.xml build.xml
--
View this message in context: http://www.nabble.com/ANT-fails-while-trying-to-compile-a-target-tp17420575p17420575.html
Sent from the Ant - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
Re: ANT fails while trying to compile a target
Posted by Steve Loughran <st...@apache.org>.
Zapo wrote:
> Hi All,
>
> I am using apache-ant-1.7.0 on XP.
>
> While running ANT I get the following error on windows-xp Filename too long
> (please see the dump bold).
>
> Looks like my path have gone for a toss, I tried using absolute path instead
> of relative still no luck.
>
> I also tried from Eclipse still the same, I making some rudimentary error.
> Can some one point out where I should look?
>
> Buildfile: C:\dev\workspace\help\src\build.xml
> compile_common:
> [mkdir] Created dir: C:\dev\workspace\help\src\build\common
> [javac] Compiling 15 source files to
> C:\dev\workspace\help\src\build\common
> [javac] error: error reading
> c:\OraHome1\j2ee\home\..\..\jlib\..\j2ee\home\..\..\jlib\..\j2ee\home\..\..\jlib\..\j2ee\home\..\..\jlib\..\j2ee\home\..\..\jlib\..\j2ee\home\..\..\jlib\..\j2ee\home\..\..\jlib\..\j2ee\home\..\..\jlib\..\j2ee\home\..\..\jlib\..\j2ee\home\..\..\lib\xmlparserv2.jar;
> Filename too long
That's javac bailing out; with the path to xmlparserv2.jar being way too
wierd. How do you put that path together?
--
Steve Loughran http://www.1060.org/blogxter/publish/5
Author: Ant in Action http://antbook.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org