Java Mailing List Archive

http://www.ant-tasks.com/

Home » Ant Users List »

ANT fails while trying to compile a target

Zapo

2008-05-23

Replies: Find Java Web Hosting

Author LoginPost Reply

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
--
Sent from the Ant - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.