Skip to main content

3cpp example build error

1 reply [Last post]
Joined: 2006-10-24

I started jboss and deployed SIP RA.
When i try

ant deploy-3pcc_web_app-(hot)

I get 100 compile errors, starting with complains with 'enum' keyword:

[mkdir] Created dir: C:\my_cvs_root\mobicents-examples\3pcc\3pcc_web\3pcc_web_app\classes
[javac] Compiling 29 source files to C:\my_cvs_root\mobicents-examples\3pcc\3pcc_web\3pcc_web_app\classes
[javac] C:\my_cvs_root\mobicents-examples\3pcc\3pcc_web\3pcc_ws_client\src\org\csapi\www\schema\parlayx\common\v2_0\ warning: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier
[javac] (try -source 1.5 to use 'enum' as a keyword)
[javac] CallStatus enum = (CallStatus)
[javac] ^

and then a list of errors with this package:

[javac] C:\my_cvs_root\mobicents-examples\3pcc\3pcc_web\3pcc_ws_client\src\org\csapi\www\schema\parlayx\common\v2_0\ package org.apache.axis.description does not exist
[javac] private static org.apache.axis.description.TypeDesc typeDesc =

any hints?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2006-01-09

3pcc code is relativly old, there are variables with name "enum", whihc is a keyword since 1.5- try using jvm 1.4,
Im not sure but there should be target and source sete to 1.4 in build, hmmm