Skip to main content

3cpp example build error

1 reply [Last post]
iginio
Offline
Joined: 2006-10-24
Points: 0

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:

compile:
[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\CallStatus.java:29: 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\CallInformation.java:99: package org.apache.axis.description does not exist
[javac] private static org.apache.axis.description.TypeDesc typeDesc =

any hints?
Iginio

Reply viewing options

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

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