How to connect a local javadoc folder to a project without an absolute path

I am trying to connect the source for android-support-v4 and followed the instructions on this:

How to install javadoc package for Android Compatibility Package?

This project is used in the git repository, so I do not want to check .classpathon the local folder.

What is the best way to point this javadoc to a shared project? I am open to let everyone else generate javadoc, but I need a way to tell each person the Android SDK directory. A solution that can be checked in the repository would be better.

Is there a variable that I can use in the file path pointing to the javadoc folder? I hope for something like this:file:/$ANDROID_SDK_DIR$/extras/android/compatibility/v4/docs/

EDIT: I found a comment about an error related to a problem with javadocs and android libraries. I created a properties file and now I see javadocs in Eclipse, but I still have the same problem. The file contains an absolute path to my own Android SDK directory.

+5
source share
2 answers

I realized that in new versions of ADT you should include the .properties file with your bank in the folder libs. The usual way to modify .classpath to point to docs / sources does not work in Eclipse with ADT, but it will.

If you have GSON in the gson-2.2.2.jarcreate file gson-2.2.2.jar.propertiesin the same folder

gson-2.2.2.jar.properties:

src=docs\\gson-2.2.2-sources.jar
doc=docs\\gson-2.2.2-javadoc.jar

docs libs javadoc.

, - /libs . , (/libs/docs) - .

+2

, SVN, /javadoc Eclipse.

, , .

,

, .

-1

All Articles