You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wss4j-dev@ws.apache.org by Hyen V Chung <hy...@us.ibm.com> on 2006/02/08 23:23:56 UTC

Compiling with JDK 1.5

Compiling using JDK 1.5 and doing 'maven dist', get the following:

test:compile:
    [mkdir] Created dir: C:\home\dev\Axis2.0\wss4j\target\work
    [axis-wsdl2java] WSDL2Java C:\home\dev\Axis2.0\wss4j\interop\ping.wsdl
    [copy] Copying 2 files to
C:\home\dev\Axis2.0\wss4j\target\work\org\apache\ws\axis\oasis\ping
    [copy] Copying 15 files to
C:\home\dev\Axis2.0\wss4j\target\work\org\apache\ws\axis\oasis
    [javac] Compiling 80 source files to
C:\home\dev\Axis2.0\wss4j\target\test-classes
    [javac]
C:\home\dev\Axis2.0\wss4j\samples\org\apache\ws\axis\samples\wssec\doall\axisSec\SecBindingStub.java:48:
 as of release 1.5, 'enum' is a keyword, and may not be used as an
identifier
    [javac] (try -source 1.4 or lower to use 'enum' as an identifier)
    [javac]         oper.setStyle(org.apache.axis.enum.Style.RPC);
    [javac]                                       ^
    [javac]
C:\home\dev\Axis2.0\wss4j\samples\org\apache\ws\axis\samples\wssec\doall\axisSec\SecBindingStub.java:49:
 as of release 1.5, 'enum' is a keyword, and may not be used as an
identifier
    [javac] (try -source 1.4 or lower to use 'enum' as an identifier)
    [javac]         oper.setUse(org.apache.axis.enum.Use.LITERAL);
    [javac]                                     ^
    [javac] 2 errors


Have anyone seen this?

I have tried to add source="1.4" in javac task in maven.xml and does not
help.

Thanks,
Henry


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