How can I add build path items to Eclipse 3.5 using relative paths?

后端 未结 9 2221
夕颜
夕颜 2020-12-28 15:42

Eclipse 3.5 added support for relative buildpath/classpath items, yet I cannot seem to find a graphical way to add relatively pathed items. The example in new and noteworthy

9条回答
  •  执笔经年
    2020-12-28 16:22

    Simple. without all dialogs and menus.

    In your .project file add the path to the real file, like this. Mine is on ../libs/GoogleAdMobAdsSdkAndroid-4.1.1/GoogleAdMobAdsSdk-4.1.1.jar
    so i changed to PARENT-1-PROJECT_LOC/libs/...

    
        
            libs/GoogleAdMobAdsSdk-4.1.1.jar
            1
            PARENT-1-PROJECT_LOC/libs/GoogleAdMobAdsSdkAndroid-4.1.1/GoogleAdMobAdsSdk-4.1.1.jar
        
    
    

    and in .classpath i use

    
    

    as the link to the lib

    Eclipse links the resource to project and uses it without copping the file Just like Mike Jones answer above but without any dialogs

    Best for multiple apps

提交回复
热议问题