Skip to main content

Abstract SipProxy

7 replies [Last post]
kentoki
Offline
Joined: 2006-07-19

Today I have updated Mobicents with new source code from CVS and I get the following:
build-sip-proxy-service-jars:
[mkdir] Created dir: /usr/local/test/mobicents/build/sip
[javac] Compiling 21 source files to /usr/local/test/mobicents/classes
[javac] /usr/local/test/mobicents/thirdparty/sip-services/src/org/mobicents/slee/services/sip/common/AbstractSipProxy.java:474: illegal start of expression
[javac] <<<<<<< AbstractSipProxy.java
[javac] ^
[javac] /usr/local/test/mobicents/thirdparty/sip-services/src/org/mobicents/slee/services/sip/common/AbstractSipProxy.java:561: ';' expected
[javac] ^
[javac] /usr/local/test/mobicents/thirdparty/sip-services/src/org/mobicents/slee/services/sip/common/AbstractSipProxy.java:563: '}' expected
[javac] ^
[javac] 3 errors

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
kentoki
Offline
Joined: 2006-07-19

Thanks =))))
It works now =)
I'm so thanksfull for your response!!! I couldn't even realise that I can get help soooo quickly on any forum.

torosvi
Offline
Joined: 2005-07-20

No problem.
I am glad it works now for you.

Victor

kentoki
Offline
Joined: 2006-07-19

And what should I do if I use command line cvs on Linux (not Eclipse)?
Do you mean that I updated Mobicents with code from CVS not properly and that's why I get such errors?

torosvi
Offline
Joined: 2005-07-20

Let's do it easier.

Use the following link to change your AbstractSipProxy.java file:
https://mobicents.dev.java.net/source/browse/*checkout*/mobicents/thirdp...

Just do a copy-paste.

Cheers,

Victor

kentoki
Offline
Joined: 2006-07-19

It was updated like this from CVS (with >>>>>>)
When I remove it I get:
build-sip-proxy-service-jars:
[mkdir] Created dir: /usr/local/test/mobicents/build/sip
[javac] Compiling 21 source files to /usr/local/test/mobicents/classes
[javac] /usr/local/test/mobicents/thirdparty/sip-services/src/org/mobicents/slee/services/sip/common/AbstractSipProxy.java:512: illegal start of expression
[javac] public void processResponse(ServerTransaction serverTransaction,
[javac] ^
[javac] /usr/local/test/mobicents/thirdparty/sip-services/src/org/mobicents/slee/services/sip/common/AbstractSipProxy.java:567: ';' expected
[javac] ^
[javac] /usr/local/test/mobicents/thirdparty/sip-services/src/org/mobicents/slee/services/sip/common/AbstractSipProxy.java:569: '}' expected
[javac] ^
[javac] 3 errors

I checked the code and I think that it lack "}". When I add it in code I can run "ant auto-deploy-sip" successfully. Can you check it again?

torosvi
Offline
Joined: 2005-07-20

If you are using Eclipse, I suggest you replacing the file:

Over the AbstractSipProxy.java press right mouse ant then:
[i]Replace With -> Latest from HEAD[/i]

After that you can use [i]Team -> Synchronize with Repository[/i] to see whether or not your file is the same.

Victor

torosvi
Offline
Joined: 2005-07-20

I have checked the AbstractSipProxy.java file in the CVS Repository and it is correct. For some reason
you have added the line [b]<<<<<<< AbstractSipProxy.java[/b] in the line 474 of the file [i]mobicents/thirdparty/sip-services/src/org/mobicents/slee/services/sip/common/AbstractSipProxy.java[/i]

Just fix it or download that file again.

Cheers,

Victor