ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject style task: issues with long filenames
Date Wed, 15 Sep 2004 03:01:11 GMT

Hello All,

I'm having an issue with using the ant style task (when trying to use

I have ant 1.6.2 installed with xalan 2.6.0 installed in the $ANT_HOME/lib

When i try to execute a transformation on a filename over a certain number
of characters, i get this error from ant:

C:\cc_views\n143028_build_modifications_view\ias-dev\ias-app>ant checkstyle
Buildfile: build.xml

    [style] Processing
 to C:\cc_views\n143028_build_modifica
    [style] Loading stylesheet
 Fatal Error!

 (Filename too long) Cause:

 (Filename too long)

 Fatal Error! Fatal error during transformation Cause: Fat
al error during transformation
    [style] Failed to process

The following error occurred while executing this line:
 Fatal error during transformation

Total time: 32 seconds

The offending line of the ant macro is:

<style in="@{checkstyledestdir}/checkstyle_report.xml"

The transformation seems to work ok when started from a smaller directory
(so C:\workspace\ias-app\build.xml as opposed to what is listed above).

Is there something i am missing here? Any help would be appreciated.



Mark Angrish
J2EE Engineering Room
Extend Development Centre
National Australia Bank
4/500 Bourke Street, Melbourne

This email is sent by or on behalf of the named sender identified above. If
you do not wish to receive any email marketing material from this person in
the future, please forward the contents of this email to with the word "unsubscribe" in the subject
box. If you do not forward the contents of this email with your
unsubscription then it may not be able to be implemented.  If you wish to
unsubscribe from all central email marketing lists used by our business,
please forward the contents of this email to with the message "unsubscribe from all
central email marketing lists" in the subject box.  If you do not forward
the contents of this email with your unsubscription then it may not be able
to be implemented.

The information contained in this email communication may be confidential.
You should only disclose, re-transmit, copy, distribute, act in reliance on
or commercialise the information if you are authorised to do so.  Any views
expressed in this email communication are those of the individual sender,
except where the sender specifically states them to be the views of a
member of the National Australia Bank Group of companies.  Any advice
contained in this e-mail has been prepared without taking into account your
objectives, financial situation or needs. Before acting on any advice in
this e-mail, National Australia Bank Limited recommends that you consider
whether it is appropriate for your circumstances. If this e-mail contains
reference to any financial products, the National recommends you consider
the Product Disclosure Statement (PDS) or other disclosure document  before
making any decisions regarding any products.  The National Australia Bank
Group of companies does not represent, warrant or guarantee that the
integrity of this communication has been maintained nor that the
communication is free of errors, virus or interference.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message