[sip-comm-dev] sip-communicator, eclipse & ant


#1

Hello,

I am trying to import sip-communicator into an eclipse project but I encountered some problems importing the ant build.xml file.

Under eclipse I do :
file-> import -> existing ant build file
then, I choose the build.xml file from the sip-communicator directory.

When I click on finish I have this error message :
" Cannot nest 'home/steph/sip-communicator/classes' inside library 'home/steph/sip-communicator' "
All the files appears in the eclipse's navigator tab but there is no sign of the build.xml.

The strange thing is that when I do : "ant -f build.xml" in the command line everything is OK (as far as I use the 1.4.2 version of java).

Any help would be greatly appriciated,

Regards,
Stephane

···

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#2

Hi Stephan,

  I am not sure if it could be helpful to import the build file ... since it is inside your project directory already !! Just make sure that it is in the right directory ... may be in your case it should be in the root directory .. !! Try it from within eclipse .. !

Good luck

Amer

···

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#3

Hi Stephane,

It seems that this error is caused by classpathref property in javac target. Deleting this property (line 270 in build.xml) for the time of the import will get you rid of the warning. Let me know if you it works for you or if you have something better than this poor turnaround.

BTW importing SC in eclipse as a CVS project works like a charm.

Martin

stephane delort a �crit :

···

Hello,

I am trying to import sip-communicator into an eclipse project but I encountered some problems importing the ant build.xml file.

Under eclipse I do :
file-> import -> existing ant build file
then, I choose the build.xml file from the sip-communicator directory.

When I click on finish I have this error message :
" Cannot nest 'home/steph/sip-communicator/classes' inside library 'home/steph/sip-communicator' "
All the files appears in the eclipse's navigator tab but there is no sign of the build.xml.

The strange thing is that when I do : "ant -f build.xml" in the command line everything is OK (as far as I use the 1.4.2 version of java).

Any help would be greatly appriciated,

Regards,
Stephane

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net