eclipse referencing one project to another

Well i want to link reference one arduino project to another in Eclipse so i can include libraries from one to the other. I tried to use:

Project properties-->project references

and choose the second project but problem is not solved. Is the only solution to go to

Project -> Properties -> C/C++ Build -> Settings -> Tool Settings -> Avr Compiler/Avr C++ compiler -->Directories

and add the path of the folder that has the libraries on the second project?

Yes, I believe this is the case. I think it depends on the fact that Arduino projects don't use the standard compiler/linker but the avr toolchain. They are built using a makefile configured in the AVR properties tab. I'm not sure of what I'm saying because I never studied the plugin, you may try to ask the plugin's author.

well i checked that the linker has the problem and i have to add the path of the headers there.but it needs a name of an .a file that is the library.This file does not exist since i want to add the folder that have the headers and the .cpp files.How can i ask the plugin's author?

I'm not sure we are using the same plugin, mine is the one from Jantje Arduino Eclipse IDE named Sloeber - Welcome!. In the FAQ you will find instructions on how to contact him. But first read the FAQ carefully.