You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2002/07/21 18:03:10 UTC

DO NOT REPLY [Bug 11014] New: - CVS ant + CVS xml-xalan/java build.xml - warning: as of release 1.4, assert is a keyword, and may not be used as an identifier

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11014>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11014

CVS ant + CVS xml-xalan/java build.xml - warning: as of release 1.4, assert is a keyword, and may not be used as an identifier

           Summary: CVS ant + CVS xml-xalan/java build.xml - warning: as of
                    release 1.4, assert is a keyword, and may not be used as
                    an identifier
           Product: XalanJ2
           Version: CurrentCVS
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Xalan
        AssignedTo: xalan-dev@xml.apache.org
        ReportedBy: jari.aalto@poboxes.com


FYI, warnings appear when building CVS xml-xalan/java using CVS ant.

Environment:

W2kSp2/Cygwin 1.3.1
GNU bash, version 2.05a.0(3)-release (i686-pc-cygwin)
Apache Ant version 1.6alpha compiled on July 20 2002


- jari

root@W2KPICASSO:/cygdrive/d/java/apache/cvs/xml-xalan/java$ ant
Buildfile: build.xml

prepare:
     [echo] Project:Xalan-Java version:2_4_D1 build.xml $Revision: 1.174 $
    [mkdir] Created dir: D:\java\apache\cvs\xml-xalan\java\build
    [mkdir] Created dir: D:\java\apache\cvs\xml-xalan\java\build\classes

compile:
     [echo] compile entire source tree and copy .properties and .res files to 
build tree.
    [javac] Compiling 241 source files to D:\java\apache\cvs\xml-
xalan\java\build\classes
    [javac] D:\java\apache\cvs\xml-
xalan\java\src\org\apache\xalan\templates\RedundentExprEliminator.java:410: 
warning: as of release 1.4, assert is a keyword, and may not be used as an 
identifier
    [javac]     assert(false, "Could not find common ancestor!!!");
    [javac]         ^
    [javac] D:\java\apache\cvs\xml-
xalan\java\src\org\apache\xalan\templates\RedundentExprEliminator.java:500: 
warning: as of release 1.4, assert is a keyword, and may not be used as an 
identifier
    [javac]             assert(null != walker, "Walker should not be null!");
    [javac]                 ^
    [javac] D:\java\apache\cvs\xml-
xalan\java\src\org\apache\xalan\templates\RedundentExprEliminator.java:582: 
warning: as of release 1.4, assert is a keyword, and may not be used as an 
identifier
    [javac]     assert((null != aw1) || (null != aw2), "Total match is 
incorrect!");
    [javac]         ^
    [javac] D:\java\apache\cvs\xml-
xalan\java\src\org\apache\xalan\templates\RedundentExprEliminator.java:1314: 
warning: as of release 1.4, assert is a keyword, and may not be used as an 
identifier
    [javac]     assert(owner.getExpression() == path, "owner.getExpression() != 
path!!!");
    [javac]         ^
    [javac] D:\java\apache\cvs\xml-
xalan\java\src\org\apache\xalan\templates\RedundentExprEliminator.java:1320: 
warning: as of release 1.4, assert is a keyword, and may not be used as an 
identifier
    [javac]             assert(ew != owner, "duplicate owner on the list!!!");
    [javac]                 ^
    [javac] D:\java\apache\cvs\xml-
xalan\java\src\org\apache\xalan\templates\RedundentExprEliminator.java:1321: 
warning: as of release 1.4, assert is a keyword, and may not be used as an 
identifier
    [javac]             assert(ew.getExpression() != path, "duplicate 
expression on the list!!!");
    [javac]                 ^
    [javac] D:\java\apache\cvs\xml-
xalan\java\src\org\apache\xalan\templates\RedundentExprEliminator.java:1328: 
warning: as of release 1.4, assert is a keyword, and may not be used as an 
identifier
    [javac]   protected static void assert(boolean b, String msg)
    [javac]                         ^
    [javac] D:\java\apache\cvs\xml-
xalan\java\src\org\apache\xalan\templates\RedundentExprEliminator.java:1366: 
warning: as of release 1.4, assert is a keyword, and may not be used as an 
identifier
    [javac]             assert(null != m_exprOwner, "exprOwner can not be 
null!");
    [javac]                 ^
    [javac] D:\java\apache\cvs\xml-
xalan\java\src\org\apache\xalan\templates\RedundentExprEliminator.java:1436: 
warning: as of release 1.4, assert is a keyword, and may not be used as an 
identifier
    [javac]             assert(false, "unlink failed!!!");
    [javac]                 ^
    [javac] Note: D:\java\apache\cvs\xml-
xalan\java\src\org\apache\xpath\DOM2Helper.java uses or overrides a deprecated 
API.
    [javac] Note: Recompile with -deprecation for details.
    [javac] 9 warnings
    [javac] Compiling 77 source files to D:\java\apache\cvs\xml-
xalan\java\build\classes
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -deprecation for details.
    [javac] Compiling 20 source files to D:\java\apache\cvs\xml-
xalan\java\build\classes
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -deprecation for details.
     [copy] Copying 12 files to D:\java\apache\cvs\xml-xalan\java\build\classes

jar:
     [copy] Copying 1 file to D:\java\apache\cvs\xml-xalan\java\build
      [jar] Building jar: D:\java\apache\cvs\xml-xalan\java\build\xalan.jar

BUILD SUCCESSFUL
Total time: 52 seconds
root@W2KPICASSO:/cygdrive/d/java/apache/cvs/xml-xalan/java$