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 28101] New: - bootstrap.sh fails::qsh has limited space when running shell command.
Date Wed, 31 Mar 2004 17:32:08 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=28101>.
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=28101

bootstrap.sh fails::qsh has limited space when running shell command.

           Summary: bootstrap.sh fails::qsh has limited space when running
                    shell command.
           Product: Ant
           Version: 1.6.1
          Platform: Other
        OS/Version: OS/400
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Build Process
        AssignedTo: dev@ant.apache.org
        ReportedBy: smore@empirecorp.org


The current bootstrap.sh fails when running under qsh on the as400. I think the 
command is limited to 256 characters in length.

Please find below the fix to bootstrap.sh that will work under the qsh on the 
400.

-Steve More


echo ... Compiling Ant Classes

for X in `ls ${TOOLS}/bzip2/*.java \
        ${TOOLS}/tar/*.java ${TOOLS}/zip/*.java \
        ${TOOLS}/ant/util/regexp/RegexpMatcher.java \
        ${TOOLS}/ant/util/regexp/RegexpMatcherFactory.java \
        ${TOOLS}/ant/types/*.java \
        ${TOOLS}/ant/*.java ${TOOLS}/ant/taskdefs/*.java \
        ${TOOLS}/ant/taskdefs/compilers/*.java \
        ${TOOLS}/ant/taskdefs/condition/*.java`
do
        "${JAVAC}" $BOOTJAVAC_OPTS -d ${CLASSDIR} $X 
        ret=$?
        if [ $ret != 0 ]; then  
          echo ... Failed compiling Ant classes !
          exit $ret
        fi
done

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


Mime
View raw message