views:

36

answers:

0

I am working on a project that is under source control (perforce) and already has an Eclipse project in source control (I still have to edit it manually, but that is a different issue). I have been working on some code in a completely different location. I want to include this into the main project classpath.

The problem is if I just do a Link Source, the directory structure and packaging gets all jumbled and doesn't work.

structure:

devfolder
   stuffIWantToInclude
      project
          build
          config
          java
          lib
   mainProject
       branch
          java
          test
          bin
          build

So, since we have pretty much the same structure, it won't let me link it directly to the existing src/testsrc folders, etc. This leads to the existing packages not existing since the directory structure changes.

Is this just something I have to deal with because it lives outside and should just move it in? Or is there a way for it to nicely be included?